Changeset 9539de6 in git


Ignore:
Timestamp:
Aug 18, 2008, 12:39:03 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '23b0a9c07070b684aa12355009488dc00d9501e3')
Children:
c778d068b7087bc2b07871c2ca155d64cb79590b
Parents:
d09118d38b98116858c048434159f71a3e99bfda
Message:
*hannes: new monitor


git-svn-id: file:///usr/local/Singular/svn/trunk@10999 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/febase.cc

    rd09118 r9539de6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.17 2008-08-05 16:56:53 Singular Exp $ */
     4/* $Id: febase.cc,v 1.18 2008-08-18 10:39:03 Singular Exp $ */
    55/*
    66* ABSTRACT: i/o system
     
    2020#ifdef NeXT
    2121#include <sys/file.h>
    22 #endif
    23 #ifdef ix86_Linux_libc5
    24 #undef stdin
    25 extern FILE *stdin;
    2622#endif
    2723
     
    11401136}
    11411137
     1138#if 0
    11421139void monitor(char* s, int mode)
    11431140{
     
    11591156  }
    11601157}
     1158#else
     1159void monitor(void *F, int mode)
     1160{
     1161  if (feProt)
     1162  {
     1163    fclose(feProtFile);
     1164    feProt = 0;
     1165  }
     1166  if (F!=NULL)
     1167  {
     1168    feProtFile = (FILE *)F;
     1169    feProt = mode;
     1170  }
     1171}
     1172#endif
    11611173
    11621174
  • kernel/febase.h

    rd09118 r9539de6  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: febase.h,v 1.10 2008-03-31 12:14:44 Singular Exp $ */
     6/* $Id: febase.h,v 1.11 2008-08-18 10:39:03 Singular Exp $ */
    77/*
    88* ABSTRACT: basic i/o
     
    232232BOOLEAN exitBuffer(feBufferTypes typ);
    233233BOOLEAN exitVoice();
    234 void    monitor(char* s,int mode);
     234void    monitor(void *F, int mode); /* FILE*, int */
    235235BOOLEAN newFile(char* fname, FILE *f=NULL);
    236236void    newBuffer(char* s, feBufferTypes t, procinfo *pname = NULL, int start_lineno = 0);
Note: See TracChangeset for help on using the changeset viewer.