[gforth] / gforth / prim  

gforth: gforth/prim

Diff for /gforth/prim between version 1.114 and 1.115

version 1.114, Tue Jan 7 22:38:36 2003 UTC version 1.115, Wed Jan 8 09:38:28 2003 UTC
Line 1886 
Line 1886 
 newline ( -- c_addr u ) gforth  newline ( -- c_addr u ) gforth
 ""String containing the newline sequence of the host OS""  ""String containing the newline sequence of the host OS""
 char newline[] = {  char newline[] = {
 #if defined(unix) || defined(__MACH__)  #if DIRSEP=='/'
 /* Darwin/MacOS X sets __MACH__, but not unix. */  /* Unix */
 '\n'  '\n'
 #else  #else
   /* DOS, Win, OS/2 */
 '\r','\n'  '\r','\n'
 #endif  #endif
 };  };


Generate output suitable for use with a patch program
Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help