Changeset 34b0bab in git


Ignore:
Timestamp:
Sep 1, 1998, 5:10:15 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e974a23c09bd2c265c9c90d6d44e56270832bb6f
Parents:
509f7da79288d60b228d336cdb74fb603908d0eb
Message:
* hannes: minor changes for macs


git-svn-id: file:///usr/local/Singular/svn/trunk@2495 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/febase.cc

    r509f7da r34b0bab  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.66 1998-08-24 14:39:07 obachman Exp $ */
     4/* $Id: febase.cc,v 1.67 1998-09-01 15:10:15 Singular Exp $ */
    55/*
    66* ABSTRACT: i/o system
     
    7171char *  feErrors=NULL;
    7272int     feErrorsLen=0;
    73 #ifdef macintosh
    74 static  int lines = 0;
    75 static  int cols = 0;
    76 #endif
    7773
    7874const char feNotImplemented[]="not implemented";
     
    950946
    951947#ifdef macintosh
     948static  int lines = 0;
     949static  int cols = 0;
     950
    952951void mwrite(uchar c)
    953952{
     
    972971    if (cols == colmax)
    973972    {
    974 //      cols = 0;   //will be done by mwrite('\n');
     973      // cols = 0;   //will be done by mwrite('\n');
    975974      mwrite('\n');
    976975    }
     
    996995#endif
    997996  {
    998     fwrite(s,1,strlen(s),stdout);
     997    int i=strlen(s);
     998    fwrite(s,1,i,stdout);
    999999    fflush(stdout);
    10001000    if (feProt&PROT_O)
    10011001    {
    1002       fwrite(s,1,strlen(s),feProtFile);
     1002      fwrite(s,1,i,feProtFile);
    10031003    }
    10041004  }
Note: See TracChangeset for help on using the changeset viewer.