platform/upstream/coreutils.git
24 years ago(gobble_file): If not using long format, don't invoke acl; it's not needed.
Jim Meyering [Sun, 31 Dec 2000 08:33:49 +0000 (08:33 +0000)]
(gobble_file): If not using long format, don't invoke acl; it's not needed.

24 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 08:30:28 +0000 (08:30 +0000)]
*** empty log message ***

24 years agoAvoid an unnecessary `stat' when using --dereference.
Jim Meyering [Sun, 31 Dec 2000 08:29:17 +0000 (08:29 +0000)]
Avoid an unnecessary `stat' when using --dereference.

(same_file_ok): Use stat only if lstat reported that
the file was a symbolic link.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Dec 2000 16:51:42 +0000 (16:51 +0000)]
*** empty log message ***

24 years agoappend-only directories -> restricted deletion flag,
Jim Meyering [Sat, 30 Dec 2000 16:51:24 +0000 (16:51 +0000)]
append-only directories -> restricted deletion flag,
which is the term that POSIX d5 uses for this notion.

24 years ago*** empty log message ***
Jim Meyering [Fri, 29 Dec 2000 10:32:33 +0000 (10:32 +0000)]
*** empty log message ***

24 years agoDo not assume that mode_t uses the
Jim Meyering [Fri, 29 Dec 2000 10:32:09 +0000 (10:32 +0000)]
Do not assume that mode_t uses the
traditional octal encoding.  E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.

(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.

24 years ago*** empty log message ***
Jim Meyering [Fri, 29 Dec 2000 08:58:38 +0000 (08:58 +0000)]
*** empty log message ***

24 years agoTry /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.
Jim Meyering [Fri, 29 Dec 2000 08:58:25 +0000 (08:58 +0000)]
Try /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.

24 years ago.
Jim Meyering [Thu, 28 Dec 2000 14:43:13 +0000 (14:43 +0000)]
.

24 years agoRun sticky-check from just-created directory.
Jim Meyering [Thu, 28 Dec 2000 14:40:15 +0000 (14:40 +0000)]
Run sticky-check from just-created directory.

24 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 13:35:28 +0000 (13:35 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Thu, 28 Dec 2000 13:17:02 +0000 (13:17 +0000)]
.

24 years agotweak comment
Jim Meyering [Thu, 28 Dec 2000 11:52:28 +0000 (11:52 +0000)]
tweak comment

24 years agotweak comment
Jim Meyering [Thu, 28 Dec 2000 11:31:44 +0000 (11:31 +0000)]
tweak comment

24 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 11:23:55 +0000 (11:23 +0000)]
*** empty log message ***

24 years ago(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Jim Meyering [Thu, 28 Dec 2000 11:22:59 +0000 (11:22 +0000)]
(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.

24 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 09:53:58 +0000 (09:53 +0000)]
*** empty log message ***

24 years ago(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Jim Meyering [Thu, 28 Dec 2000 09:53:34 +0000 (09:53 +0000)]
(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.

24 years ago(same_file_ok): Use a single auto var for
Jim Meyering [Thu, 28 Dec 2000 09:42:06 +0000 (09:42 +0000)]
(same_file_ok): Use a single auto var for
tmp_dst_sb, instead of two static vars.
Likewise for tmp_src_sb.

24 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 09:41:39 +0000 (09:41 +0000)]
*** empty log message ***

24 years ago. FILEUTILS-4_0_35
Jim Meyering [Wed, 27 Dec 2000 10:05:05 +0000 (10:05 +0000)]
.

24 years ago.
Jim Meyering [Wed, 27 Dec 2000 07:47:08 +0000 (07:47 +0000)]
.

24 years ago.
Jim Meyering [Wed, 27 Dec 2000 07:46:47 +0000 (07:46 +0000)]
.

24 years agouse AC_DEFINE_UNQUOTED
Jim Meyering [Wed, 27 Dec 2000 07:46:35 +0000 (07:46 +0000)]
use AC_DEFINE_UNQUOTED

24 years ago(jm_AC_DOS): Rewrite (though it's still a stub) to work better with autoheader.
Jim Meyering [Tue, 26 Dec 2000 18:57:53 +0000 (18:57 +0000)]
(jm_AC_DOS): Rewrite (though it's still a stub) to work better with autoheader.

24 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 11:34:34 +0000 (11:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 09:39:17 +0000 (09:39 +0000)]
*** empty log message ***

24 years agotweak comment, white space
Jim Meyering [Tue, 26 Dec 2000 09:36:36 +0000 (09:36 +0000)]
tweak comment, white space

24 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 08:51:59 +0000 (08:51 +0000)]
*** empty log message ***

24 years agoDisable the test if the working directory has the sticky bit set.
Jim Meyering [Tue, 26 Dec 2000 08:51:51 +0000 (08:51 +0000)]
Disable the test if the working directory has the sticky bit set.

24 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 08:43:15 +0000 (08:43 +0000)]
*** empty log message ***

24 years agoDisable the test if the working directory has the sticky bit set.
Jim Meyering [Tue, 26 Dec 2000 08:43:03 +0000 (08:43 +0000)]
Disable the test if the working directory has the sticky bit set.

24 years agoadd omitted semicolon
Jim Meyering [Mon, 25 Dec 2000 18:51:58 +0000 (18:51 +0000)]
add omitted semicolon

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 18:38:19 +0000 (18:38 +0000)]
*** empty log message ***

24 years ago(same_file_ok): Remove declaration and set of unused
Jim Meyering [Mon, 25 Dec 2000 18:35:16 +0000 (18:35 +0000)]
(same_file_ok): Remove declaration and set of unused
variables: src_sb_no_link, dst_sb_no_link.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 18:31:25 +0000 (18:31 +0000)]
*** empty log message ***

24 years agoAdd a test for this (for all of cp, mv, ln, install).
Jim Meyering [Mon, 25 Dec 2000 18:31:18 +0000 (18:31 +0000)]
Add a test for this (for all of cp, mv, ln, install).

24 years agoFor both ln and install, when using `--backup=simple --suffix=S',
Jim Meyering [Mon, 25 Dec 2000 11:07:20 +0000 (11:07 +0000)]
For both ln and install, when using `--backup=simple --suffix=S',
the suffix `S' wasn't used.

(main): Actually use the local variable, `backup_suffix_string'.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:45:20 +0000 (10:45 +0000)]
*** empty log message ***

24 years ago(hash_compare_active_dir_ents): Return explicit `true'
Jim Meyering [Mon, 25 Dec 2000 10:45:10 +0000 (10:45 +0000)]
(hash_compare_active_dir_ents): Return explicit `true'
or `false', rather than relying on implicit int-to-enum cast.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:41:52 +0000 (10:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:40:42 +0000 (10:40 +0000)]
*** empty log message ***

24 years ago(extract_dirs_from_files): Remove unused variable.
Jim Meyering [Mon, 25 Dec 2000 10:39:04 +0000 (10:39 +0000)]
(extract_dirs_from_files): Remove unused variable.
(gobble_file): Move decl of local, val, into the scope where it's used.

24 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 18:02:18 +0000 (18:02 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 17:58:16 +0000 (17:58 +0000)]
*** empty log message ***

24 years ago(main): Actually use the local variable, `backup_suffix_string'.
Jim Meyering [Sun, 24 Dec 2000 17:56:51 +0000 (17:56 +0000)]
(main): Actually use the local variable, `backup_suffix_string'.

24 years agowhoops
Jim Meyering [Sun, 24 Dec 2000 17:53:05 +0000 (17:53 +0000)]
whoops

24 years agodetect ln simple backup bug
Jim Meyering [Sun, 24 Dec 2000 13:49:29 +0000 (13:49 +0000)]
detect ln simple backup bug

24 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 10:06:00 +0000 (10:06 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 09:39:04 +0000 (09:39 +0000)]
*** empty log message ***

24 years agoUpdate to version 1.24.
Jim Meyering [Sun, 24 Dec 2000 09:34:17 +0000 (09:34 +0000)]
Update to version 1.24.

24 years ago(is_prime): Return explicit boolean values.
Jim Meyering [Sun, 24 Dec 2000 07:12:21 +0000 (07:12 +0000)]
(is_prime): Return explicit boolean values.
(hash_get_first): Return NULL to appease Irix5.6's 89.

24 years ago. TEXTUTILS-2_0_11
Jim Meyering [Sat, 23 Dec 2000 10:44:25 +0000 (10:44 +0000)]
.

24 years ago[HAVE_INTTYPES_H]: Include <inttypes.h>. FILEUTILS-4_0_34
Jim Meyering [Sat, 23 Dec 2000 10:43:33 +0000 (10:43 +0000)]
[HAVE_INTTYPES_H]: Include <inttypes.h>.

24 years ago*** empty log message ***
Jim Meyering [Fri, 22 Dec 2000 22:45:32 +0000 (22:45 +0000)]
*** empty log message ***

24 years ago(isaac_seed_machdep) [_ARCH_PPC]: Disable the code
Jim Meyering [Fri, 22 Dec 2000 22:44:30 +0000 (22:44 +0000)]
(isaac_seed_machdep) [_ARCH_PPC]: Disable the code
that would use the PPC mfspr `asm' code.

24 years ago.
Jim Meyering [Tue, 19 Dec 2000 11:06:05 +0000 (11:06 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 10:51:39 +0000 (10:51 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Tue, 19 Dec 2000 10:50:31 +0000 (10:50 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 10:37:30 +0000 (10:37 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Tue, 19 Dec 2000 10:25:15 +0000 (10:25 +0000)]
.

24 years ago.
Jim Meyering [Tue, 19 Dec 2000 10:25:15 +0000 (10:25 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 09:23:47 +0000 (09:23 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Tue, 19 Dec 2000 09:23:09 +0000 (09:23 +0000)]
.

24 years ago(UINTMAX_MAX): New macro, taken from C99.
Jim Meyering [Tue, 19 Dec 2000 09:22:24 +0000 (09:22 +0000)]
(UINTMAX_MAX): New macro, taken from C99.

24 years agoadjust indentation
Jim Meyering [Tue, 19 Dec 2000 09:21:42 +0000 (09:21 +0000)]
adjust indentation

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 09:16:39 +0000 (09:16 +0000)]
*** empty log message ***

24 years agoInclude physmem.h.
Jim Meyering [Tue, 19 Dec 2000 09:16:28 +0000 (09:16 +0000)]
Include physmem.h.
(SORTALLOC, mergealloc, LINEALLOC): Remove.
(sortalloc): Default to zero at program startup.
(SORTALLOC_MIN, SORTALLOC_DEFAULT_MIN): New macros.
(usage, main): Add support for new -S SIZE option.
(specify_sort_size, default_sort_size): New functions.
(initlines): Do not let alloc exceed limit.
(findlines): Likewise.
(checkfp, mergefps, sort): Use sortalloc to size everything
else, instead of relying on precomputed sizes.

24 years agoNew "sort" option -S SIZE.
Jim Meyering [Tue, 19 Dec 2000 08:40:54 +0000 (08:40 +0000)]
New "sort" option -S SIZE.

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 08:36:53 +0000 (08:36 +0000)]
*** empty log message ***

24 years ago(libfetish_a_SOURCES): Add physmem.c.
Jim Meyering [Tue, 19 Dec 2000 08:36:39 +0000 (08:36 +0000)]
(libfetish_a_SOURCES): Add physmem.c.
(noinst_HEADERS): Add physmem.h.

24 years ago(__xstrtol): Add undocumented suffixes 'g' and
Jim Meyering [Tue, 19 Dec 2000 08:35:20 +0000 (08:35 +0000)]
(__xstrtol): Add undocumented suffixes 'g' and
't' for compatibility with Solaris 8 sort.

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 08:22:18 +0000 (08:22 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 08:16:25 +0000 (08:16 +0000)]
*** empty log message ***

24 years ago(locale_charset): Add support for Win32.
Jim Meyering [Tue, 19 Dec 2000 08:16:09 +0000 (08:16 +0000)]
(locale_charset): Add support for Win32.

24 years ago.
Jim Meyering [Mon, 18 Dec 2000 23:43:27 +0000 (23:43 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 18 Dec 2000 23:04:34 +0000 (23:04 +0000)]
*** empty log message ***

24 years agoAdd support for BeOS.
Jim Meyering [Mon, 18 Dec 2000 23:04:28 +0000 (23:04 +0000)]
Add support for BeOS.

24 years agothese macros take arguments
Jim Meyering [Sun, 17 Dec 2000 09:26:55 +0000 (09:26 +0000)]
these macros take arguments

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Dec 2000 09:23:05 +0000 (09:23 +0000)]
*** empty log message ***

24 years ago(jm_AC_DOS): New file and macro.
Jim Meyering [Sun, 17 Dec 2000 09:22:56 +0000 (09:22 +0000)]
(jm_AC_DOS): New file and macro.

24 years ago(jm_MACROS): Require jm_AC_DOS.
Jim Meyering [Sun, 17 Dec 2000 09:22:17 +0000 (09:22 +0000)]
(jm_MACROS): Require jm_AC_DOS.

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Dec 2000 00:19:05 +0000 (00:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Dec 2000 00:18:50 +0000 (00:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Dec 2000 00:17:26 +0000 (00:17 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Dec 2000 00:17:03 +0000 (00:17 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 17 Dec 2000 00:15:02 +0000 (00:15 +0000)]
.

24 years agoUpdate from master repository.
Jim Meyering [Sun, 17 Dec 2000 00:14:40 +0000 (00:14 +0000)]
Update from master repository.

24 years ago.
Jim Meyering [Sat, 16 Dec 2000 23:35:38 +0000 (23:35 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Dec 2000 22:27:18 +0000 (22:27 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Dec 2000 22:26:23 +0000 (22:26 +0000)]
*** empty log message ***

24 years ago[!SHELLS_FILE && __DJGPP__]: Define
Jim Meyering [Sat, 16 Dec 2000 22:25:44 +0000 (22:25 +0000)]
[!SHELLS_FILE && __DJGPP__]: Define
SHELLS_FILE to a file name that's useful on djgpp systems.
Include stdlib.h.
(ADDITIONAL_DEFAULT_SHELLS): Define.
(default_shells): Prepend ADDITIONAL_DEFAULT_SHELLS.
Based mostly on a patch from Prashant TR.

24 years ago.
Jim Meyering [Sat, 16 Dec 2000 18:53:08 +0000 (18:53 +0000)]
.

24 years ago(uint_to_string): New function.
Jim Meyering [Sat, 16 Dec 2000 18:52:58 +0000 (18:52 +0000)]
(uint_to_string): New function.
(uid_to_name): Use it.
(gid_to_name): Use it.
Rename locals, user/group, to uid/gid.

24 years ago(enum Change_status): Start with 1.
Jim Meyering [Sat, 16 Dec 2000 18:47:43 +0000 (18:47 +0000)]
(enum Change_status): Start with 1.

24 years ago.
Jim Meyering [Sat, 16 Dec 2000 14:49:25 +0000 (14:49 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Dec 2000 13:41:40 +0000 (13:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Dec 2000 13:40:37 +0000 (13:40 +0000)]
*** empty log message ***

24 years agoThis bug had a serious impact on chown: `chown N:M FILE' (for integer
Jim Meyering [Sat, 16 Dec 2000 13:28:13 +0000 (13:28 +0000)]
This bug had a serious impact on chown: `chown N:M FILE' (for integer
N and M) would have treated it like `chown N:N FILE'.
(parse_user_spec): Fix typo: s/u/g/.