OSDN Git Service

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