1 1998-09-06 Dave Love <d.love@dl.ac.uk>
3 From Toon to fix spurious recursive i/o errors:
4 * libI77/sfe.c (e_wdfe): Set f__init.
6 * libI77/dfe.c (c_dfe): Check and set f__init.
7 (s_rdfe, s_wdfe): Don't check and set f__init.
9 Fri Sep 4 18:40:32 1998 Craig Burley <burley@gnu.org>
11 * libU77/sys_clock_.c (G77_system_clock_0): Fix indentation.
13 Tue Sep 1 10:06:06 1998 Craig Burley <burley@gnu.org>
15 * libF77/Version.c: Update.
16 * libU77/Version.c: Update.
17 * libI77/Version.c: Update.
19 Wed Aug 26 23:19:40 1998 Jeffrey A Law (law@cygnus.com)
21 * Makefile.in (FLAGS_TO_PASS): Fix typo.
23 1998-08-11 Dave Love <d.love@dl.ac.uk>
25 * README: Update from Craig.
27 1998-07-24 Dave Love <d.love@dl.ac.uk>
29 * Makefile.in (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
30 config.status, rebuilt): Rely on VPATH, dropping explicit use of
31 $(srcdir) in various places.
33 1998-07-19 Dave Love <d.love@dl.ac.uk>
35 * Makefile.in (all): Depend on s-libe77, not e77.
38 Mon Jul 13 13:31:03 1998 Craig Burley <burley@gnu.org>
40 * libU77/u77-test.f: Double-check ETIME results, just
43 1998-07-10 Dave Love <d.love@dl.ac.uk>
45 * Makefile.in: Re-write build procedure mainly to honour
46 dependencies correctly but also allow making in the build
47 directory by configuring the relevant variables. The lib[FIU]77
48 subdirs do dependency checking of their objects. Stamp files
49 dictate when to run (new) archive targets in subdirs. Some
50 tidying of variables. Supply full set of standard targets.
52 * configure.in: Move much of testing to new configures in
53 subdirs. Tidy up handling of RANLIB etc.
55 * stamp-h.in, libF77/configure.in, libI77/configure.in,
56 libF77/configure, libI77/configure: New files.
58 * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
59 Change in step with libf2c/Makefile.in.
61 1998-07-09 Dave Love <d.love@dl.ac.uk>
63 * libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in
66 * libU77/Version.c, libI77/Version.c: Update version info.
68 * libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
71 1998-07-06 Dave Love <d.love@dl.ac.uk>
73 * libU77/Makefile.in (lib): Change variable lib to LIBS.
75 1998-07-06 Robert Lipe <robertl@dgii.com>
77 * libU77/configure.in: Look for -lsocket, add to LIBS if found.
79 * libU77/Makefile.in (lib): Use LIBS from above.
81 1998-07-05 Dave Love <d.love@dl.ac.uk>
83 * f2cext.c (system_clock_): Remove (just f90 intrinsic).
85 * Makefile.in (F2CEXT): Remove sclock.
86 (UOBJ): Add libU77/datetime_.o.
88 * libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
90 * libU77/configure.in: Check for gettimeofday.
92 * libU77/datetime_.c: New file.
94 * libU77/sys_clock_.c: Allow optional args.
96 * libU77/Makefile.in (G77DIR): Fix for current directory
98 (SRCS, OBJS): Add datetime.
100 * libU77/u77-test.f: Call date_and_time. Call system_clock
103 1998-06-29 Dave Love <d.love@dl.ac.uk>
105 * libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
107 * libI77/rsfe.c (s_rsfe): Likewise.
109 1998-06-23 Dave Love <d.love@dl.ac.uk>
111 * libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
112 libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
113 to Netlib version of 1998-06-18.
115 Sat Jun 13 03:46:40 1998 Craig Burley <burley@gnu.org>
117 * Makefile.in (install): Don't install if $(libsubdir)
118 is empty; issue a diagnostic saying top-level Makefile
119 must pass it in instead, and exit.
121 * Makefile.in (g2c.h): Rename from f2c.h.
123 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
124 libU77/Makefile.in: Rewrite config and var assignment
125 sections to be even more minimal than before, and to
126 more clearly documented what macros are expected to be
127 set and to what sorts of values. Eliminate CROSS and
128 related stuff, since there's no such things as CROSS
129 in egcs. Rename GCC_FOR_TARGET to CC throughout.
130 * Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
132 * configure.in: Eliminate CROSS.
134 Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
135 normalize and simplify g77/libg2c build process:
136 * Makefile.in: Remove all stuff pertaining to
137 installation, cleaning, and so on. Parent Makefile
138 does all that now. Pass F2C_H_DIR,
139 G2C_H_DIR, and GCC_H_DIR, the pathnames for the
140 directories containing f2c.h, g2c.h, and other
141 #include files, to subdirectory Makefiles.
142 (stamp-libf77, stamp-libi77, stamp-libu77):
143 Don't specify `-f Makefile' anymore, it's not needed
144 now that subdirectory makefile's from netlib are
145 renamed to makefile.netlib in g77 source (and to
146 makefile.ori by configuration process, in case they're
147 still around somehow).
148 (stamp-libe77): Don't make libE77 dir unless it doesn't
149 exist, if it does just delete all objects in it.
150 Compile using $(GCC_FOR_TARGET), not $(CC).
151 (rebuilt): Remove this and all subordinate targets,
152 as parent Makefile now handles all that.
154 * configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
155 Remove these and commentary to new f2c.h file.
156 AC_OUTPUT g2c.h instead of f2c.h. Remove old commentary
157 regarding concatenation.
158 * g2c.h.in: Rename from f2c.h.in, add appropriate
160 * f2c.h: New file, a wrapper for g2c.h that does
161 libg2c-specific stuff.
162 * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
163 Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
164 macros. Remove F2C_H macro, replace use with explicit
165 dependencies on f2c.h and g2c.h.
168 1998-05-20 Dave Love <d.love@dl.ac.uk>
170 * Makefile.in ($(lib)): Use shell loop instead of unportable
171 make variable substitution.
173 Tue May 19 12:50:27 1998 Craig Burley <burley@gnu.org>
175 Break up main() into separate .o's so making and
176 linking against shared libraries with non-Fortran
177 main() routines is easier:
178 * Makefile.in (MISC): Add setarg.o and setsig.o.
179 * libF77/Makefile.in (MISC): Ditto.
180 * libF77/setarg.c: New file, contains f_setarg().
181 * libF77/setsig.c: New file, contains f_setsig().
182 * libF77/getarg_.c: Rename xarg* to f__xarg*.
183 * libF77/iargc_.c: Ditto
185 Sat May 2 16:44:46 1998 Craig Burley <burley@gnu.org>
187 * libF77/signal_.c, libI77/dfe.c, libI77/due.c,
188 libI77/wsfe.c: Tweaks to eliminate unnecessary
189 differences vs. netlib libf2c.
191 Fri May 1 11:57:45 1998 Craig Burley <burley@gnu.org>
193 Update to Netlib version of 1998-04-20:
194 * libF77/dtime_.c, libF77/etime_.c, libF77/h_dnnt.c,
195 libF77/h_nint.c, libF77/i_dnnt.c, libF77/i_nint.c,
196 libF77/main.c, libF77/s_paus.c, libF77/signal1.h0,
197 libI77/backspace.c, libI77/close.c, libI77/dfe.c,
198 libI77/endfile.c, libI77/err.c, libI77/fio.h,
199 libI77/iio.c, libI77/ilnw.c, libI77/lread.c,
200 libI77/lwrite.c, libI77/open.c, libI77/rawio.h,
201 libI77/sfe.c, libI77/util.c, libI77/wrtfmt.c,
202 libI77/wsfe.c, libI77/wsle.c, libI77/wsne.c:
203 See changes.netlib for info.
205 Sun Apr 26 09:13:41 1998 Craig Burley <burley@gnu.org>
207 * libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
208 that was trashing the byte just beyond the CHARACTER*(*)
211 Wed Mar 4 16:32:46 1998 Craig Burley <burley@gnu.org>
213 * libU77/u77-test.f: Don't bother declaring etime.
214 Use `implicit none' and declare mask and lenstr.
215 Do ETIME/DTIME consistency check before loop, then
216 use loop to verify that dtime "ticks" at some point.
217 Check ETIME array-sum using single-precision add, to
218 avoid spurious complaint on systems (like x86) that
219 use more precision for intermediate results.
220 Fix `Results of ETIME and DTIME...' message to print
221 pertinent values (r1 and r2 instead of i and j).
222 Change loop from 10M to 1K repeated up to 1000 times
223 or until dtime "ticks".
224 Print the number of 1K loops needed to see this tick.
225 Answer a commented question.
226 Split up a long line of output and do other prettying.
227 Preset lognam in case GETLOG fails to overwrite it.
229 Sat Feb 28 15:32:15 1998 Craig Burley <burley@gnu.org>
231 * libI77/open.c (f_open): Use sizeof(buf) instead of
232 256, for the usual reasons.
234 Tue Dec 23 22:56:01 1997 Craig Burley <burley@gnu.org>
236 * libF77/signal_.c (G77_signal_0): Return type is
237 now `void *', to cope with returning previous signal
238 handler on 64-bit systems like Alphas.
239 * f2cext.c (signal_): Changed accordingly.
241 Wed Oct 29 01:01:04 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
243 * configure.in: Set CC to CC_FOR_TARGET when cross-compiling.
245 Fri Oct 24 11:15:22 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
247 * libI77/close.c (f_exit): Reset f__init so that f_clos does not
248 (incorrectly) think there is an I/O recursion when program is
251 Wed Oct 15 10:06:29 1997 Richard Henderson <rth@cygnus.com>
253 * libI77/fio.h: Include <string.h> if STDC_HEADERS.
254 * libU77/chmod_.c: Likewise.
256 1997-10-03 Dave Love <d.love@dl.ac.uk>
258 * configure.in: Check for tempnam (best because it obeys TMPDIR).
259 * libI77/open.c: Use it.
260 * libI77/err.c: New message # 132.
262 Tue Sep 30 00:41:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
264 Do a better job of printing the offending FORMAT string
265 when producing a diagnostic:
266 * libI77/err.c (f__fmtlen): New variable to hold operating
267 length of format string.
268 (f__fatal): Use new variable to limit length of printed string.
269 * libI77/fmt.c (f_s): Don't skip spaces after closing paren,
270 so nicer message results (and nested case already skips them).
271 (pars_f): Record operating length of format string as indicated
272 by a successful call to f_s, or ad-hoc-calculate it if failure,
273 limiting the length to 80 characters (and stopping at NUL).
274 (do_fio): Use new variable to limit length of printed string.
275 * libI77/fmt.h (f__fmtlen): Declare new variable.
276 * libI77/lread.c (c_le): Set new variable to known length.
278 Mon Sep 29 16:30:31 1997 Craig Burley <burley@gnu.ai.mit.edu>
280 Update to Netlib version of 1997-09-23:
281 * libF77/dtime_.c (dtime_), libF77/etime_.c (dtime_):
282 Return `double' instead of `float' (these are not used
283 in g77's version of libf2c).
284 * libI77/fmt.c, libI77/fmt.h, libI77/rdfmt.c, libI77/wrtfmt.c:
285 Support machines with 64-bit pointers and 32-bit ints (e.g.
288 1997-09-19 Dave Love <d.love@dl.ac.uk>
290 * libU77/dtime_.c (G77_dtime_0): Fix types in HAVE_GETRUSAGE case
291 so as not to truncate results to integer values.
293 Tue Sep 9 00:33:24 1997 Craig Burley <burley@gnu.ai.mit.edu>
295 * Version 0.5.21 released.
297 Mon Sep 8 19:39:01 1997 Craig Burley <burley@gnu.ai.mit.edu>
299 * libI77/close.c (f_exit): Fix thinko, inverted test
300 of whether initialization done, so exiting now closes
303 Tue Aug 26 01:42:21 1997 Craig Burley <burley@gnu.ai.mit.edu>
306 * configure.in: Make sure RANLIB_TEST is set also.
308 From Robert Lipe <robertl@dgii.com>:
309 * libU77/getcwd_.c, libU77/hostnm_.c, libU77/lstat_.c:
310 Also #include <errno.h>, to define ENOSYS.
312 Tue Aug 26 01:25:58 1997 Craig Burley <burley@gnu.ai.mit.edu>
314 * Makefile.in (stamp-lib): Put all f2cext.c objects in
315 a temp directory named libE77, then `ar' them all at
316 once into libf2c.a, to get the job done a bit faster.
317 Still remove the objects (and libE77 directory) afterward.
319 Sun Aug 24 05:04:35 1997 Craig Burley <burley@gnu.ai.mit.edu>
321 * libU77/rand_.c (G77_rand_0), libU77/dtime_.c (G77_dtime_0),
322 libU77/etime_.c (G77_etime_0), libU77/secnds_.c (G77_secnds_0),
323 libU77/second_.c (G77_second_0): Really return `double', not
324 `doublereal', since the result is cast to `float'.
325 * f2cext.c: (rand_, dtime_, etime_, secnds_, second_): Ditto.
326 (erf_, erfc_, besj0_, besj1_, besjn_, besy0_, besy1_,
327 besyn_, dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
328 dbesyn_): All of these return `double', not `doublereal',
329 as they either have `float' or `double' results.
330 * libU77/bes.c (besj0_, besj1_, besjn_, besy0_, besy1_,
332 * libU77/dbes.c (dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
335 Update to Netlib version of 1997-08-16:
336 * libI77/iio.c: Fix bug in internal writes to an array
337 of character strings.
339 * Makefile.in (UOBJ): Restore fixes made by Dan Pettet I
340 lost, which included the addition of mclock_.o already noted
341 below, plus adding symlnk_.o.
343 Thu Aug 21 03:58:34 1997 Craig Burley <burley@gnu.ai.mit.edu>
345 * Makefile.in (UOBJ): Add mclock_.o, thanks to Mumit Khan!
347 1997-08-21 Dave Love <d.love@dl.ac.uk>
349 * libU77/alarm_.c: Fix return type: `integer'.
351 Mon Aug 11 20:12:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
353 * Makefile.in ($(lib), stamp-lib): Ensure that library
354 gets fully updated even if updating was aborted earlier.
356 * libU77/hostnm_.c (G77_hostnm_0): Return ENOSYS and stuff
357 in errno if system has no gethostname() function.
359 * libU77/lstat_.c (G77_lstat_0): Return ENOSYS and stuff
360 in errno if system has no lstat() function.
362 * libU77/getcwd_.c (G77_getcwd_0): Return ENOSYS and stuff
363 in errno if system has no getcwd() or getwd() function.
364 Test HAVE_GETCWD properly.
366 * libU77/symlnk_.c (G77_symlink_0): Return ENOSYS and stuff
367 in errno if system has no symlink() function.
369 * libU77/mclock_.c (G77_mclock_0): Return -1 if system
370 has no clock() function.
372 Mon Aug 11 01:55:36 1997 Craig Burley <burley@gnu.ai.mit.edu>
374 * Makefile.in (F2CEXT): Add `alarm' to this list.
376 * f2cext.c (alarm_): Fix some typos in this function.
377 Delete third `status' argument.
379 * libU77/alarm_.c: Delete third `status' argument,
380 as caller gets this from function result; return
381 status value as function result for caller.
383 * configure.in: Rename `ac_cv_struct_FILE' to
384 `g77_cv_struct_FILE' according to 1997-06-26 change.
386 1997-08-06 Dave Love <d.love@dl.ac.uk>
388 * libU77/vxtidate_.c: Correct day/month argument order.
389 * f2cext.c: Likewise.
391 1997-07-07 Dave Love <d.love@dl.ac.uk>
393 * f2cext.c: Add alarm_.
395 * Makefile.in, libU77/Makefile.in: Add alarm_.
397 * libU77/alarm_.c: New file.
399 1997-06-26 Dave Love <d.love@dl.ac.uk>
401 * configure.in: Generally use prefix `g77_' for cached values
402 we've invented, not `ac_'.
404 Tue Jun 24 18:50:06 1997 Craig Burley <burley@gnu.ai.mit.edu>
406 * libI77/ilnw.c (s_wsni): Call f_init() here.
408 (e_wsli): Turn off "doing I/O" flag here.
410 1997-06-20 Dave Love <d.love@dl.ac.uk>
412 * runtime/configure.in: Check for cygwin32 after Mumit Khan (but
413 differently); if cygwin32 define NON_UNIX_STDIO and don't define
416 Tue Jun 01 06:26:29 1997 Craig Burley <burley@gnu.ai.mit.edu>
418 * libI77/rsne.c (nl_init): Don't call f_init() here,
419 since s_rsne() already does.
420 (c_lir): Call f_init() here instead.
421 * libI77/rsli.c (e_rsli): Turn off "doing I/O" flag here.
422 * libI77/sue.c (e_rsue): Ditto.
424 Sun Jun 22 23:27:22 1997 Craig Burley <burley@gnu.ai.mit.edu>
426 * libI77/fio.h (err): Mark I/O as no longer in progress
427 before returning a non-zero error indicator (since
428 that tells the caller to jump over the remaining I/O
429 calls, including the corresponding `e_whatever' call).
430 * libI77/err.c (endif): Ditto.
431 * libI77/sfe.c (e_wsfe): Ditto.
432 * libI77/lread.c (ERR): Ditto.
433 * libI77/lread.c (l_read): Ditto by having quad case
434 use ERR, not return, to return non-zero error code.
436 Sat Jun 21 12:31:28 1997 Craig Burley <burley@gnu.ai.mit.edu>
438 * libI77/open.c (fk_open): Temporarily turn off
439 "doing I/O" flag during f_open() call to avoid recursive
442 Tue Jun 17 22:40:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
444 * err.c, close.c, rewind.c, inquire.c, backspace.c, endfile.c,
445 iio.c, open.c, Version.c, sfe.c, wsle.c, rsne.c, sue.c, rsfe.c,
446 lread.c, wsfe.c, fio.h, due.c, dfe.c: Change f__init from
447 `flag' to `int' and to signal not just whether initialization
448 has happened (bit 0), but also whether I/O is in progress
449 already (bit 1). Consistently produce a clear diagnostic
450 in cases of recursive I/O. Avoid infinite recursion in
451 f__fatal, in case sig_die triggers another error. Don't
452 output info on internals if not initialized in f__fatal. Don't
453 bother closing units in f_exit if initialization hasn't
456 Tue Jun 10 12:57:44 1997 Craig Burley <burley@gnu.ai.mit.edu>
458 Update to Netlib version of 1997-06-09:
459 * libI77/err.c, libI77/lread.c, libI77/rdfmt.c,
460 libI77/wref.c: Move some #include's around.
462 Mon Jun 9 18:11:56 1997 Craig Burley <burley@gnu.ai.mit.edu>
464 * libU77/kill_.c (kill_): KR_headers version needed
465 `*' in front of args in decls.
467 Sun May 25 03:16:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
469 Update to Netlib version of 1997-05-24:
470 * libF77/README, libF77/Version.c, libF77/main.c,
471 libF77/makefile, libF77/s_paus.c, libF77/signal1.h,
472 libF77/signal_.c, libF77/z_div.c, libI77/Notice,
473 libI77/README, libI77/Version.c, libI77/dfe.c,
474 libI77/err.c, libI77/fmt.c, libI77/makefile,
475 libI77/rawio.h: Apply many, but not all, of the changes
476 made to libf2c since last update.
477 * libF77/Makefile.in (MISC), Makefile.in (MISC): Rename
478 exit.o to exit_.o to go along with Netlib.
479 * libF77/signal.c: Make the prologue much simpler than
482 Sun May 18 20:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
484 * libU77/unlink_.c, libU77/stat_.c, libU77/symlnk_.c,
485 libU77/chmod_.c: g_char first arg is const.
487 * libU77/chmod_.c: s_cat expects ftnlen[], not int[] or
488 integer[], change types of array and variables
491 May 7 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
493 * libU77/dbes_.c: Commented out the code in the
494 same way the bes* routines are commented out. This
495 was done because corresponding C routines are referenced
496 directly in com-rt.def.
498 Mon May 5 13:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
500 * libU77/stat_.c: Reverse KR/ANSI decls of g_char().
502 Apr 18 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
504 * libF77/F77_aloc.c, libF77/abort_.c, libF77/derf_.c,
505 libF77/derfc_.c, libF77/ef1asc_.c, libF77/ef1cmc_.c,
506 libF77/erf_.c, libF77/erfc_.c, libF77/exit.c,
507 libF77/getarg_.c, libF77/getenv_.c, libF77/iargc_.c,
508 libF77/s_cat.c, libF77/signal_.c, libF77/system_.c,
509 libI77/close.c, libI77/ftell_.c, libU77/access_.c,
510 libU77/bes.c, libU77/chdir_.c, libU77/chmod_.c, libU77/ctime_.c,
511 libU77/date_.c, libU77/dbes.c, libU77/dtime_.c, libU77/etime_.c,
512 libU77/fdate_.c, libU77/fgetc_.c, libU77/flush1_.c,
513 libU77/fnum_.c, libU77/fputc_.c, libU77/fstat_.c,
514 libU77/gerror_.c, libU77/getcwd_.c, libU77/getgid_.c,
515 libU77/getlog_.c, libU77/getpid_.c, libU77/getuid_.c,
516 libU77/gmtime_.c, libU77/hostnm_.c, libU77/idate_.c,
517 libU77/ierrno_.c, libU77/irand_.c, libU77/isatty_.c,
518 libU77/itime_.c, libU77/kill_.c, libU77/link_.c,
519 libU77/lnblnk_.c, libU77/ltime_.c, libU77/mclock_.c,
520 libU77/perror_.c, libU77/rand_.c, libU77/rename_.c,
521 libU77/secnds_.c, libU77/second_.c, libU77/sleep_.c,
522 libU77/srand_.c, libU77/stat_.c, libU77/symlnk_.c,
523 libU77/system_clock_.c, libU77/time_.c, libU77/ttynam_.c,
524 libU77/umask_.c, libU77/unlink_.c, libU77/vxtidate_.c,
525 libU77/vxttime_.c: Completed renaming routines that are directly
526 callable from g77 to internal names of the form
527 G77_xxxx_0 that are known as intrinsics by g77.
529 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
531 * Makefile.in: Add libU77/mclock_.o and libU77/symlnk_.o to UOBJ.
532 * libU77/Makefile.in: Add mclock_.c to SRCS.
533 Add mclock_.o and symlnk_.o to OBJS.
534 Add mclock_.o dependency.
536 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
538 * libU77/symlnk_.c: Added a couple of (char*) casts to malloc
539 to silence the compiler.
541 1997-03-17 Dave Love <d.love@dl.ac.uk>
543 * libU77/access_.c, libU77/chdir_.c, libU77/chmod_.c,
544 libU77/link_.c, libU77/lstat_.c, libU77/rename_.c, libU77/stat_.c,
545 libU77/symlnk_.c, libU77/u77-test.f, libU77/unlink_.c: Strip
546 trailing blanks from file names for consistency with other
547 implementations (notably Sun's).
549 * libU77/chmod_.c: Quote the file name given to the shell.
551 Mon Mar 10 00:19:17 1997 Craig Burley <burley@gnu.ai.mit.edu>
553 * libI77/uio.c (do_ud) [PAD_UDread]: Add semicolon to err()
554 invocation when macro not defined (from Mumit Khan
555 <khan@xraylith.wisc.edu>).
557 Fri Feb 28 13:16:50 1997 Craig Burley <burley@gnu.ai.mit.edu>
559 * Version 0.5.20 released.
561 Wed Feb 26 20:28:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
563 * Makefile.in: $(MAKE) invocations now explicitly
564 specify `-f Makefile', just in case the `makefile's
565 from the netlib distribution would get used instead.
567 Mon Feb 24 16:43:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
569 * libU77/Makefile.in (check): Specify driver, and
570 don't bother enabling already-enabled intrinsic groups.
571 Also, get the $(srcdir) version of u77-test.f.
573 Sat Feb 22 14:08:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
575 * libU77/u77-test.f: Explicitly declare intrinsics, get
576 rid of useless CHARACTER declarations on intrinsics (maybe
577 someday appropriate to implement meaning of that in g77
579 Add spin loop just to fatten up the timings a bit.
580 Clarify ETIME output as having three fields.
581 Call TIME with CHARACTER*8, not CHARACTER*6, argument.
582 Call new SECOND intrinsic subroutine, after calling
583 new DUMDUM subroutine just to ensure the correct value
584 doesn't get left around in a register or something.
586 Thu Feb 20 15:22:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
588 * libU77/bes.c: Comment out all the code, as g77 avoids actually
589 calling it, going directly to the system's library instead.
591 Mon Feb 17 02:27:41 1997 Craig Burley <burley@gnu.ai.mit.edu>
593 * libU77/fgetc_.c (fgetc_): Allow return value to be
594 CHARACTER*(*), properly handle CHARACTER*0 and blank-pad
595 CHARACTER*n where n>1.
597 Tue Feb 11 14:12:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
599 * Makefile.in: Clarify role of $(srcdir) here. Fix
600 various targets accordingly. Don't rely at all on
601 gcc/f/include/ being a link to gcc/include/ -- just
603 (${srcdir}/configure, ${srcdir}/libU77/configure):
604 Remove the config.cache files in build directory before
605 cd'ing to source directory as well.
607 * libF77/Makefile.in, libI77/Makefile.in (ALL_CFLAGS):
608 Include `-I.' to pick up build directory.
609 Use gcc/include/ directly.
610 * libU77/Makefile.in (ALL_CFLAGS): Include `-I$(srcdir)'
611 to pick up source directory.
612 (OBJS): Fix typo in `chmod_.o' (was `chmod.o').
614 Mon Feb 10 12:54:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
616 * Makefile.in (UOBJ), libU77/Makefile.in (OBJS): Add
617 libU77/chmod_.o to list of objects.
618 * libU77/chmod_.c: Fix up headers.
619 Fix implementation to not prematurely truncate command
620 string and make room for trailing null.
622 * libU77/ctime_.c: Incoming xstime argument is now longint.
623 * libU77/mclock_.c: Now returns longint.
624 * libU77/time_.c: Now returns longint.
626 1997-02-10 Dave Love <d.love@dl.ac.uk>
628 * etime_.c, dtime_.c: Typo rounded times to seconds.
630 * date_.c: Add missing return.
632 * hostnm_.c: #include unistd.h.
634 Sat Feb 8 03:30:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
636 INTEGER*8 support built in to f2c.h and libf2c (since
637 gcc will be used to compile relevant code anyway):
638 * Makefile.in, libF77/Makefile.in: Add pow_qq.o,
639 qbitbits.o, and qbitshft.o to $POW and $F90BIT macros,
641 * f2c.h.in: Define appropriate types and macros.
642 Place #error directive correctly.
643 * configure.in: Determine appropriate types for long
644 integer (F2C_LONGINT).
645 Meanwhile, quote strings in #error, for consistency.
646 Fix restoring of ac_cpp macro.
647 * configure: Regenerated using autoconf-2.12.
649 * libF77/Version.c, libI77/Version.c, libU77/Version.c:
650 Update version numbers.
651 Change names and code for g77-specific version-printing
652 routines (shorter names should be safer to link on
653 weird, 8-char systems).
655 * libF77/c_cos.c, libF77/c_div.c, libF77/c_exp.c,
656 libF77/c_log.c, libF77/c_sin.c, libF77/c_sqrt.c,
657 libF77/d_cnjg.c, libF77/pow_zi.c, libF77/r_cnjg.c,
658 libF77/z_cos.c, libF77/z_div.c, libF77/z_exp.c,
659 libF77/z_log.c, libF77/z_sin.c, libF77/z_sqrt.c:
660 Changed to work properly even when result is aliased
663 * libF77/makefile, libI77/makefile: Leave these in
664 the g77 distribution, so it is easier to track changes
667 * libF77/signal_.c: Eliminate redundant `return 0;'.
669 * libI77/fio.h (err, errfl): Fix these so they work
670 (and must be expressed) as statements.
671 Fix up many users of err() to include trailing semicolon.
673 * Incorporate changes by Bell Labs to libf2c through 1997-02-07.
675 1997-02-06 Dave Love <d.love@dl.ac.uk>
677 * libU77/etime_.c, libU77/dtime_.c: Fix getrusage stuff.
679 * libU77/config.h.in: Regenerate for HAVE_GETRUSAGE.
681 * libU77/Makefile.in, libI77/Makefile.in, libF77/Makefile.in:
682 Redo *clean targets; distclean and maintainer-clean remove the stage?
683 and include links. This probably want looking at further.
685 Wed Feb 5 00:21:23 1997 Craig Burley <burley@gnu.ai.mit.edu>
687 Add libU77 library from Dave Love <d.love@dl.ac.uk>:
688 * Makefile.in: Add libU77 directory, rules, etc.
689 * configure.in: New libU77 directory, Makefile, etc.
691 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
692 libU77/Makefile.in: Reorganize these so $(AR) commands
693 handled by the top-level Makefile instead of the
694 subordinates. This permits it to do $(AR) only when
695 one or more object files actually change, instead of
696 having to force-update it as was necessary before.
697 And that had the disadvantage of requiring, e.g., user
698 root to have access to $(AR) to the library simply to
699 install g77, which might be problematic on an NFS setup.
700 (mostlyclean, clean, distclean, maintainer-clean):
701 Properly handle these rules.
703 * Makefile.in: Don't invoke config.status here -- let
704 compiler-level stuff handle all that.
706 * libI77/err.c [MISSING_FILE_ELEMS]: Declare malloc in this case
707 too, so it doesn't end up as an integer.
709 Sat Feb 1 02:43:48 1997 Craig Burley <burley@gnu.ai.mit.edu>
711 * libF77/Makefile.in: More fixup for $(F90BIT) -- wasn't
712 in list for ar command, and it wasn't correctly listed
713 in the list of things depending on f2c.h.
715 * f2c.h.in: Fix up #error directive.
717 1997-01-31 Dave Love <d.love@dl.ac.uk>
719 * libF77/Makefile.in ($(lib)): Add $(F90BIT); shouldn't exclude
720 stuff f2c needs so we can share the library.
722 Sat Jan 18 19:39:03 1997 Craig Burley <burley@gnu.ai.mit.edu>
724 * configure.in: No longer define ALWAYS_FLUSH, the
725 resulting performance is too low.
727 Wed Dec 18 12:06:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
729 Patch from Mumit Khan <khan@xraylith.wisc.edu>:
730 * libF77/s_paus.c: Add __CYGWIN32__ to list of macros
731 controlling how to pause.
733 Sun Dec 1 21:25:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
735 * configure: Regenerated using autoconf-2.12.
737 Mon Nov 25 21:16:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
739 * configure: Regenerated using autoconf-2.11.
741 1996-11-19 Dave Love <d.love@dl.ac.uk>
743 * libI77/backspace.c: Include sys/types.h for size_t.
745 Wed Nov 6 14:17:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
747 * f2c.h.in: Properly comment out the unsupported stuff so
748 we don't get build-time errors.
750 * libF77/Version.c, libI77/Version.c: Restore macro definition
751 of version information.
753 * libI77/Makefile.in (OBJ): Add ftell_.o to list of objects.
755 * libI77/uio.c (do_ud): Fix up casts in PAD_UDread case just
756 like they were fixed in the other case.
758 Thu Oct 31 22:27:45 1996 Craig Burley <burley@gnu.ai.mit.edu>
760 * libI77/ftell_.c (fseek_): Map incoming whence argument to
761 system's actual SEEK_CUR, SEEK_SET, or SEEK_END macro for
762 fseek(), and crash (gracefully) if the argument is invalid.
764 1996-10-19 Dave Love <d.love@dl.ac.uk>
766 * configure.in: Add check that we have the tools to cross-compile
768 (NO_EOF_CHAR_CHECK,Skip_f2c_Undefs): Define.
770 * libF77/Makefile.in (F90BIT): New routines from Netlib.
773 Use more sanitary #error (indented for K&R compliance if necessary) if
775 Sync with Netlib: Add `uninteger'. (Commented out) integer*8 stuff.
776 bit_{test,clear,set} macros.
778 1996-10-19 Dave Love <d.love@dl.ac.uk>
780 Update to Netlib version of 1996-09-26.
782 * libI77/Version.c: Use <stdio.h>, not "stdio.h".
783 * libF77/Version.c: Likewise.
785 Wed Aug 28 13:25:29 1996 Dave Love <d.love@dl.ac.uk>
787 * libI77/rsne.c (x_rsne): Use size_t instead of int.
789 * libI77/endfile.c (copy): Use size_t in place of int.
791 Wed Aug 28 13:22:20 1996 Dave Love <d.love@dl.ac.uk>
793 * libI77/backspace.c (f_back): Cast fread arg to size_t.
795 Tue Aug 27 19:11:30 1996 Dave Love <d.love@dl.ac.uk>
797 * libI77/Version.c: Supply */ to avoid apparent nested comment.
799 Tue Aug 20 09:21:43 1996 Dave Love <d.love@dl.ac.uk>
801 * libF77/Makefile.in (ALL_CFLAGS): Fix missing ../ for include.
802 * libI77/Makefile.in (ALL_CFLAGS): Likewise.
804 Sat Aug 17 13:00:47 1996 Dave Love <d.love@dl.ac.uk>
806 * (libF77/qbitshft.c, libF77/qbitbits.c, libF77/lbitshft.c,
807 libF77/lbitbits.c): New file from Netlib. qbit... not currently
810 Sun Jul 7 18:06:33 1996 Dave Love <d.love@dl.ac.uk>
812 * libF77/z_sqrt.c, libF77/z_sin.c, libF77/z_exp.c, libF77/z_log.c,
813 libF77/system_.c, libF77/z_cos.c, libF77/signal_.c,
814 libF77/s_stop.c, libF77/sig_die.c, libF77/s_paus.c,
815 libF77/s_rnge.c, libF77/s_cat.c, libF77/r_tan.c, libF77/r_tanh.c,
816 libF77/r_sinh.c, libF77/r_sqrt.c, libF77/r_sin.c, libF77/r_mod.c,
817 libF77/r_nint.c, libF77/r_lg10.c, libF77/r_log.c, libF77/r_exp.c,
818 libF77/r_int.c, libF77/r_cosh.c, libF77/r_atn2.c, libF77/r_cos.c,
819 libF77/r_asin.c, libF77/r_atan.c, libF77/r_acos.c,
820 libF77/pow_dd.c, libF77/pow_zz.c, libF77/main.c, libF77/i_dnnt.c,
821 libF77/i_nint.c, libF77/h_dnnt.c, libF77/h_nint.c, libF77/exit.c,
822 libF77/d_tan.c, libF77/d_tanh.c, libF77/d_sqrt.c, libF77/d_sin.c,
823 libF77/d_sinh.c, libF77/d_mod.c, libF77/d_nint.c, libF77/d_log.c,
824 libF77/d_int.c, libF77/d_lg10.c, libF77/d_cosh.c, libF77/d_exp.c,
825 libF77/d_atn2.c, libF77/d_cos.c, libF77/d_atan.c, libF77/d_acos.c,
826 libF77/d_asin.c, libF77/c_sqrt.c, libF77/cabs.c, libF77/c_sin.c,
827 libF77/c_exp.c, libF77/c_log.c, libF77/c_cos.c, libF77/F77_aloc.c,
828 libF77/abort_.c, libI77/xwsne.c, libI77/wref.c, libI77/util.c,
829 libI77/uio.c, libI77/rsne.c, libI77/rdfmt.c, libI77/rawio.h,
830 libI77/open.c, libI77/lread.c, libI77/inquire.c, libI77/fio.h,
831 libI77/err.c, libI77/endfile.c, libI77/close.c:
832 Use #include <...>, not #include "..." for mkdeps
834 Sat Jul 6 21:39:21 1996 Dave Love <d.love@dl.ac.uk>
836 * libI77/ftell_.c: Added from Netlib distribution.
838 Sat Mar 30 20:57:24 1996 Dave Love <d.love@dl.ac.uk>
840 * configure.in: Eliminate explicit use of
841 {RANLIB,AR}_FOR_TARGET.
842 * Makefile.in: Likewise.
843 * libF77/Makefile.in: Likewise.
844 * libI77/Makefile.in: Likewise.
845 * configure: Regenerated.
847 Sat Mar 30 21:02:03 1996 Dave Love <d.love@dl.ac.uk>
849 * Makefile.in: Eliminate explicit use of
850 {RANLIB,AR}_FOR_TARGET.
852 Tue Mar 26 23:39:59 1996 Dave Love <d.love@dl.ac.uk>
854 * Makefile.in: Remove hardwired RANLIB and RANLIB_TEST (unnoted
857 Mon Mar 25 21:04:56 1996 Craig Burley <burley@gnu.ai.mit.edu>
859 * Incorporate changes by Bell Labs to libf2c through 1996-03-23,
860 including changes to dmg and netlib email addresses.
862 Tue Mar 19 13:10:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
864 * Incorporate changes by AT&T/Bellcore to libf2c through 1996-03-19.
866 * Makefile.in (rebuilt): New target.
868 * lib[FI]77/Makefile.in: Use $AR_FOR_TARGET, not $AR.
870 Tue Mar 19 12:53:19 1996 Dave Love <d.love@dl.ac.uk>
872 * configure.in (ac_cpp): #include <stdio.h> instead
875 Tue Mar 19 12:52:09 1996 Mumit Khan <khan@xraylith.wisc.edu>
877 * configure.in (ac_cpp): For f2c integer type,
878 add -I$srcdir/../.. to make it work on mips-ultrix4.2.
880 Sat Mar 9 17:37:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
882 * libI77/Makefile.in (.c.o): Add -DAllow_TYQUAD, to enable
883 I/O support for INTEGER*8.
884 * f2c.h.in: Turn on longint type.
886 Fri Dec 29 18:22:01 1995 Craig Burley <burley@gnu.ai.mit.edu>
888 * Makefile.in: Reorganize the *clean rules to more closely
891 * lib[FI]77/Makefile.in: Ignore error from $(AR) command,
892 in case just doing an install and installer has no write
893 access to library (this is a kludge fix -- perhaps install
894 targets should never try updating anything?).
896 Sat Nov 18 19:37:22 1995 Craig Burley (burley@gnu.ai.mit.edu)
898 * Version 0.5.17 released.
900 Thu Nov 16 07:20:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
902 * Incorporate changes by AT&T/Bellcore to libf2c through 1995-11-15.
904 Fri Sep 22 02:19:59 1995 Craig Burley (burley@gnu.ai.mit.edu)
906 * libI77/backspace.c, libI77/close.c, libI77/endfile.c,
907 libI77/fio.h, libI77/inquire.c, libI77/rawio.h,
908 libF77/s_paus.c: Not an MSDOS system if GO32
909 is defined, in the sense that the run-time environment
910 is thus more UNIX-like.
912 Wed Sep 20 02:24:51 1995 Craig Burley (burley@gnu.ai.mit.edu)
914 * libF77/Makefile.in, libI77/Makefile.in: Comment out `ld -r -x'
915 and `mv' line pairs, since `-x' isn't supported on systems
916 such as Solaris, and these lines don't seem to do anything
919 Wed Aug 30 15:58:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
921 * Version 0.5.16 released.
923 * Incorporate changes by AT&T/Bellcore to libf2c through 950829.
925 Mon Aug 28 12:50:34 1995 Craig Burley (burley@gnu.ai.mit.edu)
927 * libF77/Makefile.in, libI77/Makefile.in ($(lib)): Force ar'ing
928 and ranlib'ing of libf2c.a, else after rm'ing libf2c.a and
929 doing a make, only libI77 or libF77 would be added to
930 the newly created archive.
931 Also, instead of `$?' list all targets explicitly so all
932 objects are updated in libf2c.a even if only one actually
933 needs recompiling, for similar reason -- we can't easily tell
934 if a given object is really up-to-date in libf2c.a, or even
937 Sun Aug 27 14:54:24 1995 Craig Burley (burley@gnu.ai.mit.edu)
939 * libF77/Makefile.in, libI77/Makefile.in: Fix spacing so
940 initial tabs are present in all appropriate places.
941 Move identical $(AR) commands in if then/else clauses
942 to single command preceding if.
943 (.c.o, Version[FI].o): Use $@ instead of $* because AIX (RS/6000)
944 says $@ means source, not object, basename, and $@ seems to work
947 Wed Aug 23 15:44:25 1995 Craig Burley (burley@gnu.ai.mit.edu)
949 * libF77/system_.c (system_): Declare as returning `ftnint',
950 consistent with signal_, instead of defaulting to `int'.
951 Hope dmg@research.att.com agrees, else probably will
952 change to whatever he determines is correct (and change
955 Thu Aug 17 08:46:17 1995 Craig Burley (burley@gnu.ai.mit.edu)
957 * libI77/rsne.c (s_rsne): Call f_init if not already done.
959 Thu Aug 17 04:35:28 1995 Craig Burley (burley@gnu.ai.mit.edu)
961 * Incorporate changes by Bellcore to libf2c through 950817.
962 And this text is for EMACS: (foo at bar).
964 Wed Aug 16 17:33:06 1995 Craig Burley (burley@gnu.ai.mit.edu)
966 * libF77/Makefile.in, libI77/Makefile.in (CFLAGS): Put -g1
967 after configured CFLAGS but before GCC_CFLAGS, so by default
968 the libraries are built with minimal debugging information.
970 Fri Jul 28 10:30:15 1995 Dave Love <d.love@dl.ac.uk>
972 * libI77/open.c (f_open): Call f_init if not already done.
974 Sat Jul 1 19:31:56 1995 Craig Burley (burley@gnu.ai.mit.edu)
976 * libF77/system_.c (system_): Make buff one byte bigger so
977 following byte doesn't get overwritten by call with large
980 Tue Jun 27 23:28:16 1995 Craig Burley (burley@gnu.ai.mit.edu)
982 * Incorporate changes by Bellcore to libf2c through 950613.
984 * libF77/Version.c (__G77_LIBF77_VERSION__): Add this string
985 to track g77 mods to libf2c.
987 * libI77/Version.c (__G77_LIBI77_VERSION__): Add this string
988 to track g77 mods to libf2c.
990 * libI77/rawio.h: #include <rawio.h> only conditionally,
991 using macro intended for that purpose.
993 Fri May 19 11:20:00 1995 Craig Burley (burley@gnu.ai.mit.edu)
995 * configure.in: Incorporate change made by d.love,
997 * configure: Regenerated.
999 Wed Apr 26 21:08:57 BST 1995 Dave Love <d.love@dl.ac.uk>
1001 * configure.in: Fix quoting problem in atexit check.
1003 * configure: Regenerated (with current autoconf).
1005 Wed Mar 15 12:49:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
1007 * Incorporate changes by Bellcore to libf2c through 950315.
1009 Sun Mar 5 18:54:29 1995 Craig Burley (burley@gnu.ai.mit.edu)
1011 * README: Tell people not to read lib[fi]77/README.
1013 Wed Feb 15 14:30:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
1015 * configure.in: Update copyright notice at top of file.
1017 * f2c.h.in (f2c_i2): Make sure defining this crashes compilations.
1019 * libI77/Makefile.in (F2C_H): Fix typo in definition of this
1020 symbol (was FF2C_H=...).
1022 Sun Feb 12 13:39:36 1995 Craig Burley (burley@gnu.ai.mit.edu)
1024 * README: Remove some obsolete items.
1029 Sat Feb 11 22:07:54 1995 Craig Burley (burley@gnu.ai.mit.edu)
1031 * Makefile.in (libf77, libi77): Add rules to .PHONY list.
1033 * f2c.h.in (flag): Make same type as friends.
1035 * libF77/Makefile.in (libf77): Rename to $(lib), remove from
1036 .PHONY list. Fix some typos.
1038 * libI77/Makefile.in (libi77): Rename to $(lib), remove from
1039 .PHONY list. Fix some typos.
1041 Thu Feb 2 12:22:41 1995 Craig Burley (burley@gnu.ai.mit.edu)
1043 * Makefile.in (libF77/Makefile): Fix typos in this rule's name
1046 * libF77/Makefile.in (libf77): Add rule to .PHONY list.
1048 * libI77/Makefile.in (libi77): Add rule to .PHONY list.