Commit Graph
5223 Commits
Author SHA1 Message Date
Jim Meyering b2aff777b1 (noinst_HEADERS): Add regex.h. 1998-07-04 01:33:19 +00:00
Jim Meyering b793f241f4 . 1998-07-04 00:53:46 +00:00
Jim Meyering ad22b83e45 *** empty log message *** 1998-07-04 00:53:38 +00:00
Jim Meyering c71fc5f18e . 1998-07-04 00:48:49 +00:00
Jim Meyering 3e13b5e49d . 1998-07-04 00:48:15 +00:00
Jim Meyering 8f55e63084 (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.
1998-07-04 00:48:11 +00:00
Jim Meyering 2eb479a682 . 1998-07-04 00:41:16 +00:00
Jim Meyering ec65e39e6f *** empty log message *** 1998-07-04 00:40:52 +00:00
Jim Meyering bedf44ba83 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used. 1998-07-04 00:39:41 +00:00
Jim Meyering 0cb0cc4e2f . 1998-07-04 00:35:27 +00:00
Jim Meyering aee16a6664 . 1998-07-04 00:23:40 +00:00
Jim Meyering 93d47b3db9 . 1998-07-04 00:22:39 +00:00
Jim Meyering 18c222c5b5 . 1998-07-04 00:20:47 +00:00
Jim Meyering bb01a24be5 Require jm_WITH_REGEX. 1998-07-04 00:20:36 +00:00
Jim Meyering 1ccc979847 . 1998-07-04 00:19:23 +00:00
Jim Meyering ad1d74e973 *** empty log message *** 1998-07-04 00:19:08 +00:00
Jim Meyering 0142ca7d96 *** empty log message *** 1998-07-04 00:17:52 +00:00
Jim Meyering bcfa9cbbd7 Change guard on <regex.h> inclusion to use new
symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
1998-07-04 00:15:37 +00:00
Jim Meyering 6c93489171 . 1998-07-04 00:05:23 +00:00
Jim Meyering 345c323ffd (copy_internal): Rename variable and reverse sense of tests
to make the code a little clearer.
1998-07-03 23:56:44 +00:00
Jim Meyering 1f682431ae (df_readable): Rename local so as not to shadow global. 1998-07-03 21:05:06 +00:00
Jim Meyering 698a43f363 (SAME_INODE): New macro.
Use it to replace open-coded equivalents.
1998-07-03 20:57:31 +00:00
Jim Meyering def9c2bf0b (copy_internal): Try harder identifying a relative
symbolic link in the current directory.
From Andreas Schwab.
1998-07-03 20:32:37 +00:00
Jim Meyering 6191d1839a Skip tests that depend on link(2) not following symlinks.
From Andreas Schwab.
1998-07-03 20:09:03 +00:00
Jim Meyering 184870f9bb (copy_internal): Don't skip test for same file if creating a hardlink
from symlink over a non-symlink while making backups.
1998-07-03 20:06:50 +00:00
Jim Meyering 6ccae5e2d8 (copy_internal): Don't call chown on a symlink. 1998-07-03 19:57:42 +00:00
Jim Meyering 31f6e2b228 *** empty log message *** 1998-07-01 12:46:39 +00:00
Jim Meyering d05618c5c2 Don't define NDEBUG, now that it's done via configure's --disable-assert option. 1998-07-01 12:44:22 +00:00
Jim Meyering 7a314199db (read_filesystem_list):
Plug file descriptor leak on failure.
Report failure if lock file can't be opened for some reason
other than nonexistence.
1998-06-30 14:32:53 +00:00
Jim Meyering 837a447ba4 *** empty log message *** 1998-06-30 14:32:33 +00:00
Jim Meyering 5d2bbddf97 . FILEUTILS-3_16q 1998-06-30 03:57:55 +00:00
Jim Meyering 6dda2aaa52 (read_filesystem_list) [MOUNTED_GETMNTENT2]:
Always close stream and file descriptor before returning.
1998-06-30 03:56:57 +00:00
Jim Meyering 3fa1d4bb24 (main): Move the test of the result of the read_filesystem_list call
up out of if-block -- code in the else-block depends on it too.
1998-06-30 02:27:51 +00:00
Jim Meyering 1c84606b56 (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>.
1998-06-30 02:15:43 +00:00
Jim Meyering b1b273f24f *** empty log message *** 1998-06-29 20:34:02 +00:00
Jim Meyering e211d3960f . 1998-06-29 20:33:24 +00:00
Jim Meyering 9282f5f8a6 . 1998-06-29 20:32:36 +00:00
Jim Meyering 1d2074e02a protoize 1998-06-29 20:29:28 +00:00
Jim Meyering 8dce8df49a . 1998-06-29 17:35:28 +00:00
Jim Meyering 4d4b2c8e5e *** empty log message *** 1998-06-29 17:31:11 +00:00
Jim Meyering a72bab1a32 *** empty log message *** 1998-06-29 17:19:30 +00:00
Jim Meyering affbb977af . 1998-06-29 17:03:13 +00:00
Jim Meyering aa1c5467ec (fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS. 1998-06-29 17:01:48 +00:00
Jim Meyering 435fa5a7dd 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).
1998-06-29 16:57:09 +00:00
Jim Meyering b7441176e3 *** empty log message *** 1998-06-29 16:24:37 +00:00
Jim Meyering f3c14cb59f revert back to using lower case _unlocked wrapper names 1998-06-29 16:24:01 +00:00
Jim Meyering 8ba97d963e Include system.h only after error.h and readutmp.h
so we don't get redefinition warnings about getc, etc.
Revert back to using lower case _unlocked wrapper names.
1998-06-29 16:23:15 +00:00
Jim Meyering 223e88f957 *** empty log message *** 1998-06-29 16:16:58 +00:00
Jim Meyering 83d4b736d2 revert back to using lower case _unlocked wrapper names 1998-06-29 15:59:39 +00:00
Jim Meyering 257c5c4737 revert back to using lower case _unlocked wrapper names 1998-06-29 15:57:45 +00:00