+1999-02-26 Craig Burley <craig@jcb-sc.com>
+
+ * news.texi: List fixes to Date_and_Time and LStat, plus
+ the docs, under a new heading for egcs 1.1.2.
+
+1999-02-26 Craig Burley <craig@jcb-sc.com>
+
+ * intdoc.in (STAT_func, STAT_subr,
+ FSTAT_func, FSTAT_subr, LSTAT_func, LSTAT_subr):
+ Properly order array elements. Specify N/A return values.
+
1999-02-26 Craig Burley <craig@jcb-sc.com>
* intdoc.in (DATE_AND_TIME): Explain that VALUES(7) holds
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@enumerate
@item
-File mode
+Device ID
@item
Inode number
@item
-ID of device containing directory entry for file
-
-@item
-Device id (if relevant)
+File mode
@item
Number of links
@item
Owner's gid
+@item
+ID of device containing directory entry for file
+(0 if not available)
+
@item
File size (bytes)
Last file status change time
@item
-Preferred I/O block size
+Preferred I/O block size (-1 if not available)
@item
-Number of blocks allocated
+Number of blocks allocated (-1 if not available)
@end enumerate
Not all these elements are relevant on all systems.
@c The text of this file appears in the file BUGS
@c in the G77 distribution, as well as in the G77 manual.
-@c 1999-02-14
+@c 1999-02-26
@ifclear NEWSONLY
@node News
of what a particular @code{egcs} version contains
somewhat more difficult.
+@heading In 0.5.24 and @code{egcs} 1.1.2 (versus 0.5.23 and 1.1.1):
+@itemize @bullet
+@item
+Fix the @samp{Date_and_Time} intrinsic (in @code{libg2c})
+to return the milliseconds value properly
+in @var{Values}(8).
+
+@item
+Fix the @samp{LStat} intrinsic (in @code{libg2c})
+to return device-ID information properly
+in @var{SArray}(7).
+
+@item
+Improve documentation.
+@end itemize
+
@heading In 0.5.24 and @code{egcs} 1.1.1 (versus 0.5.23 and 1.1):
@itemize @bullet
@item
+1999-02-26 Craig Burley <craig@jcb-sc.com>
+
+ * libU77/Version.c: Bump version.
+
+1999-02-20 Craig Burley <craig@jcb-sc.com>
+
+ From Krister Walfridsson <cato@df.lth.se>:
+ * libU77/lstat_.c (G77_lstat_0): Kill spurious setting
+ of element 6 to zero, as it undid the previous setting.
+
1999-02-14 Craig Burley <craig@jcb-sc.com>
* libI77/Version.c: Bump ("update" below) to date of last change.
+1999-01-15 Dave Love <fx@gnu.org>
+
+ * libU77/datetime_.c (G77_date_and_time_0): Return milliseconds as
+ such, not as microseconds.
+ (s_copy): Declare.
+
1998-10-21 Dave Love <fx@gnu.org>
* libI77/open.c (_XOPEN_SOURCE): Define.
static char junk[] = "\n@(#) LIBU77 VERSION 19980709\n";
-char __G77_LIBU77_VERSION__[] = "0.5.24";
+char __G77_LIBU77_VERSION__[] = "0.5.24-19990220";
#include <stdio.h>
#endif
#include "f2c.h"
+#ifdef KR_headers
+VOID s_copy ();
+#else
+void s_copy(register char *a, register char *b, ftnlen la, ftnlen lb);
+#endif
+
int G77_date_and_time_0 (char *date, char *fftime, char *zone,
integer *values, ftnlen date_len,
ftnlen fftime_len, ftnlen zone_len)
struct timeval tp;
struct timezone tzp;
if (! gettimeofday (&tp, &tzp))
- vals[7] = tp.tv_usec;
+ vals[7] = tp.tv_usec/1000;
}
#endif
if (values) /* null pointer for missing optional */
statb[8] = buf.st_atime;
statb[9] = buf.st_mtime;
statb[10] = buf.st_ctime;
- statb[6] = 0;
#if HAVE_ST_BLKSIZE
statb[11] = buf.st_blksize;
#else