|
|
1.1 ! root 1: 7c7 ! 2: < at the top of f2c.h . ! 3: --- ! 4: > at the top of f2c.h and fmtlib.c . ! 5: 9a10,17 ! 6: > If you have a really ancient K&R C compiler that does not understand ! 7: > void, add -Dvoid=int to the definition of CFLAGS in the makefile. ! 8: > ! 9: > If you use a C++ compiler, first create a local f2c.h by appending ! 10: > f2ch.add to the usual f2c.h, e.g., by issuing the command ! 11: > make f2c.h ! 12: > which assumes f2c.h is installed in /usr/include . ! 13: > ! 14: 42c50,51 ! 15: < at the beginning of fio.h, and recompile these modules. ! 16: --- ! 17: > at the beginning of fio.h, and recompile everything (or ! 18: > at least those modules that contain NON_UNIX_STDIO). ! 19: 66,69c75,77 ! 20: < err.c, inquire.c, open.c, and util.c with MSDOS defined; ! 21: < in that case, you may need to supply access(char *Name,0), ! 22: < which is supposed to return 0 if file Name exists, ! 23: < nonzero otherwise. ! 24: --- ! 25: > with NON_UNIX_STDIO defined; in that case, you may need ! 26: > to supply access(char *Name,0), which is supposed to ! 27: > return 0 if file Name exists, nonzero otherwise. ! 28: 84a93,95 ! 29: > Compiling with -DNON_UNIX_STDIO omits all references to creat() ! 30: > and almost all references to open() and close(), the exception ! 31: > being in the function f__isdev() (in open.c). ! 32: 89d99 ! 33: < Don't use -mh -- it is horribly broken. ! 34: 127a138,152 ! 35: > ! 36: > Extensions (Feb. 1993) to NAMELIST processing: ! 37: > 1. Reading a ? instead of &name (the start of a namelist) causes ! 38: > the namelist being sought to be written to stdout (unit 6); ! 39: > to omit this feature, compile rsne.c with -DNo_Namelist_Questions. ! 40: > 2. Reading the wrong namelist name now leads to an error message ! 41: > and an attempt to skip input until the right namelist name is found; ! 42: > to omit this feature, compile rsne.c with -DNo_Bad_Namelist_Skip. ! 43: > 3. Namelist writes now insert newlines before each variable; to omit ! 44: > this feature, compile xwsne.c with -DNo_Extra_Namelist_Newlines. ! 45: > ! 46: > Nonstandard extension (Feb. 1993) to open: for sequential files, ! 47: > ACCESS='APPEND' (or access='anything else starting with "A" or "a"') ! 48: > causes the file to be positioned at end-of-file, so a write will ! 49: > append to the file.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.