platform/upstream/coreutils.git
21 years agoRather than simply using the first non-root
Jim Meyering [Sat, 8 Mar 2003 16:43:43 +0000 (16:43 +0000)]
Rather than simply using the first non-root
username, make sure that the selected user name has a usable shell.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 15:47:57 +0000 (15:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 15:32:23 +0000 (15:32 +0000)]
*** empty log message ***

21 years agoAlso check for the log_user method, to avoid
Jim Meyering [Sat, 8 Mar 2003 15:32:17 +0000 (15:32 +0000)]
Also check for the log_user method, to avoid
spurious failure when using an old version of Expect.pm (e.g., 1.07).
Reported by Bob Proulx.

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 14:32:57 +0000 (14:32 +0000)]
.

21 years agoRemove now-unused #include and #define directives.
Jim Meyering [Sat, 8 Mar 2003 14:30:28 +0000 (14:30 +0000)]
Remove now-unused #include and #define directives.

21 years ago(check-misc): Check for use of `defined' in #define directives.
Jim Meyering [Sat, 8 Mar 2003 14:30:14 +0000 (14:30 +0000)]
(check-misc): Check for use of `defined' in #define directives.
Change to $(srcdir) before running grep.

21 years agoDon't use `defined' in a #define directive.
Jim Meyering [Sat, 8 Mar 2003 14:26:48 +0000 (14:26 +0000)]
Don't use `defined' in a #define directive.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:28:41 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 10:27:19 +0000 (10:27 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:26:32 +0000 (10:26 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:25:25 +0000 (10:25 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 10:24:00 +0000 (10:24 +0000)]
.

21 years agoEnsure that hard links _are_ listed twice when using --count-links.
Jim Meyering [Sat, 8 Mar 2003 10:23:45 +0000 (10:23 +0000)]
Ensure that hard links _are_ listed twice when using --count-links.

21 years ago(process_file): If a file's size is not being counted
Jim Meyering [Sat, 8 Mar 2003 10:21:19 +0000 (10:21 +0000)]
(process_file): If a file's size is not being counted
e.g., because it's a hard link to a file we've already counted,
then don't print a line for it.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:18:26 +0000 (10:18 +0000)]
*** empty log message ***

21 years ago`du -S' didn't work
Jim Meyering [Sat, 8 Mar 2003 10:18:19 +0000 (10:18 +0000)]
`du -S' didn't work

Revert most of the `reorganization' change of 2003-02-20,
and make the two-array approach work.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:14:33 +0000 (10:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:59 +0000 (10:10 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:09 +0000 (10:10 +0000)]
*** empty log message ***

21 years ago(TESTS): Add hard-link.
Jim Meyering [Sat, 8 Mar 2003 09:56:14 +0000 (09:56 +0000)]
(TESTS): Add hard-link.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 09:50:12 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 09:48:27 +0000 (09:48 +0000)]
.

21 years agoCorrect/add tests for the above fix.
Jim Meyering [Sat, 8 Mar 2003 08:39:07 +0000 (08:39 +0000)]
Correct/add tests for the above fix.
Set LC_ALL, etc, now that we use sort.
Check the block/size of a small file, too.
Correct expected results for simple dir1/dir2/file case.
Add another test of du -S.

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 23:48:40 +0000 (23:48 +0000)]
.

21 years agoremove mmap-stack.c
Jim Meyering [Fri, 7 Mar 2003 23:43:09 +0000 (23:43 +0000)]
remove mmap-stack.c

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:42:35 +0000 (23:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 23:37:10 +0000 (23:37 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:36:49 +0000 (23:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:26:35 +0000 (23:26 +0000)]
*** empty log message ***

21 years ago(print_it): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:24:53 +0000 (23:24 +0000)]
(print_it): Use putchar, not fputs, to output a single character.

21 years ago(dired_dump_obstack): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:22:54 +0000 (23:22 +0000)]
(dired_dump_obstack): Use putchar, not fputs, to output a single character.

21 years ago(usage): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:22:14 +0000 (23:22 +0000)]
(usage): Use putchar, not fputs, to output a single character.

21 years ago(output_one_tex_line, output_one_dumb_line):
Jim Meyering [Fri, 7 Mar 2003 23:21:45 +0000 (23:21 +0000)]
(output_one_tex_line, output_one_dumb_line):
Use putchar, not fputs, to output a single character.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 20:01:46 +0000 (20:01 +0000)]
*** empty log message ***

21 years agoRemove everything associated with mmap-stack.c.
Jim Meyering [Fri, 7 Mar 2003 20:01:35 +0000 (20:01 +0000)]
Remove everything associated with mmap-stack.c.
This reverts the two changes of 2003-02-21.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 19:53:59 +0000 (19:53 +0000)]
*** empty log message ***

21 years agoDon't require AC_SYS_MMAP_STACK.
Jim Meyering [Fri, 7 Mar 2003 19:52:19 +0000 (19:52 +0000)]
Don't require AC_SYS_MMAP_STACK.

21 years ago(AC_LANG_SOURCE(C)): New macro.
Jim Meyering [Fri, 7 Mar 2003 19:52:03 +0000 (19:52 +0000)]
(AC_LANG_SOURCE(C)): New macro.

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 19:51:00 +0000 (19:51 +0000)]
.

21 years ago(libfetish_a_SOURCES): Remove mmap-stack.h.
Jim Meyering [Fri, 7 Mar 2003 19:49:56 +0000 (19:49 +0000)]
(libfetish_a_SOURCES): Remove mmap-stack.h.

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 19:49:20 +0000 (19:49 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 19:47:24 +0000 (19:47 +0000)]
*** empty log message ***

21 years agoRemove everything associated with mmap-stack.c.
Jim Meyering [Fri, 7 Mar 2003 19:47:18 +0000 (19:47 +0000)]
Remove everything associated with mmap-stack.c.
This reverts the change of 2003-02-19.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 13:01:02 +0000 (13:01 +0000)]
*** empty log message ***

21 years agoTest the -S option using a hierarchy containing files, too,
Jim Meyering [Fri, 7 Mar 2003 12:59:30 +0000 (12:59 +0000)]
Test the -S option using a hierarchy containing files, too,
not just directories.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 10:16:50 +0000 (10:16 +0000)]
*** empty log message ***

21 years ago#undef getcwd only after *all* included header files.
Jim Meyering [Fri, 7 Mar 2003 10:13:55 +0000 (10:13 +0000)]
#undef getcwd only after *all* included header files.
Declare getcwd unconditionally.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 09:57:33 +0000 (09:57 +0000)]
*** empty log message ***

21 years ago(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
Jim Meyering [Fri, 7 Mar 2003 09:57:29 +0000 (09:57 +0000)]
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 09:52:34 +0000 (09:52 +0000)]
*** empty log message ***

21 years ago(same_name): Remove unnecessary inclusion of config.h.
Jim Meyering [Fri, 7 Mar 2003 09:52:28 +0000 (09:52 +0000)]
(same_name): Remove unnecessary inclusion of config.h.
It also happened to lead to infinite recursion in getcwd.c.
(PARAMS): Remove definition and use.

21 years agoundo last change
Jim Meyering [Thu, 6 Mar 2003 22:24:06 +0000 (22:24 +0000)]
undo last change

21 years ago#undef getcwd before including system headers.
Jim Meyering [Thu, 6 Mar 2003 22:23:26 +0000 (22:23 +0000)]
#undef getcwd before including system headers.
This avoid a build failure on IRIX 6.5.  Reported by Nelson Beebe.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 22:04:54 +0000 (22:04 +0000)]
*** empty log message ***

21 years ago[!HAVE_DECL_GETCWD]: Declare getcwd.
Jim Meyering [Thu, 6 Mar 2003 22:04:45 +0000 (22:04 +0000)]
[!HAVE_DECL_GETCWD]: Declare getcwd.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 22:04:23 +0000 (22:04 +0000)]
*** empty log message ***

21 years ago(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
Jim Meyering [Thu, 6 Mar 2003 22:04:19 +0000 (22:04 +0000)]
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 14:14:22 +0000 (14:14 +0000)]
*** empty log message ***

21 years agoFix a bug that causes du to dump core on 64-bit systems.
Jim Meyering [Thu, 6 Mar 2003 14:14:16 +0000 (14:14 +0000)]
Fix a bug that causes du to dump core on 64-bit systems.

(ftw_startup): Declare `func' parameter to be of type
NFTW_FUNC_T, not void* which may be smaller on 64-bit systems.
Remove now-unnecessary cast.
(FTW_NAME): Cast func argument to type `NFTW_FUNC_T'.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 07:44:00 +0000 (07:44 +0000)]
*** empty log message ***

21 years agoUnset CDPATH. Otherwise, having the
Jim Meyering [Thu, 6 Mar 2003 07:43:45 +0000 (07:43 +0000)]
Unset CDPATH.  Otherwise, having the
CDPATH shell variable set could cause this test to fail.

21 years agobump to 4.5.10
Jim Meyering [Wed, 5 Mar 2003 20:46:39 +0000 (20:46 +0000)]
bump to 4.5.10

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 18:05:04 +0000 (18:05 +0000)]
.

21 years ago. COREUTILS-4_5_9 v4.5.9
Jim Meyering [Wed, 5 Mar 2003 17:50:06 +0000 (17:50 +0000)]
.

21 years ago(print_esc): Remove pointless comparison of unsigned
Jim Meyering [Wed, 5 Mar 2003 17:44:08 +0000 (17:44 +0000)]
(print_esc): Remove pointless comparison of unsigned
integer with zero, to avoid a warning from Intel's ecc.

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 13:12:02 +0000 (13:12 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 11:06:41 +0000 (11:06 +0000)]
*** empty log message ***

21 years ago(ARRAY_SIZE): Define it.
Jim Meyering [Wed, 5 Mar 2003 11:06:18 +0000 (11:06 +0000)]
(ARRAY_SIZE): Define it.

21 years agoadd comment
Jim Meyering [Wed, 5 Mar 2003 10:48:41 +0000 (10:48 +0000)]
add comment

21 years agofix logic error
Jim Meyering [Wed, 5 Mar 2003 10:45:38 +0000 (10:45 +0000)]
fix logic error

21 years ago#undef mkdir to avoid link errors on
Jim Meyering [Wed, 5 Mar 2003 10:29:38 +0000 (10:29 +0000)]
#undef mkdir to avoid link errors on
i386-unknown-netbsdelf1.6

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 09:25:26 +0000 (09:25 +0000)]
.

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 09:05:38 +0000 (09:05 +0000)]
.

21 years agomore variable renaming: use gl_ prefix
Jim Meyering [Wed, 5 Mar 2003 09:05:08 +0000 (09:05 +0000)]
more variable renaming: use gl_ prefix

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 09:04:43 +0000 (09:04 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 09:03:58 +0000 (09:03 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 09:02:24 +0000 (09:02 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 08:58:20 +0000 (08:58 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 08:57:50 +0000 (08:57 +0000)]
*** empty log message ***

21 years agorename
Jim Meyering [Wed, 5 Mar 2003 08:36:35 +0000 (08:36 +0000)]
rename

21 years agoname changes
Jim Meyering [Wed, 5 Mar 2003 08:35:36 +0000 (08:35 +0000)]
name changes
add comments
fix logic

21 years agorename to GL_FUNC_GETCWD_PATH_MAX
Jim Meyering [Wed, 5 Mar 2003 08:33:24 +0000 (08:33 +0000)]
rename to GL_FUNC_GETCWD_PATH_MAX

21 years agocomments
Jim Meyering [Wed, 5 Mar 2003 08:19:10 +0000 (08:19 +0000)]
comments

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 08:13:34 +0000 (08:13 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 08:08:35 +0000 (08:08 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 07:43:36 +0000 (07:43 +0000)]
*** empty log message ***

21 years agouse better sed expressions
Jim Meyering [Wed, 5 Mar 2003 07:38:10 +0000 (07:38 +0000)]
use better sed expressions

21 years ago.
Jim Meyering [Wed, 5 Mar 2003 07:25:57 +0000 (07:25 +0000)]
.

21 years agocomments
Jim Meyering [Wed, 5 Mar 2003 07:24:22 +0000 (07:24 +0000)]
comments

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 07:15:34 +0000 (07:15 +0000)]
*** empty log message ***

21 years ago(TESTS): Add 8gb.
Jim Meyering [Wed, 5 Mar 2003 07:15:30 +0000 (07:15 +0000)]
(TESTS): Add 8gb.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 07:14:41 +0000 (07:14 +0000)]
*** empty log message ***

21 years ago(process_file): Sizes must all be of type uintmax_t.
Jim Meyering [Wed, 5 Mar 2003 06:35:18 +0000 (06:35 +0000)]
(process_file): Sizes must all be of type uintmax_t.
Otherwise, for files or totals that are too big, numbers would
be truncated.  Patch mostly by Michael Stone.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 06:34:08 +0000 (06:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 4 Mar 2003 23:02:42 +0000 (23:02 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 4 Mar 2003 23:02:16 +0000 (23:02 +0000)]
*** empty log message ***

21 years ago(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.
Jim Meyering [Tue, 4 Mar 2003 23:02:08 +0000 (23:02 +0000)]
(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.

21 years ago*** empty log message ***
Jim Meyering [Tue, 4 Mar 2003 22:25:14 +0000 (22:25 +0000)]
*** empty log message ***

21 years agoRefer new feature discussion to bug-coreutils@gnu.org, rather than
Jim Meyering [Tue, 4 Mar 2003 22:25:11 +0000 (22:25 +0000)]
Refer new feature discussion to bug-coreutils@gnu.org, rather than
bug-gnu-utils, now that the former is better known.