Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 3cc80de466 . 1998-07-04 15:14:46 +00:00
Jim Meyering 52fa9ac235 Remove #ifdef around <regex.h> inclusion. 1998-07-04 14:45:29 +00:00
Jim Meyering 9b809393be Remove #ifdef around <regex.h> inclusion.
(extract_regexp): Remove #if !WITH_REGEX...#endif block.
1998-07-04 14:45:12 +00:00
Jim Meyering 610567e17f *** empty log message *** FILEUTILS-3_16r 1998-07-04 04:10:28 +00:00
Jim Meyering ad4e506e0f add warning 1998-07-04 04:07:55 +00:00
Jim Meyering 4475ffda48 (remove_dir): Use fprintf, not error to avoid newline in prompt. 1998-07-04 03:59:34 +00:00
Jim Meyering 1b23f5094d *** empty log message *** 1998-07-04 03:43:50 +00:00
Jim Meyering 02f917c543 . 1998-07-04 03:42:40 +00:00
Jim Meyering 60a6e7be26 *** empty log message *** 1998-07-04 03:17:08 +00:00
Jim Meyering 8133377948 . 1998-07-04 01:46:33 +00:00
Jim Meyering 1df5503ccf *** empty log message *** 1998-07-04 01:46:23 +00:00
Jim Meyering e9a5c7551c use $jm_with_regex, now $WITH_REGEX 1998-07-04 01:46:01 +00:00
Jim Meyering adfde62439 remove ifdef around inclusion of regex.h altogether!! 1998-07-04 01:44:01 +00:00
Jim Meyering 4b05962106 add 100 to serial number 1998-07-04 01:38:14 +00:00
Jim Meyering df142feab8 . 1998-07-04 01:33:27 +00:00
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