====== old index for f2c, now "readme from f2c" ============FILES:f2c.h Include file necessary for compiling output of the converter.See the second NOTE below.f2c.1 Man page for f2c.f2c.1t Source for f2c.1 (to be processed by troff -man or nroff -man).libf77 Library of non I/O support routines the generated C may need.Fortran main programs result in a C function named MAIN__ thatis meant to be invoked by the main() in libf77.libi77 Library of Fortran I/O routines the generated C may need.Note that some vendors (e.g., BSD, Sun and MIPS) provide alibF77 and libI77 that are incompatible with f2c -- theyprovide some differently named routines or routines with thenames that f2c expects, but with different calling sequences.On such systems, the recommended procedure is to mergelibf77 and libi77 into a single library, say libf2c, and toinstall it where you can access it by specifying -lf2c . Thedefinition of link_msg in sysdep.c assumes this arrangement.Both libf77 and libi77 are bundles, meant to be unpacked by theBourne (or Korn) shell. MS-DOS users can use the MKS Toolkitto unpack libf77 and libi77.libf2c.zipOnly available by ftp: combination of libf77 and libi77, withUnix and PC makefiles.f2c.ps Postscript for a technical report on f2c. After you strip themail header, the first line should be "%!PS".fixes The complete change log, reporting bug fixes and other changes.(Some recent change-log entries are given below).fc A shell script that uses f2c and imitates much of the behaviorof commonly found f77 commands. You will almost certainlyneed to adjust some of the shell-variable assignments to makethis script work on your system.SUBDIRECTORY:f2c/src Source for the converter itself, including a file of checksumsand source for a program to compute the checksums (to verifycorrect transmission of the source), is available: ask netlib(e.g., netlib@netlib.bell-labs.com) tosend all from f2c/srcIf the checksums show damage to just a few source files, or ifthe change log file (see "fixes" below) reports corrections tosome source files, you can request those files individually"from f2c/src". For example, to get defs.h and xsum0.out, youwould ask netlib tosend defs.h xsum0.out from f2c/src"all from f2c/src" is about 640 kilobytes long; for convenience(and checksums), it includes copies of f2c.h, f2c.1, and f2c.1t.Tip: if asked to send over 99,000 bytes in one request, netlibbreaks the shipment into 1000 line pieces and sends each pieceseparately (since otherwise some mailers might gag). To avoidthe hassle of reassembling the pieces, try to keep each requestunder 99,000 bytes long. The final number in each line ofxsum0.out gives the length of each file in f2c/src. Forexample,send exec.c expr.c from f2c/srcsend format.c format_data.c from f2c/srcwill give you slightly less hassle thansend exec.c expr.c format.c format_data.c from f2c/srcAlternatively, if all the mailers in your return path allowlong messages, you can supply an appropriate mailsize line inyour netlib request, e.g.mailsize 200ksend exec.c expr.c format.c format_data.c from f2c/srcThe makefile used to generate gram.c; now we distribute aworking gram.c, and you must saymake gram1.cmv gram1.c gram.cif you want to generate your own gram.c -- there are just toomany broken variants of yacc floating around nowadays forgeneration of gram.c to be the default.NOTE: You may exercise f2c by sending netlib@netlib.bell-labs.coma message whose first line is "execute f2c" and whose remaininglines are the Fortran 77 source that you wish to have converted.Return mail brings you the resulting C, with f2c's errormessages between #ifdef uNdEfInEd and #endif at the end.(To understand line numbers in the error messages, regardthe "execute f2c" line as line 0. It is stripped away bythe netlib software before f2c sees your Fortran input.)Options described in the man page may be transmitted tonetlib by having the first line of input be a commentwhose first 6 characters are "c$f2c " and whose remainingcharacters are the desired options, e.g., "c$f2c -R -u".You may say "execute f2c" in the Subject line instead of (but*not* in addition to) in the first line of the message body.The incoming Fortran is saved, at least for a while. Don'tsend any secrets!BUGS: Please send bug reports (including the shortest exampleyou can find that illustrates the bug) to research!dmgor dmg@bell-labs.com . You might first check whetherthe bug goes away when you turn optimization off.NOTE: f2c.h defines several types, e.g., real, integer, doublereal.The definitions in f2c.h are suitable for most machines, but ifyour machine has sizeof(double) > 2*sizeof(long), you may needto adjust f2c.h appropriately. f2c assumessizeof(doublecomplex) = 2*sizeof(doublereal)sizeof(doublereal) = sizeof(complex)sizeof(doublereal) = 2*sizeof(real)sizeof(real) = sizeof(integer)sizeof(real) = sizeof(logical)sizeof(real) = 2*sizeof(shortint)EQUIVALENCEs may not be translated correctly if theseassumptions are violated.On machines, such as those using a DEC Alpha processor, onwhich sizeof(short) == 2, sizeof(int) == sizeof(float) == 4,and sizeof(long) == sizeof(double) == 8, it suffices tomodify f2c.h by removing the first occurrence of "long "on each line containing "long ", e.g., by issuing thecommandsmv f2c.h f2c.h0sed 's/long //' f2c.h0 >f2c.hOn such machines, one can enable INTEGER*8 by uncommentingthe typedef of longint in f2c.h, so it readstypedef long longint;by compiling libI77 with -DAllow_TYQUAD, and by adjustinglibF77/makefile as described in libF77/README.Some machines may have sizeof(int) == 4, sizeof(float) == 8,and sizeof(long long) == 8. On such machines, adjust f2c.hby changing "long int " to "long long ", e.g., by sayingmv f2c.h f2c.h0sed 's/long int /long long /' f2c.h0 >f2c.hOne can enable INTEGER*8 on such machines as describedabove, but withtypedef long long longint;There exists a C compiler that objects to the linestypedef VOID C_f; /* complex function */typedef VOID H_f; /* character function */typedef VOID Z_f; /* double complex function */in f2c.h . If yours is such a compiler, do two things:1. Complain to your vendor about this compiler bug.2. Find the line#define VOID voidin f2c.h and change it to#define VOID int(For readability, the f2c.h lines shown above have had twotabs inserted before their first character.)FTP: All the material described above is now available by anonymousftp from netlib.bell-labs.com (login: anonymous; Password: yourE-mail address; cd netlib/f2c). Note that you can say, e.g.,cd /netlib/f2c/srcbinarypromptmget *.gzto get all the .gz files in src. You must uncompress the .gzfiles once you have a copy of them, e.g., bygzip -dN *.gzYou can also get the entire f2c tree as a tar file:ftp://netlib.bell-labs.com/netlib/f2c.tar(which is a synthetic file -- created on the fly and not visibleto ftp's "ls" or "dir" commands).Subdirectory msdos contains two PC versions of f2c,f2c.exe.gz and f2cx.exe.gz; the latter uses extended memory.The README in that directory provides more details.Changes appear first in the f2c files available by E-mailfrom netlib@netlib.bell-labs.com. If the deamons work right,changed files are available the next day by ftp fromnetlib.bell-labs.com. In due course, they reach other netlib servers.CHANGE NOTIFICATION:Send the E-mail messagesubscribe f2cto netlib@netlib.bell-labs.com to request notification of new andchanged f2c files. (Beware that automatically sent changenotifications may reach you before changes have reachedftp://netlib.bell-labs.com/netlib/f2c or to other netlib servers.)Send the E-mail messageunsubscribe f2cto recant your notification request.-----------------Recent change log (partial)-----------------Mon May 13 23:35:26 EDT 1996Recognize Fortran 90's /= as a synonym for .NE.. (<> remains asynonym for .NE..)Emit an empty int function of no arguments to supply an externalname to named block data subprograms (so they can be called somewhereto force them to be loaded from a library).Fix bug (memory fault) in handling the following illegal Fortran:parameter(i=1)equivalence(i,j)endTreat cdabs, cdcos, cdexp, cdlog, cdsin, and cdsqrt as synonyms forthe double complex intrinsics zabs, zcos, zexp, zlog, zsin, and zsqrt,respectively, unless -cd is specified.Recognize the Fortran 90 bit-manipulation intrinsics btest, iand,ibclr, ibits, ibset, ieor, ior, ishft, and ishftc, unless -i90 isspecified. Note that iand, ieor, and ior are thus now synonyms for"and", "xor", and "or", respectively.Add three macros (bit_test, bit_clear, bit_set) to f2c.h for usewith btest, ibclr, and ibset, respectively. Add new functions[lq]bit_bits, [lq]bit_shift, and [lq]_bit_cshift to libF77 foruse with ibits, ishft, and ishftc, respectively.Add integer function ftell(unit) (returning -1 on error) andsubroutine fseek(unit, offset, whence, *) to libI77 (with branch tolabel * on error).Tue May 14 23:21:12 EDT 1996Fix glitch (possible memory fault, or worse) in handling multipleentry points with names over 28 characters long.Mon Jun 10 01:20:16 EDT 1996Update netlib E-mail and ftp addresses in f2c/readme andf2c/src/readme (which are different files) -- to reflect the upcomingbreakup of AT&T.libf77: trivial tweaks to F77_aloc.c and system_.c; Version.c notchanged.libi77: Adjust rsli.c and lread.c so internal list input with toofew items in the input string will honor end= .Mon Jun 10 22:59:57 EDT 1996Add Bits_per_Byte to sysdep.h and adjust definition of Table_sizeto depend on Bits_per_Byte (forcing Table_size to be a power of 2); inlex.c, change "comstart[c & 0xfff]" to "comstart[c & (Table_size-1)]"to avoid an out-of-range subscript on end-of-file.Wed Jun 12 00:24:28 EDT 1996Fix bug in output.c (dereferencing a freed pointer) revealed inprint * !np in out_call in output.c clobbered by freeend !during out_expr.Wed Jun 19 08:12:47 EDT 1996f2c.h: add types uinteger, ulongint (for libF77); add qbit_clearand qbit_set macros (in a commented-out section) for integer*8.For integer*8, use qbit_clear and qbit_set for ibclr and ibset.libf77: add casts to unsigned in [lq]bitshft.c.Thu Jun 20 13:30:43 EDT 1996Complain at character*(*) in common (rather than faulting).Fix bug in recognizing hex constants that start with "16#" (e.g.,16#1234abcd, which is a synonym for z'1234abcd').Fix bugs in constant folding of expressions involving btest, ibclr,and ibset.Fix bug in constant folding of rshift(16#80000000, -31) (on a 32-bitmachine; more generally, the bug was in constant folding ofrshift(ibset(0,NBITS-1), 1-NBITS) when f2c runs on a machine withlong ints having NBITS bits.Mon Jun 24 07:58:53 EDT 1996Adjust struct Literal and newlabel() function to accommodate hugesource files (with more than 32767 newlabel() invocations).Omit .c file when the .f file has a missing final end statement.Wed Jun 26 14:00:02 EDT 1996libi77: Add discussion of MXUNIT (highest allowed Fortran unit number)to libI77/README.Fri Jun 28 14:16:11 EDT 1996Fix glitch with -onetrip: the temporary variable used for nonconstantinitial loop variable values was recycled too soon. Example:do i = j+1, kcall foo(i+1) ! temp for j+1 was reused hereenddoendTue Jul 2 16:11:27 EDT 1996formatdata.c: add a 0 to the end of the basetype array (for TYBLANK)(an omission that was harmless on most machines).expr.c: fix a dereference of NULL that was only possible with buggyinput, such assubroutine $sub(s) ! the '$' is erroneouscharacter s*(*)s(1:) = ' 'endSat Jul 6 00:44:56 EDT 1996Fix glitch in the intrinsic "real" function when applied to acomplex (or double complex) variable and passed as an argument tosome intrinsic functions. Example:complex ab = sqrt(real(a))endFix glitch (only visible if you do not use f2c's malloc and themalloc you do use is defective in the sense that malloc(0) returns 0)in handling include files that end with another include (perhapsfollowed by comments).Fix glitch with character*(*) arguments named "h" and "i" whenthe body of the subroutine invokes the intrinsic LEN function.Arrange that after a previous "f2c -P foo.f" has produced foo.P,running "f2c foo.P foo.f" will produce valid C when foo.f containscall sub('1234')endsubroutine sub(msg)endSpecifically, the length argument in "call sub" is now suppressed.With or without foo.P, it is also now suppressed when the order ofsubprograms in file foo.f is reversed:subroutine sub(msg)endcall sub('1234')endAdjust copyright notices to reflect AT&T breakup.Wed Jul 10 09:25:49 EDT 1996Fix bug (possible memory fault) in handling erroneously placedand inconsistent declarations. Example that faulted:character*1 w(8)call foo(w)endsubroutine foo(m)data h /0.5/integer m(2) ! should be before dataendFix bug (possible fault) in handling illegal "if" constructions.Example (that faulted):subroutine foo(i,j)if (i) then ! bug: i is integer, not logicalelse if (j) then ! bug: j is integer, not logicalendifendFix glitch with character*(*) argument named "ret_len" to acharacter*(*) function.Wed Jul 10 23:04:16 EDT 1996Fix more glitches in the intrinsic "real" function when applied to acomplex (or double complex) variable and passed as an argument tosome intrinsic functions. Example:complex a, br = sqrt(real(conjg(a))) + sqrt(real(a*b))endThu Jul 11 17:27:16 EDT 1996Fix a memory fault associated with complicated, illegal input.Example:subroutine goocharacter acall foo(a) ! inconsistent with subsequent def and callendsubroutine foo(a)endcall foo(a)endWed Jul 17 19:18:28 EDT 1996Fix yet another case of intrinsic "real" applied to a complexargument. Example:complex a(3)x = sqrt(real(a(2))) ! gave error message about bad tagendMon Aug 26 11:28:57 EDT 1996Tweak sysdep.c for non-Unix systems in which process ID's can beover 5 digits long.Tue Aug 27 08:31:32 EDT 1996Adjust the ishft intrinsic to use unsigned right shifts. (Previously,a negative constant second operand resulted in a possibly signed shift.)Thu Sep 12 14:04:07 EDT 1996equiv.c: fix glitch with -DKR_headers.libi77: fmtlib.c: fix bug in printing the most negative integer.Fri Sep 13 08:54:40 EDT 1996Diagnose some illegal appearances of substring notation.Tue Sep 17 17:48:09 EDT 1996Fix fault in handling some complex parameters. Example:subroutine foo(a)double complex a, bparameter(b = (0,1))a = b ! f2c faulted hereendThu Sep 26 07:47:10 EDT 1996libi77: fmt.h: for formatted writes of negative integer*1 values,make ic signed on ANSI systems. If formatted writes of integer*1values trouble you when using a K&R C compiler, switch to an ANSIcompiler or use a compiler flag that makes characters signed.Tue Oct 1 14:41:36 EDT 1996Give a better error message when dummy arguments appear in datastatements.Thu Oct 17 13:37:22 EDT 1996Fix bug in typechecking arguments to character and complex (ordouble complex) functions; the bug could cause length argumentsfor character arguments to be omitted on invocations appearingtextually after the first invocation. For example, insubroutine foocharacter ccomplex zotcall goo(zot(c), zot(c))endthe length was omitted from the second invocation of zot, andthere was an erroneous error message about inconsistent callingsequences.Wed Dec 4 13:59:14 EST 1996Fix bug revealed bysubroutine test(cdum,rdum)complex cdumrdum=cos(real(cdum)) ! "Unexpected tag 3 in opconv_fudge"endFix glitch in parsing "DO 10 D0 = 1, 10".Fix glitch in parsingreal*8 xreal*8 x ! erroneous "incompatible type" messagecall foo(x)endlib[FI]77/makefile: add comment about omitting -x under Solaris.Mon Dec 9 23:15:02 EST 1996Fix glitch in parameter adjustments for arrays whose lowerbound depends on a scalar argument. Example:subroutine bug(p,z,m,n)integer z(*),m,ndouble precision p(z(m):z(m) + n) ! p_offset botchedcall foo(p(0), p(n))endlibi77: complain about non-positive rec= in direct read and writestatements.libf77: trivial adjustments; Version.c not changed.Wed Feb 12 00:18:03 EST 1997output.c: fix (seldom problematic) glitch in out_call: put parensaround the ... in a test of the form "if (q->tag == TADDR && ...)".vax.c: fix bug revealed in the "psi_offset =" assignment in thefollowing example:subroutine foo(psi,m)integer z(100),mcommon /a/ zdouble precision psi(z(m):z(m) + 10)call foo(m+1, psi(0),psi(10))endMon Feb 24 23:44:54 EST 1997For consistency with f2c's current treatment of adjacent characterstrings in FORMAT statements, recognize a Hollerith string followinga string (and merge adjacent strings in FORMAT statements).Wed Feb 26 13:41:11 EST 1997New libf2c.zip, a combination of the libf77 and libi77 bundles (andavailable only by ftp).libf77: adjust functions with a complex output argument to permitaliasing it with input arguments. (For now, at least, this is justfor possible benefit of g77.)libi77: tweak to ftell_.c for systems with strange definitions ofSEEK_SET, etc.Tue Apr 8 20:57:08 EDT 1997libf77: [cz]_div.c: tweaks invisible on most systems (that mayimprove things slightly with optimized compilation on systems that usegratuitous extra precision).libi77: fmt.c: adjust to complain at missing numbers in formats(but still treat missing ".nnn" as ".0").Fri Apr 11 14:05:57 EDT 1997libi77: err.c: attempt to make stderr line buffered rather thanfully buffered. (Buffering is needed for format items T and TR.)Thu Apr 17 22:42:43 EDT 1997libf77: add F77_aloc.o to makefile (and makefile.u in libf2c.zip).Fri Apr 25 19:32:09 EDT 1997libf77: add [de]time_.c (which may give trouble on some systems).Tue May 27 09:18:52 EDT 1997libi77: ftell_.c: fix typo that caused the third argument to betreated as 2 on some systems.Mon Jun 9 00:04:37 EDT 1997libi77 (and libf2c.zip): adjust include order in err.c lread.c wref.crdfmt.c to include fmt.h (etc.) after system includes. Version.c notchanged.Mon Jun 9 14:29:13 EDT 1997src/gram.c updated; somehow it did not reflect the change of19961001 to gram.dcl.Mon Jul 21 16:04:54 EDT 1997proc.c: fix glitch in logic for "nonpositive dimension" message.libi77: inquire.c: always include string.h (for possible use with-DNON_UNIX_STDIO); Version.c not changed.Thu Jul 24 17:11:23 EDT 1997Tweak "Notice" to reflect the AT&T breakup -- we missed it whenupdating the copyright notices in the source files last summer.Adjust src/makefile so malloc.o is not used by default, but canbe specified with "make MALLOC=malloc.o".Add comments to src/README about the "CRAY" T3E.Tue Aug 5 14:53:25 EDT 1997Add definition of calloc to malloc.c; this makes f2c's mallocwork on some systems where trouble hitherto arose because referencesto calloc brought in the system's malloc. (On sensible systems,calloc is defined separately from malloc. To avoid confusion onother systems, f2c/malloc.c now defines calloc.)libi77: lread.c: adjust to accord with a change to the Fortran 8Xdraft (in 1990 or 1991) that rescinded permission to elide quote marksin namelist input of character data; to get the old behavior, compilewith F8X_NML_ELIDE_QUOTES #defined. wrtfmt.o: wrt_G: tweak to printthe right number of 0's for zero under G format.Sat Aug 16 05:45:32 EDT 1997libi77: iio.c: fix bug in internal writes to an array of characterstrings that sometimes caused one more array element than required bythe format to be blank-filled. Example: format(1x).Wed Sep 17 00:39:29 EDT 1997libi77: fmt.[ch] rdfmt.c wrtfmt.c: tweak struct syl for machineswith 64-bit pointers and 32-bit ints that did not 64-bit alignstruct syl (e.g., Linux on the DEC Alpha). This change should beinvisible on other machines.Sun Sep 21 22:05:19 EDT 1997libf77: [de]time_.c (Unix systems only): change return type to double.Thu Dec 4 22:10:09 EST 1997Fix bug with handling large blocks of comments (over 4k); parts of thesecond and subsequent blocks were likely to be lost (not copied intocomments in the resulting C). Allow comment lines to be longer beforebreaking them.Mon Jan 19 17:19:27 EST 1998makefile: change the rule for making gram.c to one for making gram1.c;henceforth, asking netlib to "send all from f2c/src" will bring you aworking gram.c. Nowadays there are simply too many broken versions ofyacc floating around.libi77: backspace.c: for b->ufmt==0, change sizeof(int) tosizeof(uiolen). On machines where this would make a difference, it isbest for portability to compile libI77 with -DUIOLEN_int, which willrender the change invisible.Tue Feb 24 08:35:33 EST 1998makefile: remove gram.c from the "make clean" rule.Wed Feb 25 08:29:39 EST 1998makefile: change CFLAGS assignment to -O; add "veryclean" rule.Wed Mar 4 13:13:21 EST 1998libi77: open.c: fix glitch in comparing file names under-DNON_UNIX_STDIO.Mon Mar 9 23:56:56 EST 1998putpcc.c: omit an unnecessary temporary variable in computing(expr)**3.libf77, libi77: minor tweaks to make some C++ compilers happy;Version.c not changed.Wed Mar 18 18:08:47 EST 1998libf77: minor tweaks to [ed]time_.c; Version.c not changed.libi77: endfile.c, open.c: acquire temporary files from tmpfile(),unless compiled with -DNON_ANSI_STDIO, which uses mktemp().New buffering scheme independent of NON_UNIX_STDIO for handling Tformat items. Now -DNON_UNIX_STDIO is no longer be necessary forLinux, and libf2c no longer causes stderr to be buffered -- the formersetbuf or setvbuf call for stderr was to make T format items work.open.c: use the Posix access() function to check existence ornonexistence of files, except under -DNON_POSIX_STDIO, where trialfopen calls are used. In open.c, fix botch in changes of 19980304.libf2c.zip: the PC makefiles are now set for NT/W95, with commentsabout changes for DOS.Fri Apr 3 17:22:12 EST 1998Adjust fix of 19960913 to again permit substring notation oncharacter variables in data statements.Sun Apr 5 19:26:50 EDT 1998libi77: wsfe.c: make $ format item work: this was lost in the changesof 17 March 1998.Sat May 16 19:08:51 EDT 1998Adjust output of ftnlen constants: rather than appending L,prepend (ftnlen). This should make the resulting C more portable,e.g., to systems (such as DEC Alpha Unix systems) on which longmay be longer than ftnlen.Adjust -r so it also casts REAL expressions passed to intrinsicfunctions to REAL.Wed May 27 16:02:35 EDT 1998libf2c.zip: tweak description of compiling libf2c for INTEGER*8to accord with makefile.u rather than libF77/makefile.Thu May 28 22:45:59 EDT 1998libi77: backspace.c dfe.c due.c iio.c lread.c rsfe.c sue.c wsfe.c:set f__curunit sooner so various error messages will correctlyidentify the I/O unit involved.libf2c.zip: above, plus tweaks to PC makefiles: for some purposes,it's still best to compile with -DMSDOS (even for use with NT).Thu Jun 18 01:22:52 EDT 1998libi77: lread.c: modified so floating-point numbers (containingeither a decimal point or an exponent field) are treated as errorswhen they appear as list input for integer data. Compile lread.c with-DALLOW_FLOAT_IN_INTEGER_LIST_INPUT to restore the old behavior.Mon Aug 31 10:38:54 EDT 1998formatdata.c: if possible, and assuming doubles must be aligned ondouble boundaries, use existing holes in DATA for common blocks toforce alignment of the block. For example,block datacommon /abc/ a, bdouble precision ainteger b(2)data b(2)/1/endused to generatestruct {integer fill_1[3];integer e_2;doublereal e_3;} abc_ = { {0}, 1, 0. };and now generatesstruct {doublereal fill_1[1];integer fill_2[1];integer e_3;} abc_ = { {0}, {0}, 1 };In the old generated C, e_3 was added to force alignment; in the new C,fill_1 does this job.Mon Sep 7 19:48:51 EDT 1998libi77: move e_wdfe from sfe.c to dfe.c, where it was originally.Why did it ever move to sfe.c?Tue Sep 8 10:22:50 EDT 1998Treat dreal as a synonym for dble unless -cd is specified on thecommand line.Sun Sep 13 22:23:41 EDT 1998format.c: fix bug in writing prototypes under f2c -A ... *.P:under some circumstances involving external functions with no knowntype, a null pointer was passed to printf.Tue Oct 20 23:25:54 EDT 1998Comments added to libf2c/README and libF77/README, pointing outthe need to modify signal1.h on some systems.Thu Nov 12 15:34:09 EST 1998libf77, libf2c.zip: minor tweaks to [de]time_.c and the makefiles,so makefile.sy, makefile.vc, and makefile.wat deal with [de]time_.c.Wed Feb 10 22:59:52 EST 1999defs.h lex.c: permit long names (up to at least roughlyMAX_SHARPLINE_LEN = 1000 characters long) in #line lines (which onlymatters under -g).fc: add -U option; recognize .so files.Sat Feb 13 10:18:27 EST 1999libf2c: endfile.c, lread.c, signal1.h0: minor tweaks to make some(C++) compilers happier; f77_aloc.c: make exit_() visible to C++compilers. Version strings not changed.Thu Mar 11 23:14:02 EST 1999Modify f2c (exec.c, expr.c) to diagnose incorrect mixing of typeswhen (f2c extended) intrinsic functions are involved, as in(not(17) .and. 4). Catching this in the first executable statementis a bit tricky, as some checking must be postponed until all statementfunction declarations have been parsed. Thus there is a chance oftoday's changes introducing bugs under (let us hope) unusual conditions.Sun Mar 28 13:17:44 EST 1999lex.c: tweak to get the file name right in error messages causedby statements just after a # nnn "filename" line emitted by the Cpreprocessor. (The trouble is that the line following the # nnn linemust be read to see if it is a continuation of the stuff that precededthe # nnn line.) When # nnn "filename" lines appear among the linesfor a Fortran statement, the filename reported in an error message forthe statement should now be the file that was current when the firstline of the statement was read.Sun May 2 22:38:25 EDT 1999libf77, libi77, libf2c.zip: make getenv_() more portable (callgetenv() rather than knowing about char **environ); adjust somecomplex intrinsics to work with overlapping arguments (caused byinappropriate use of equivalence); open.c: get "external" versus"internal" right in the error message if a file cannot be opened;err.c: cast a pointer difference to (int) for %d; rdfmt.c: omitfixed-length buffer that could be overwritten by formats Inn or Lnnwith nn > 83.Mon May 3 13:14:07 EDT 1999"Invisible" changes to omit a few compiler warnings in f2c andlibf2c; two new casts in libf2c/open.c that matter with 64-bit longs,and one more tweak (libf2c/c_log.c) for pathological equivalences.Minor update to "fc" script: new -L flag and comment correction.Tue May 4 10:06:26 EDT 1999libf77, libf2c.zip: forgot to copy yesterday's latest updates tonetlib.Current timestamps of files in "all from f2c/src", sorted by time,appear below (mm/dd/year hh:mm:ss). To bring your source up to date,obtain source files with a timestamp later than the time shown in yourversion.c. Note that the time shown in the current version.c is thetimestamp of the source module that immediately follows version.c below:5/03/1999 12:46:15 version.c5/03/1999 12:39:35 formatdata.c5/03/1999 12:31:14 format.c5/03/1999 12:27:17 p1output.c5/03/1999 12:27:17 data.c5/03/1999 10:01:12 xsum0.out5/03/1999 9:59:36 io.c5/03/1999 9:59:36 misc.c5/03/1999 9:59:36 init.c3/26/1999 23:18:11 lex.c3/11/1999 16:44:17 expr.c3/11/1999 16:42:42 exec.c2/10/1999 17:43:01 defs.h9/08/1998 10:16:51 f2c.19/08/1998 10:16:48 f2c.1t9/08/1998 10:14:53 intr.c5/16/1998 16:55:49 output.c4/03/1998 17:15:05 gram.c4/03/1998 17:14:59 gram.dcl3/09/1998 0:30:23 putpcc.c2/25/1998 8:18:04 makefile12/04/1997 17:44:11 niceprintf.c8/05/1997 10:31:26 malloc.c7/24/1997 17:10:55 README7/24/1997 16:06:19 Notice7/21/1997 12:58:44 proc.c2/11/1997 23:39:14 vax.c12/04/1996 13:07:53 gram.exec9/12/1996 12:12:46 equiv.c8/26/1996 9:41:13 sysdep.c7/09/1996 10:40:45 names.c7/04/1996 9:55:45 sysdep.h7/04/1996 9:55:43 put.c7/04/1996 9:55:41 pread.c7/04/1996 9:55:40 parse_args.c7/04/1996 9:55:36 mem.c7/04/1996 9:55:36 memset.c7/04/1996 9:55:35 main.c7/04/1996 9:55:29 error.c7/04/1996 9:55:27 cds.c7/03/1996 15:47:49 xsum.c6/19/1996 7:04:27 f2c.h6/19/1996 2:52:05 defines.h5/13/1996 0:40:32 gram.head2/25/1994 2:07:19 parse.h2/22/1994 19:07:20 iob.h2/22/1994 18:56:53 p1defs.h2/22/1994 18:53:46 output.h2/22/1994 18:51:14 names.h2/22/1994 18:30:41 format.h1/18/1994 18:12:52 tokens3/06/1993 14:13:58 gram.expr1/28/1993 9:03:16 ftypes.h4/06/1990 0:00:57 gram.io2/03/1990 0:58:26 niceprintf.h1/07/1990 1:20:01 usignal.h11/27/1989 8:27:37 machdefs.h7/01/1989 11:59:44 pccdefs.h