platform/upstream/coreutils.git
21 years agoIt appears that the `#pragma alloca' included via "system.h" is
Jim Meyering [Sat, 12 Jul 2003 11:38:43 +0000 (11:38 +0000)]
It appears that the `#pragma alloca' included via "system.h" is
adequate, since join.c uses alloca, yet lacked an in-file #pragma.

Remove `#pragma alloca'.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 11:32:31 +0000 (11:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 11:31:55 +0000 (11:31 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 09:40:44 +0000 (09:40 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Sat, 12 Jul 2003 09:40:40 +0000 (09:40 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 08:37:53 +0000 (08:37 +0000)]
*** empty log message ***

21 years ago(change_file_owner): Do not restore any special
Jim Meyering [Sat, 12 Jul 2003 08:37:36 +0000 (08:37 +0000)]
(change_file_owner): Do not restore any special
permission bits (e.g., set-user-ID, set-group-ID) that are reset
by chown(2) on some systems.  Suggestion and insistence :-) from
Michael Stone.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 07:35:39 +0000 (07:35 +0000)]
*** empty log message ***

21 years ago(make_path): Enclose diagnostic in _(...).
Jim Meyering [Sat, 12 Jul 2003 07:35:34 +0000 (07:35 +0000)]
(make_path): Enclose diagnostic in _(...).

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 07:33:41 +0000 (07:33 +0000)]
*** empty log message ***

21 years agoAlso check `test -t 1'.
Jim Meyering [Sat, 12 Jul 2003 07:33:35 +0000 (07:33 +0000)]
Also check `test -t 1'.
This is necessary on linux-2.4.21, otherwise, the test
stty/basic-1 would hang when run in the background.

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 22:26:40 +0000 (22:26 +0000)]
.

21 years agoARgh. nearly every test depends on whether stdout and/or stderr is a tty.
Jim Meyering [Fri, 11 Jul 2003 21:57:18 +0000 (21:57 +0000)]
ARgh.  nearly every test depends on whether stdout and/or stderr is a tty.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:45:10 +0000 (20:45 +0000)]
*** empty log message ***

21 years agoAdd src/nohup.c and src/setuidgid.c.
Jim Meyering [Fri, 11 Jul 2003 20:45:05 +0000 (20:45 +0000)]
Add src/nohup.c and src/setuidgid.c.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:41:46 +0000 (20:41 +0000)]
*** empty log message ***

21 years ago(nohup.1): Depend on nohup.c, rather than nohup.sh.
Jim Meyering [Fri, 11 Jul 2003 20:41:35 +0000 (20:41 +0000)]
(nohup.1): Depend on nohup.c, rather than nohup.sh.

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 20:40:56 +0000 (20:40 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:40:41 +0000 (20:40 +0000)]
*** empty log message ***

21 years agoAlso fail if cat-to-create-expected-output
Jim Meyering [Fri, 11 Jul 2003 20:40:28 +0000 (20:40 +0000)]
Also fail if cat-to-create-expected-output
fails.  Otherwise, if both `exp' and `out' end up empty because
of e.g., a full disk, they would mistakenly compare equal.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:38:52 +0000 (20:38 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 20:38:23 +0000 (20:38 +0000)]
.

21 years ago(EXTRA_SCRIPTS): Remove definition.
Jim Meyering [Fri, 11 Jul 2003 20:37:15 +0000 (20:37 +0000)]
(EXTRA_SCRIPTS): Remove definition.
(bin_PROGRAMS): Add nohup.
(EXTRA_DIST): Remove nohup.sh.
(all_programs): Remove use of $(EXTRA_SCRIPTS).

21 years ago(TESTS): Add nohup.
Jim Meyering [Fri, 11 Jul 2003 20:35:29 +0000 (20:35 +0000)]
(TESTS): Add nohup.

21 years agotests for the new nohup.c
Jim Meyering [Fri, 11 Jul 2003 20:34:58 +0000 (20:34 +0000)]
tests for the new nohup.c

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:34:35 +0000 (20:34 +0000)]
*** empty log message ***

21 years agoNew file. Rewrite of nohup.sh in C.
Jim Meyering [Fri, 11 Jul 2003 20:34:29 +0000 (20:34 +0000)]
New file.  Rewrite of nohup.sh in C.
This solves a portability problem: on at least Solaris systems,
when nohup.sh used the vendor /bin/sh, it would exit with status
of `1' rather than the required 126 or 127 upon failure to exec
the specified program.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 11:12:53 +0000 (11:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 11:12:48 +0000 (11:12 +0000)]
*** empty log message ***

21 years ago(diagnose_copy_fd_failure): New function, renamed from
Jim Meyering [Fri, 11 Jul 2003 11:12:44 +0000 (11:12 +0000)]
(diagnose_copy_fd_failure): New function, renamed from
the macro, COPY_FD_DIAGNOSE.
(diagnose_copy_fd_failure): Enclose diagnostic in _(...).
(head_file): Likewise.

21 years ago(change_attributes): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 11:10:53 +0000 (11:10 +0000)]
(change_attributes): Enclose diagnostic in _(...).

21 years ago(batch_convert): Use the quote function rather than using literal `...' in
Jim Meyering [Fri, 11 Jul 2003 10:38:39 +0000 (10:38 +0000)]
(batch_convert): Use the quote function rather than using literal `...' in
a diagnostic.

21 years agoInclude "quote.h".
Jim Meyering [Fri, 11 Jul 2003 10:37:21 +0000 (10:37 +0000)]
Include "quote.h".
Use the quote function rather than using literal `...' in a diagnostic.

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:35:38 +0000 (10:35 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:50 +0000 (10:34 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(tac_seekable): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:08 +0000 (10:34 +0000)]
(tac_seekable): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:33:12 +0000 (10:33 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:18:45 +0000 (10:18 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:17:53 +0000 (10:17 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 06:07:04 +0000 (06:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:43:48 +0000 (20:43 +0000)]
*** empty log message ***

21 years agoInclude "posixver.h".
Jim Meyering [Thu, 10 Jul 2003 20:43:42 +0000 (20:43 +0000)]
Include "posixver.h".
(parse_user_spec): Accept `.' as a separator only in pre-POSIX-200112 mode.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:42:52 +0000 (20:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 20:16:41 +0000 (20:16 +0000)]
.

21 years ago(Standards conformance): Mention that uses like
Jim Meyering [Thu, 10 Jul 2003 19:48:43 +0000 (19:48 +0000)]
(Standards conformance): Mention that uses like
`tail -1' and `head -1', like `sort +1', are non conforming.
(chown invocation): Say that using `.' as a separator may not work.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 19:39:20 +0000 (19:39 +0000)]
*** empty log message ***

21 years ago(usage): Use 1024*1024 in place of 1048576.
Jim Meyering [Thu, 10 Jul 2003 19:39:04 +0000 (19:39 +0000)]
(usage): Use 1024*1024 in place of 1048576.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 16:45:03 +0000 (16:45 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 15:49:37 +0000 (15:49 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 15:49:29 +0000 (15:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 15:49:23 +0000 (15:49 +0000)]
*** empty log message ***

21 years ago(noinst_PROGRAMS): Define to setuidgid.
Jim Meyering [Thu, 10 Jul 2003 15:49:17 +0000 (15:49 +0000)]
(noinst_PROGRAMS): Define to setuidgid.

21 years agoNow that we have setuidgid, use it in place of the kludge in this test.
Jim Meyering [Thu, 10 Jul 2003 15:47:36 +0000 (15:47 +0000)]
Now that we have setuidgid, use it in place of the kludge in this test.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 14:37:11 +0000 (14:37 +0000)]
*** empty log message ***

21 years agoNew program, solely for testing (not installed).
Jim Meyering [Thu, 10 Jul 2003 14:37:04 +0000 (14:37 +0000)]
New program, solely for testing (not installed).

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 11:25:59 +0000 (11:25 +0000)]
.

21 years agoNew files, in support of new asprintf use. From gnulib.
Jim Meyering [Thu, 10 Jul 2003 11:23:31 +0000 (11:23 +0000)]
New files, in support of new asprintf use.  From gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:23:16 +0000 (11:23 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require gl_FUNC_VASPRINTF and gl_FUNC_VASNPRINTF.
Jim Meyering [Thu, 10 Jul 2003 11:23:09 +0000 (11:23 +0000)]
(jm_MACROS): Require gl_FUNC_VASPRINTF and gl_FUNC_VASNPRINTF.

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 11:22:20 +0000 (11:22 +0000)]
.

21 years agoNow that a program (`who') uses asprintf, we need all of these:
Jim Meyering [Thu, 10 Jul 2003 11:15:20 +0000 (11:15 +0000)]
Now that a program (`who') uses asprintf, we need all of these:
* asnprintf.c, asprintf.c, printf-args.c, printf-args.h, printf-parse.c:
* printf-parse.h, vasnprintf.c, vasnprintf.h, vasprintf.c, vasprintf.h:
New files, from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:11:23 +0000 (11:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:10:57 +0000 (11:10 +0000)]
*** empty log message ***

21 years agoIndent cpp directives (via cppi).
Jim Meyering [Thu, 10 Jul 2003 11:09:11 +0000 (11:09 +0000)]
Indent cpp directives (via cppi).

21 years agoIndent cpp directives (via cppi).
Jim Meyering [Thu, 10 Jul 2003 11:08:40 +0000 (11:08 +0000)]
Indent cpp directives (via cppi).

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:07:35 +0000 (11:07 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 11:07:30 +0000 (11:07 +0000)]
.

21 years ago(libfetish_a_SOURCES): Add these:
Jim Meyering [Thu, 10 Jul 2003 11:07:22 +0000 (11:07 +0000)]
(libfetish_a_SOURCES): Add these:
printf-args.h, printf-parse.h, vasprintf.h, vasnprintf.h.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:06:15 +0000 (11:06 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:01:09 +0000 (11:01 +0000)]
*** empty log message ***

21 years ago(change_file_owner): Don't leak file descriptors when dereferencing symlinks.
Jim Meyering [Thu, 10 Jul 2003 10:59:47 +0000 (10:59 +0000)]
(change_file_owner): Don't leak file descriptors when dereferencing symlinks.

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 08:35:28 +0000 (08:35 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 08:35:11 +0000 (08:35 +0000)]
*** empty log message ***

21 years agoFrom gnulib.
Jim Meyering [Thu, 10 Jul 2003 08:35:02 +0000 (08:35 +0000)]
From gnulib.
Help replace my old inttypes.m4.

21 years agoFrom gnulib.
Jim Meyering [Thu, 10 Jul 2003 08:33:46 +0000 (08:33 +0000)]
From gnulib.
Help replace my old inttypes.m4.

21 years agoRemove file (make it empty, actually).
Jim Meyering [Thu, 10 Jul 2003 07:57:43 +0000 (07:57 +0000)]
Remove file (make it empty, actually).
Use intmax_t.m4 and uintmax_t.m4 from gnulib, instead.

21 years agoSwitch from LGPL to GPL.
Jim Meyering [Thu, 10 Jul 2003 07:06:25 +0000 (07:06 +0000)]
Switch from LGPL to GPL.

21 years ago.
Jim Meyering [Wed, 9 Jul 2003 17:55:29 +0000 (17:55 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 17:54:57 +0000 (17:54 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 9 Jul 2003 17:54:54 +0000 (17:54 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 13:16:52 +0000 (13:16 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 10:00:46 +0000 (10:00 +0000)]
*** empty log message ***

21 years agoFix the bug that would make `du /' omit the `/' on the last line.
Jim Meyering [Wed, 9 Jul 2003 10:00:42 +0000 (10:00 +0000)]
Fix the bug that would make `du /' omit the `/' on the last line.
E.g., `du --exclude '[^/]*' -x /' would print only "4\t\n" for me.

(ftw_dir): Don't clobber the leading `/'.
Reported by Chris Lesniewski as http://bugs.debian.org/200542.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 10:00:15 +0000 (10:00 +0000)]
*** empty log message ***

21 years ago(TESTS): Add slash
Jim Meyering [Wed, 9 Jul 2003 10:00:09 +0000 (10:00 +0000)]
(TESTS): Add slash

21 years agoNew file/test for today's lib/ftw.c fix.
Jim Meyering [Wed, 9 Jul 2003 09:59:58 +0000 (09:59 +0000)]
New file/test for today's lib/ftw.c fix.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 09:51:34 +0000 (09:51 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 09:11:41 +0000 (09:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 08:54:30 +0000 (08:54 +0000)]
*** empty log message ***

21 years ago(xlseek): Avoid warning about ``return without value
Jim Meyering [Wed, 9 Jul 2003 08:54:24 +0000 (08:54 +0000)]
(xlseek): Avoid warning about ``return without value
from function returning non-void''.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Jul 2003 21:08:27 +0000 (21:08 +0000)]
*** empty log message ***

21 years agoAdd END handler to close STDOUT and check for errors.
Jim Meyering [Tue, 8 Jul 2003 21:08:17 +0000 (21:08 +0000)]
Add END handler to close STDOUT and check for errors.

21 years agoUpdate to version 1.29.
Jim Meyering [Tue, 8 Jul 2003 21:00:01 +0000 (21:00 +0000)]
Update to version 1.29.

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Jul 2003 06:13:29 +0000 (06:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Jul 2003 06:12:28 +0000 (06:12 +0000)]
*** empty log message ***

21 years agoAdd support for a "[" that conforms to the GNU coding standards,
Jim Meyering [Sun, 6 Jul 2003 06:12:20 +0000 (06:12 +0000)]
Add support for a "[" that conforms to the GNU coding standards,
i.e., that does not depend on its name.

(LBRACKET): Define to 0 if not defined.
(main): Use LBRACKET rather than argv[0].

----------
(one_argument): Do not check for -t if POSIXLY_CORRECT.

(main): Do not recognize --help or --version if
POSIXLY_CORRECT, when invoked as "test".  Handle "[ ]" correctly.
Do not bother testing that margv[margc] is non-null.

21 years ago(bin_PROGRAMS): Add "[".
Jim Meyering [Sun, 6 Jul 2003 06:10:36 +0000 (06:10 +0000)]
(bin_PROGRAMS): Add "[".
(__SOURCES): New var.

21 years ago(programs): Ignore "[", since it doesn't have a separate man page.
Jim Meyering [Sun, 6 Jul 2003 06:09:44 +0000 (06:09 +0000)]
(programs): Ignore "[", since it doesn't have a separate man page.

21 years agoNew file.
Jim Meyering [Sun, 6 Jul 2003 06:08:40 +0000 (06:08 +0000)]
New file.

21 years agoAdd [.
Jim Meyering [Sun, 6 Jul 2003 06:08:17 +0000 (06:08 +0000)]
Add [.