Changeset 34b0bab in git
- Timestamp:
- Sep 1, 1998, 5:10:15 PM (25 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- e974a23c09bd2c265c9c90d6d44e56270832bb6f
- Parents:
- 509f7da79288d60b228d336cdb74fb603908d0eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/febase.cc
r509f7da r34b0bab 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.6 6 1998-08-24 14:39:07 obachmanExp $ */4 /* $Id: febase.cc,v 1.67 1998-09-01 15:10:15 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 71 71 char * feErrors=NULL; 72 72 int feErrorsLen=0; 73 #ifdef macintosh74 static int lines = 0;75 static int cols = 0;76 #endif77 73 78 74 const char feNotImplemented[]="not implemented"; … … 950 946 951 947 #ifdef macintosh 948 static int lines = 0; 949 static int cols = 0; 950 952 951 void mwrite(uchar c) 953 952 { … … 972 971 if (cols == colmax) 973 972 { 974 //cols = 0; //will be done by mwrite('\n');973 // cols = 0; //will be done by mwrite('\n'); 975 974 mwrite('\n'); 976 975 } … … 996 995 #endif 997 996 { 998 fwrite(s,1,strlen(s),stdout); 997 int i=strlen(s); 998 fwrite(s,1,i,stdout); 999 999 fflush(stdout); 1000 1000 if (feProt&PROT_O) 1001 1001 { 1002 fwrite(s,1, strlen(s),feProtFile);1002 fwrite(s,1,i,feProtFile); 1003 1003 } 1004 1004 }
Note: See TracChangeset
for help on using the changeset viewer.