platform/upstream/coreutils.git
26 years ago.
Jim Meyering [Mon, 20 Jul 1998 03:58:24 +0000 (03:58 +0000)]
.

26 years ago.
Jim Meyering [Mon, 20 Jul 1998 03:58:04 +0000 (03:58 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 20 Jul 1998 03:57:59 +0000 (03:57 +0000)]
*** empty log message ***

26 years ago(copy_internal): Add another exclusion from the
Jim Meyering [Sun, 19 Jul 1998 04:14:52 +0000 (04:14 +0000)]
(copy_internal): Add another exclusion from the
sameness test: when --force has been specified, the destination
is unlinked before any copy.
(copy_internal): Add yet another: when both src and dest are symlinks.

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 14:06:38 +0000 (14:06 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:54:40 +0000 (13:54 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jul 1998 13:53:32 +0000 (13:53 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 18 Jul 1998 13:51:11 +0000 (13:51 +0000)]
.

26 years ago(TESTS): Add into-self-2.
Jim Meyering [Sat, 18 Jul 1998 13:16:43 +0000 (13:16 +0000)]
(TESTS): Add into-self-2.

26 years ago.
Jim Meyering [Sat, 18 Jul 1998 13:15:33 +0000 (13:15 +0000)]
.

26 years ago(read_filesystem_list): Fix more memory leaks on failure.
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.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:41:43 +0000 (23:41 +0000)]
*** empty log message ***

26 years agoInclude lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:41:03 +0000 (23:41 +0000)]
Include lchown.h.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:40:18 +0000 (23:40 +0000)]
*** empty log message ***

26 years ago(noinst_HEADERS): Add lchown.h.
Jim Meyering [Thu, 16 Jul 1998 23:26:50 +0000 (23:26 +0000)]
(noinst_HEADERS): Add lchown.h.

26 years agoinclude lchown.h
Jim Meyering [Thu, 16 Jul 1998 23:25:29 +0000 (23:25 +0000)]
include lchown.h

26 years ago.
Jim Meyering [Thu, 16 Jul 1998 23:23:05 +0000 (23:23 +0000)]
.

26 years ago[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:20:03 +0000 (23:20 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.

26 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jul 1998 23:14:30 +0000 (23:14 +0000)]
*** empty log message ***

26 years ago[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
Jim Meyering [Thu, 16 Jul 1998 23:12:25 +0000 (23:12 +0000)]
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.

26 years agoUpdate prototype.
Jim Meyering [Thu, 16 Jul 1998 23:02:19 +0000 (23:02 +0000)]
Update prototype.

26 years ago(safe_read): Change type of pointer parameter to
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.

26 years ago.
Jim Meyering [Thu, 16 Jul 1998 22:58:12 +0000 (22:58 +0000)]
.

26 years ago(check_format): Add `5' to the list of digits.
Jim Meyering [Wed, 15 Jul 1998 12:39:58 +0000 (12:39 +0000)]
(check_format): Add `5' to the list of digits.
Reported by Donni Erpel.

26 years ago.
Jim Meyering [Mon, 13 Jul 1998 00:33:36 +0000 (00:33 +0000)]
.

26 years agocheck: depend on maint_gen
Jim Meyering [Mon, 13 Jul 1998 00:31:49 +0000 (00:31 +0000)]
check: depend on maint_gen

26 years ago(print_header): Print "1k-blocks", not "1.0k-blocks".
Jim Meyering [Mon, 13 Jul 1998 00:17:57 +0000 (00:17 +0000)]
(print_header): Print "1k-blocks", not "1.0k-blocks".

26 years ago*** empty log message ***
Jim Meyering [Thu, 9 Jul 1998 14:29:22 +0000 (14:29 +0000)]
*** empty log message ***

26 years ago(jm_FUNC_CHOWN): Add a check to verify that the
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.

26 years ago*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:10:45 +0000 (01:10 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Wed, 8 Jul 1998 01:08:37 +0000 (01:08 +0000)]
*** empty log message ***

26 years agoRemove FCLOSE_UNLOCKED block.
Jim Meyering [Wed, 8 Jul 1998 01:07:39 +0000 (01:07 +0000)]
Remove FCLOSE_UNLOCKED block.

26 years agoRemove fclose_unlocked.
Jim Meyering [Wed, 8 Jul 1998 01:03:34 +0000 (01:03 +0000)]
Remove fclose_unlocked.

26 years ago(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.
Jim Meyering [Sun, 5 Jul 1998 00:25:10 +0000 (00:25 +0000)]
(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.
From Kaveh Ghazi.

26 years agoInclude stdio.h. Required on some systems when using assert.
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.

26 years agoUse cmp, not diff.
Jim Meyering [Sat, 4 Jul 1998 17:08:26 +0000 (17:08 +0000)]
Use cmp, not diff.
Reported by Kaveh Ghazi.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 16:46:04 +0000 (16:46 +0000)]
*** empty log message ***

26 years agobump serial number
Jim Meyering [Sat, 4 Jul 1998 16:45:52 +0000 (16:45 +0000)]
bump serial number

26 years agoUse syscmd, ifelse, and sysval. Mainly as an exercise
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.

26 years agotweak comment
Jim Meyering [Sat, 4 Jul 1998 15:46:38 +0000 (15:46 +0000)]
tweak comment

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 15:14:46 +0000 (15:14 +0000)]
.

26 years agoRemove #ifdef around <regex.h> inclusion.
Jim Meyering [Sat, 4 Jul 1998 14:45:29 +0000 (14:45 +0000)]
Remove #ifdef around <regex.h> inclusion.

26 years agoRemove #ifdef around <regex.h> inclusion.
Jim Meyering [Sat, 4 Jul 1998 14:45:12 +0000 (14:45 +0000)]
Remove #ifdef around <regex.h> inclusion.
(extract_regexp): Remove #if !WITH_REGEX...#endif block.

26 years ago*** empty log message *** FILEUTILS-3_16r
Jim Meyering [Sat, 4 Jul 1998 04:10:28 +0000 (04:10 +0000)]
*** empty log message ***

26 years agoadd warning
Jim Meyering [Sat, 4 Jul 1998 04:07:55 +0000 (04:07 +0000)]
add warning

26 years ago(remove_dir): Use fprintf, not error to avoid newline in prompt.
Jim Meyering [Sat, 4 Jul 1998 03:59:34 +0000 (03:59 +0000)]
(remove_dir): Use fprintf, not error to avoid newline in prompt.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 03:43:50 +0000 (03:43 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 03:42:40 +0000 (03:42 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 03:17:08 +0000 (03:17 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 01:46:33 +0000 (01:46 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 01:46:23 +0000 (01:46 +0000)]
*** empty log message ***

26 years agouse $jm_with_regex, now $WITH_REGEX
Jim Meyering [Sat, 4 Jul 1998 01:46:01 +0000 (01:46 +0000)]
use $jm_with_regex, now $WITH_REGEX

26 years agoremove ifdef around inclusion of regex.h altogether!!
Jim Meyering [Sat, 4 Jul 1998 01:44:01 +0000 (01:44 +0000)]
remove ifdef around inclusion of regex.h altogether!!

26 years agoadd 100 to serial number
Jim Meyering [Sat, 4 Jul 1998 01:38:14 +0000 (01:38 +0000)]
add 100 to serial number

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 01:33:27 +0000 (01:33 +0000)]
.

26 years ago(noinst_HEADERS): Add regex.h.
Jim Meyering [Sat, 4 Jul 1998 01:33:19 +0000 (01:33 +0000)]
(noinst_HEADERS): Add regex.h.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:53:46 +0000 (00:53 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:53:38 +0000 (00:53 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:48:49 +0000 (00:48 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:48:15 +0000 (00:48 +0000)]
.

26 years ago(read_filesystem_list):
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.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:41:16 +0000 (00:41 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:40:52 +0000 (00:40 +0000)]
*** empty log message ***

26 years ago(AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used.
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.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:35:27 +0000 (00:35 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:23:40 +0000 (00:23 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:22:39 +0000 (00:22 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:20:47 +0000 (00:20 +0000)]
.

26 years agoRequire jm_WITH_REGEX.
Jim Meyering [Sat, 4 Jul 1998 00:20:36 +0000 (00:20 +0000)]
Require jm_WITH_REGEX.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:19:23 +0000 (00:19 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:19:08 +0000 (00:19 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jul 1998 00:17:52 +0000 (00:17 +0000)]
*** empty log message ***

26 years agoChange guard on <regex.h> inclusion to use new
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.

26 years ago.
Jim Meyering [Sat, 4 Jul 1998 00:05:23 +0000 (00:05 +0000)]
.

26 years ago(copy_internal): Rename variable and reverse sense of tests
Jim Meyering [Fri, 3 Jul 1998 23:56:44 +0000 (23:56 +0000)]
(copy_internal): Rename variable and reverse sense of tests
to make the code a little clearer.

26 years ago(df_readable): Rename local so as not to shadow global.
Jim Meyering [Fri, 3 Jul 1998 21:05:06 +0000 (21:05 +0000)]
(df_readable): Rename local so as not to shadow global.

26 years ago(SAME_INODE): New macro.
Jim Meyering [Fri, 3 Jul 1998 20:57:31 +0000 (20:57 +0000)]
(SAME_INODE): New macro.
Use it to replace open-coded equivalents.

26 years ago(copy_internal): Try harder identifying a relative
Jim Meyering [Fri, 3 Jul 1998 20:32:37 +0000 (20:32 +0000)]
(copy_internal): Try harder identifying a relative
symbolic link in the current directory.
From Andreas Schwab.

26 years agoSkip tests that depend on link(2) not following symlinks.
Jim Meyering [Fri, 3 Jul 1998 20:09:03 +0000 (20:09 +0000)]
Skip tests that depend on link(2) not following symlinks.
From Andreas Schwab.

26 years ago(copy_internal): Don't skip test for same file if creating a hardlink
Jim Meyering [Fri, 3 Jul 1998 20:06:50 +0000 (20:06 +0000)]
(copy_internal): Don't skip test for same file if creating a hardlink
from symlink over a non-symlink while making backups.

26 years ago(copy_internal): Don't call chown on a symlink.
Jim Meyering [Fri, 3 Jul 1998 19:57:42 +0000 (19:57 +0000)]
(copy_internal): Don't call chown on a symlink.

26 years ago*** empty log message ***
Jim Meyering [Wed, 1 Jul 1998 12:46:39 +0000 (12:46 +0000)]
*** empty log message ***

26 years agoDon't define NDEBUG, now that it's done via configure's --disable-assert option.
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.

26 years ago(read_filesystem_list):
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.

26 years ago*** empty log message ***
Jim Meyering [Tue, 30 Jun 1998 14:32:33 +0000 (14:32 +0000)]
*** empty log message ***

26 years ago. FILEUTILS-3_16q
Jim Meyering [Tue, 30 Jun 1998 03:57:55 +0000 (03:57 +0000)]
.

26 years ago(read_filesystem_list) [MOUNTED_GETMNTENT2]:
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.

26 years ago(main): Move the test of the result of the read_filesystem_list call
Jim Meyering [Tue, 30 Jun 1998 02:27:51 +0000 (02:27 +0000)]
(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.

26 years ago(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
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>.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 20:34:02 +0000 (20:34 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 20:33:24 +0000 (20:33 +0000)]
.

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 20:32:36 +0000 (20:32 +0000)]
.

26 years agoprotoize
Jim Meyering [Mon, 29 Jun 1998 20:29:28 +0000 (20:29 +0000)]
protoize

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 17:35:28 +0000 (17:35 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 17:31:11 +0000 (17:31 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 17:19:30 +0000 (17:19 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 29 Jun 1998 17:03:13 +0000 (17:03 +0000)]
.

26 years ago(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.
Jim Meyering [Mon, 29 Jun 1998 17:01:48 +0000 (17:01 +0000)]
(fstype_to_string): Guard with #if ! HAVE_F_FSTYPENAME_IN_STATFS.

26 years agoInclude sys/param.h. NetBSD 1.3.1 requires this
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).

26 years ago*** empty log message ***
Jim Meyering [Mon, 29 Jun 1998 16:24:37 +0000 (16:24 +0000)]
*** empty log message ***