Jim Meyering [Wed, 9 Sep 1998 14:21:16 +0000 (14:21 +0000)]
Protoize.
Jim Meyering [Mon, 7 Sep 1998 17:03:50 +0000 (17:03 +0000)]
.
Jim Meyering [Mon, 7 Sep 1998 03:23:30 +0000 (03:23 +0000)]
add test harness
Jim Meyering [Mon, 7 Sep 1998 02:38:28 +0000 (02:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Sep 1998 02:36:36 +0000 (02:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Sep 1998 02:21:19 +0000 (02:21 +0000)]
(libfu_a_SOURCES): Change posixtm.y to posixtm.c.
(noinst_HEADERS): Add posixtm.h.
Jim Meyering [Mon, 7 Sep 1998 02:18:43 +0000 (02:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Sep 1998 02:17:55 +0000 (02:17 +0000)]
.
Jim Meyering [Sun, 6 Sep 1998 22:57:00 +0000 (22:57 +0000)]
rewrite from yacc-based version
Jim Meyering [Sun, 6 Sep 1998 22:55:47 +0000 (22:55 +0000)]
.
Jim Meyering [Sun, 6 Sep 1998 22:53:59 +0000 (22:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Aug 1998 03:20:13 +0000 (03:20 +0000)]
.
Jim Meyering [Sun, 30 Aug 1998 03:16:57 +0000 (03:16 +0000)]
(AC_STRUCT_ST_MTIM_NSEC): Renamed from AC_STRUCT_ST_MTIM.
(AC_STRUCT_ST_MTIM_NSEC): Generate name of ns member, instead of just 1 or undef.
Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
Jim Meyering [Sun, 16 Aug 1998 15:26:20 +0000 (15:26 +0000)]
(PARAMS): Define and use.
Jim Meyering [Sun, 16 Aug 1998 03:56:15 +0000 (03:56 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Aug 1998 03:55:49 +0000 (03:55 +0000)]
Use the new AC_CHECK_TYPE(ssize_t, int) instead of jm_TYPE_SSIZE_T.
Jim Meyering [Sun, 16 Aug 1998 03:53:30 +0000 (03:53 +0000)]
.
Jim Meyering [Sat, 15 Aug 1998 14:20:16 +0000 (14:20 +0000)]
Add braces to suppress warning about ambiguous `else'.
Jim Meyering [Sat, 15 Aug 1998 03:01:13 +0000 (03:01 +0000)]
(read_filesystem_list) [MOUNTED_GETMNT]: Don't infloop on getmnt(2) returning 0.
Christian von Roques
Jim Meyering [Fri, 14 Aug 1998 14:09:21 +0000 (14:09 +0000)]
.
Jim Meyering [Thu, 13 Aug 1998 02:09:24 +0000 (02:09 +0000)]
.
Jim Meyering [Thu, 13 Aug 1998 02:07:54 +0000 (02:07 +0000)]
(noinst_HEADERS): Add filemode.h.
Jim Meyering [Thu, 13 Aug 1998 02:05:56 +0000 (02:05 +0000)]
Protoize. Tsort function definitions and remove prototypes of
static functions.
(mode_string): Remove prototype.
Jim Meyering [Thu, 13 Aug 1998 02:05:29 +0000 (02:05 +0000)]
.
Jim Meyering [Thu, 13 Aug 1998 01:52:01 +0000 (01:52 +0000)]
(ftypelet): Add comments for Cray DMF support.
From Johan Danielsson.
Jim Meyering [Thu, 13 Aug 1998 01:48:05 +0000 (01:48 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Aug 1998 01:41:38 +0000 (01:41 +0000)]
.
Jim Meyering [Tue, 11 Aug 1998 01:52:38 +0000 (01:52 +0000)]
add comment from glibc version
Jim Meyering [Fri, 7 Aug 1998 12:54:51 +0000 (12:54 +0000)]
update from glibc
Jim Meyering [Mon, 3 Aug 1998 03:03:11 +0000 (03:03 +0000)]
Ansideclify.
Jim Meyering [Mon, 3 Aug 1998 03:02:20 +0000 (03:02 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Aug 1998 03:02:04 +0000 (03:02 +0000)]
(readline): Return zero upon error as well as upon
end of file. From James Youngman.
Jim Meyering [Sun, 2 Aug 1998 20:52:34 +0000 (20:52 +0000)]
.
Jim Meyering [Sun, 2 Aug 1998 19:45:45 +0000 (19:45 +0000)]
.
Jim Meyering [Sun, 2 Aug 1998 16:25:14 +0000 (16:25 +0000)]
.
Jim Meyering [Sun, 2 Aug 1998 16:20:50 +0000 (16:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Aug 1998 16:20:39 +0000 (16:20 +0000)]
Use hack to avoid having to put #undef HAVE_ST_MTIM in acconfig.h manually.
Jim Meyering [Sun, 2 Aug 1998 16:18:21 +0000 (16:18 +0000)]
tweak indentation
Jim Meyering [Sun, 2 Aug 1998 16:15:17 +0000 (16:15 +0000)]
from Paul Eggert
Jim Meyering [Wed, 29 Jul 1998 04:00:36 +0000 (04:00 +0000)]
Remove duplicate include of <stdio.h>.
Jim Meyering [Wed, 29 Jul 1998 03:58:55 +0000 (03:58 +0000)]
(struct mount_entry):
New members me_dummy, me_remote.
(read_filesystem_list): Remove all_fs argument.
(REMOTE_FS_TYPE): Remove.
(ME_DUMMY, ME_REMOTE): New macros.
From Paul.
Jim Meyering [Wed, 29 Jul 1998 03:58:02 +0000 (03:58 +0000)]
(read_filesystem_list): Remove all_fs
argument, but put the necessary information into the result so
that the caller can ignore filesystems that he's not
interested in.
From Paul.
Jim Meyering [Tue, 28 Jul 1998 13:29:22 +0000 (13:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:20:20 +0000 (13:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Jul 1998 13:15:58 +0000 (13:15 +0000)]
Undef stat.
Jim Meyering [Sun, 26 Jul 1998 04:10:01 +0000 (04:10 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 15:28:41 +0000 (15:28 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 15:01:32 +0000 (15:01 +0000)]
Use PARAMS macro.
Jim Meyering [Sat, 25 Jul 1998 15:00:37 +0000 (15:00 +0000)]
(xatoi): Ansideclify.
(fstype_to_string): Ansideclify.
Jim Meyering [Sat, 25 Jul 1998 14:55:10 +0000 (14:55 +0000)]
(REMOTE_FS_TYPE): New macro.
Jim Meyering [Sat, 25 Jul 1998 14:54:42 +0000 (14:54 +0000)]
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use fsp_to_string.
(fsp_to_string): Don't xmalloc return value (yet).
Jim Meyering [Sat, 25 Jul 1998 14:41:04 +0000 (14:41 +0000)]
(read_filesystem_list): If all_fs is negative, omit non-local filesytems.
From Paul Eggert.
Jim Meyering [Sat, 25 Jul 1998 13:48:45 +0000 (13:48 +0000)]
.
Jim Meyering [Sat, 25 Jul 1998 13:16:38 +0000 (13:16 +0000)]
.
Richard Stallman [Sat, 25 Jul 1998 06:40:50 +0000 (06:40 +0000)]
(regex_compile): Declare p with non-const type on AIX.
Jim Meyering [Wed, 22 Jul 1998 18:30:16 +0000 (18:30 +0000)]
(human_readable): amt -> damt, to fix typo when
computing which power to use after overflow occurs during
multiplication.
From Paul Eggert.
Jim Meyering [Wed, 22 Jul 1998 16:57:15 +0000 (16:57 +0000)]
Include <stdio.h> if NDEBUG is not defined; needed on SunOS 4.
From Paul Eggert.
Jim Meyering [Mon, 20 Jul 1998 03:58:24 +0000 (03:58 +0000)]
.
Jim Meyering [Sat, 18 Jul 1998 12:28:31 +0000 (12:28 +0000)]
(read_filesystem_list): Fix more memory leaks on failure.
From Andreas Schwab.
Jim Meyering [Thu, 16 Jul 1998 23:26:50 +0000 (23:26 +0000)]
(noinst_HEADERS): Add lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:25:29 +0000 (23:25 +0000)]
include lchown.h
Jim Meyering [Thu, 16 Jul 1998 23:23:05 +0000 (23:23 +0000)]
.
Jim Meyering [Thu, 16 Jul 1998 23:12:25 +0000 (23:12 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:02:19 +0000 (23:02 +0000)]
Update prototype.
Jim Meyering [Thu, 16 Jul 1998 23:02:03 +0000 (23:02 +0000)]
(safe_read): Change type of pointer parameter to
`void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
Jim Meyering [Thu, 9 Jul 1998 14:29:22 +0000 (14:29 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Jul 1998 14:29:11 +0000 (14:29 +0000)]
(jm_FUNC_CHOWN): Add a check to verify that the
uid and gid actually remain unchanged.
Jim Meyering [Wed, 8 Jul 1998 01:10:45 +0000 (01:10 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:03:34 +0000 (01:03 +0000)]
Remove fclose_unlocked.
Jim Meyering [Sat, 4 Jul 1998 17:15:08 +0000 (17:15 +0000)]
Include stdio.h. Required on some systems when using assert.
From Kaveh Ghazi.
Jim Meyering [Sat, 4 Jul 1998 16:46:04 +0000 (16:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 16:45:52 +0000 (16:45 +0000)]
bump serial number
Jim Meyering [Sat, 4 Jul 1998 16:45:18 +0000 (16:45 +0000)]
Use syscmd, ifelse, and sysval. Mainly as an exercise
to prove that this macro can be used in packages without regex.c.
Jim Meyering [Sat, 4 Jul 1998 04:07:55 +0000 (04:07 +0000)]
add warning
Jim Meyering [Sat, 4 Jul 1998 03:42:40 +0000 (03:42 +0000)]
.
Jim Meyering [Sat, 4 Jul 1998 01:46:23 +0000 (01:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 01:46:01 +0000 (01:46 +0000)]
use $jm_with_regex, now $WITH_REGEX
Jim Meyering [Sat, 4 Jul 1998 01:44:01 +0000 (01:44 +0000)]
remove ifdef around inclusion of regex.h altogether!!
Jim Meyering [Sat, 4 Jul 1998 01:38:14 +0000 (01:38 +0000)]
add 100 to serial number
Jim Meyering [Sat, 4 Jul 1998 01:33:19 +0000 (01:33 +0000)]
(noinst_HEADERS): Add regex.h.
Jim Meyering [Sat, 4 Jul 1998 00:48:49 +0000 (00:48 +0000)]
.
Jim Meyering [Sat, 4 Jul 1998 00:48:11 +0000 (00:48 +0000)]
(read_filesystem_list):
Don't leak memory on failure.
Don't create a dummy struct mount_entry entry;
use the address-of-the-tail-address method instead.
Preserve errno if possible on failure, setting it to 0 if inapplicable.
Close file descriptor leak if the F_SETLKW failed.
Report an error if SVR4 lock file cannot be opened for some reason
other than a nonexistent lock file.
Jim Meyering [Sat, 4 Jul 1998 00:41:16 +0000 (00:41 +0000)]
.
Jim Meyering [Sat, 4 Jul 1998 00:40:52 +0000 (00:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:39:41 +0000 (00:39 +0000)]
(AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used.
Jim Meyering [Sat, 4 Jul 1998 00:35:27 +0000 (00:35 +0000)]
.
Jim Meyering [Sat, 4 Jul 1998 00:20:36 +0000 (00:20 +0000)]
Require jm_WITH_REGEX.
Jim Meyering [Sat, 4 Jul 1998 00:19:23 +0000 (00:19 +0000)]
.
Jim Meyering [Sat, 4 Jul 1998 00:19:08 +0000 (00:19 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:17:52 +0000 (00:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:15:37 +0000 (00:15 +0000)]
Change guard on <regex.h> inclusion to use new
symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
Jim Meyering [Sat, 4 Jul 1998 00:05:23 +0000 (00:05 +0000)]
.
Jim Meyering [Wed, 1 Jul 1998 12:44:22 +0000 (12:44 +0000)]
Don't define NDEBUG, now that it's done via configure's --disable-assert option.
Jim Meyering [Tue, 30 Jun 1998 14:32:53 +0000 (14:32 +0000)]
(read_filesystem_list):
Plug file descriptor leak on failure.
Report failure if lock file can't be opened for some reason
other than nonexistence.
Jim Meyering [Tue, 30 Jun 1998 03:56:57 +0000 (03:56 +0000)]
(read_filesystem_list) [MOUNTED_GETMNTENT2]:
Always close stream and file descriptor before returning.
Jim Meyering [Tue, 30 Jun 1998 02:15:43 +0000 (02:15 +0000)]
(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
to avoid race conditions (e.g. with the automounter on Solaris 2.6).
Include <errno.h>, <fcntl.h>, <unistd.h>.
Jim Meyering [Mon, 29 Jun 1998 20:29:28 +0000 (20:29 +0000)]
protoize
Jim Meyering [Mon, 29 Jun 1998 17:03:13 +0000 (17:03 +0000)]
.
Jim Meyering [Mon, 29 Jun 1998 17:01:48 +0000 (17:01 +0000)]
(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
Jim Meyering [Mon, 29 Jun 1998 16:57:09 +0000 (16:57 +0000)]
Include sys/param.h. NetBSD 1.3.1 requires this
for the definition of NGROUPS (used in a system header included
by sys/mount.h).