OSDN Git Service

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