platform/upstream/coreutils.git
21 years ago(fchown): Put function type on its own line.
Jim Meyering [Mon, 17 Mar 2003 19:21:01 +0000 (19:21 +0000)]
(fchown): Put function type on its own line.

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

21 years ago(rm): Put two local variables in static storage,
Jim Meyering [Sun, 16 Mar 2003 10:16:14 +0000 (10:16 +0000)]
(rm): Put two local variables in static storage,
so they can't be clobbered by the potential longjmp.

21 years ago.
Jim Meyering [Sat, 15 Mar 2003 10:41:10 +0000 (10:41 +0000)]
.

21 years ago.
Jim Meyering [Sat, 15 Mar 2003 10:40:43 +0000 (10:40 +0000)]
.

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

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

21 years ago(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
Jim Meyering [Sat, 15 Mar 2003 10:18:21 +0000 (10:18 +0000)]
(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.

21 years agoremove unnecessary trailing backslash
Jim Meyering [Sat, 15 Mar 2003 10:13:05 +0000 (10:13 +0000)]
remove unnecessary trailing backslash

21 years ago(gnu_rel_host): Fix code to match the comment
Jim Meyering [Sat, 15 Mar 2003 10:11:04 +0000 (10:11 +0000)]
(gnu_rel_host): Fix code to match the comment
so that a version number with a two-digit component can still count
as an alpha release.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 20:45:07 +0000 (20:45 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ): Also forbid the gl_[A-Z] prefix.
Jim Meyering [Fri, 14 Mar 2003 20:45:03 +0000 (20:45 +0000)]
(jm_PREREQ): Also forbid the gl_[A-Z] prefix.
Don't require jm_PREREQ_C_STACK.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 20:33:54 +0000 (20:33 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Remove unused files: c-stack.c, c-stack.h.
Jim Meyering [Fri, 14 Mar 2003 20:33:44 +0000 (20:33 +0000)]
(libfetish_a_SOURCES): Remove unused files: c-stack.c, c-stack.h.

21 years agoremove ansi2knr junk
Jim Meyering [Fri, 14 Mar 2003 20:23:12 +0000 (20:23 +0000)]
remove ansi2knr junk

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 20:15:32 +0000 (20:15 +0000)]
*** empty log message ***

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

21 years ago(AUTOMAKE_OPTIONS): Remove definition --
Jim Meyering [Fri, 14 Mar 2003 20:11:41 +0000 (20:11 +0000)]
(AUTOMAKE_OPTIONS): Remove definition --
before it pointed to ../src/ansi2knr.

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

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 20:10:15 +0000 (20:10 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 15:40:40 +0000 (15:40 +0000)]
*** empty log message ***

21 years ago(prev_version_file): Don't use ?= for this particular
Jim Meyering [Fri, 14 Mar 2003 15:40:34 +0000 (15:40 +0000)]
(prev_version_file): Don't use ?= for this particular
assignment, since it causes trouble with old versions of GNU make
(e.g. 3.76.1).  The other uses of `?=' are inoffensive.  Details here.
http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html
Patch from Alexandre Duret-Lutz.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 13:56:33 +0000 (13:56 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 13:54:36 +0000 (13:54 +0000)]
.

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 13:16:21 +0000 (13:16 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 12:52:19 +0000 (12:52 +0000)]
*** empty log message ***

21 years agoInclude "xalloc.h".
Jim Meyering [Fri, 14 Mar 2003 12:52:13 +0000 (12:52 +0000)]
Include "xalloc.h".

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 09:54:48 +0000 (09:54 +0000)]
*** empty log message ***

21 years agoMerge changes from Bison.
Jim Meyering [Fri, 14 Mar 2003 09:54:39 +0000 (09:54 +0000)]
Merge changes from Bison.

(__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 09:50:49 +0000 (09:50 +0000)]
.

21 years ago[from gnulib]
Jim Meyering [Fri, 14 Mar 2003 09:50:43 +0000 (09:50 +0000)]
[from gnulib]

(m4_quote): New macro.
(AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
Quote AC_FOREACH variable-expansions properly.

21 years agobump to 4.5.11
Jim Meyering [Fri, 14 Mar 2003 09:45:37 +0000 (09:45 +0000)]
bump to 4.5.11

21 years ago(main): Label the compressed source URLs.
Jim Meyering [Fri, 14 Mar 2003 09:44:59 +0000 (09:44 +0000)]
(main): Label the compressed source URLs.

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 08:37:36 +0000 (08:37 +0000)]
.

21 years ago. COREUTILS-4_5_10 v4.5.10
Jim Meyering [Fri, 14 Mar 2003 08:13:06 +0000 (08:13 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 07:56:15 +0000 (07:56 +0000)]
*** empty log message ***

21 years agoRelax the test for the `local'ness of a file system,
Jim Meyering [Fri, 14 Mar 2003 07:56:09 +0000 (07:56 +0000)]
Relax the test for the `local'ness of a file system,
so that now it works also for tmpfs.

21 years agoTransform output from first du, so that this
Jim Meyering [Fri, 14 Mar 2003 06:54:37 +0000 (06:54 +0000)]
Transform output from first du, so that this
test doesn't fail on file systems like tmpfs that order directory
entries differently.

21 years agosort du output, in case f1 and f2 are listed in a different order
Jim Meyering [Fri, 14 Mar 2003 06:50:28 +0000 (06:50 +0000)]
sort du output, in case f1 and f2 are listed in a different order

21 years agoreformat a little
Jim Meyering [Fri, 14 Mar 2003 06:48:13 +0000 (06:48 +0000)]
reformat a little

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 21:25:48 +0000 (21:25 +0000)]
.

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

21 years agoWork around what appears to be an NFS failure that
Jim Meyering [Thu, 13 Mar 2003 21:05:59 +0000 (21:05 +0000)]
Work around what appears to be an NFS failure that
would make this test fail on some systems.

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 13:16:15 +0000 (13:16 +0000)]
.

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

21 years agotweak wording
Jim Meyering [Thu, 13 Mar 2003 13:15:56 +0000 (13:15 +0000)]
tweak wording

21 years ago(shred invocation): Mention that --exact
Jim Meyering [Thu, 13 Mar 2003 13:14:40 +0000 (13:14 +0000)]
(shred invocation): Mention that --exact
is now the default for non-regular files.

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

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

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 13:07:11 +0000 (13:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:06:50 +0000 (13:06 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Arrange to compile the corresponding stub
Jim Meyering [Thu, 13 Mar 2003 13:06:44 +0000 (13:06 +0000)]
(jm_MACROS): Arrange to compile the corresponding stub
function if any of the following is missing: fchown, lstat, readlink.
From Richard Dawe.

21 years ago.
Jim Meyering [Wed, 12 Mar 2003 23:14:15 +0000 (23:14 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Mar 2003 09:47:23 +0000 (09:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:54:36 +0000 (22:54 +0000)]
*** empty log message ***

21 years agoMake the test file exactly 4k bytes long.
Jim Meyering [Tue, 11 Mar 2003 22:20:54 +0000 (22:20 +0000)]
Make the test file exactly 4k bytes long.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:12:42 +0000 (22:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:12:38 +0000 (22:12 +0000)]
*** empty log message ***

21 years ago(longopts): Don't hard-code `2' here.
Jim Meyering [Tue, 11 Mar 2003 20:48:36 +0000 (20:48 +0000)]
(longopts): Don't hard-code `2' here.
Instead, just specify `&verbose', and ...
(main): ... remove the `case 2:' block for --verbose.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:34:29 +0000 (20:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:31:53 +0000 (20:31 +0000)]
*** empty log message ***

21 years agoDon't segfault for a negative field width or precision in format string.
Jim Meyering [Tue, 11 Mar 2003 20:25:18 +0000 (20:25 +0000)]
Don't segfault for a negative field width or precision in format string.

(UNSPECIFIED): Define.
(print_direc): Use the special value, UNSPECIFIED, to indicate
that field_width or precision has not been specified.
(print_formatted): Fail if field_width or precision is the
special value, UNSPECIFIED.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:23:38 +0000 (20:23 +0000)]
*** empty log message ***

21 years agoMake the test larger than 64 bytes, so that we don't
Jim Meyering [Tue, 11 Mar 2003 20:23:31 +0000 (20:23 +0000)]
Make the test larger than 64 bytes, so that we don't
immediately disqualify file systems (e.g., NetApp) on which smaller
files take up zero disk blocks.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 17:08:50 +0000 (17:08 +0000)]
*** empty log message ***

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

21 years agoInclude <wchar.h>. Needed for UnixWare 7.1.1.
Jim Meyering [Tue, 11 Mar 2003 10:08:15 +0000 (10:08 +0000)]
Include <wchar.h>. Needed for UnixWare 7.1.1.
Reported by John Hughes, see
http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html

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

21 years ago(EXIT_FAILURE): Define if the system doesn't.
Jim Meyering [Tue, 11 Mar 2003 10:07:17 +0000 (10:07 +0000)]
(EXIT_FAILURE): Define if the system doesn't.
Reported by Bruce Becker; see:
http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html

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

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

21 years agoAdd a test for the above-fixed bug.
Jim Meyering [Mon, 10 Mar 2003 12:24:59 +0000 (12:24 +0000)]
Add a test for the above-fixed bug.

21 years ago(INT_MIN): Define, if necessary.
Jim Meyering [Mon, 10 Mar 2003 10:41:24 +0000 (10:41 +0000)]
(INT_MIN): Define, if necessary.

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 10:39:31 +0000 (10:39 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 10 Mar 2003 07:53:39 +0000 (07:53 +0000)]
.

21 years agoInclude "save-cwd.h".
Jim Meyering [Sun, 9 Mar 2003 09:22:55 +0000 (09:22 +0000)]
Include "save-cwd.h".
(ftw_startup): Avoid use of getcwd, if possible.
Instead, use fopen/fchdir via save_cwd/restore_cwd.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 09:14:25 +0000 (09:14 +0000)]
*** empty log message ***

21 years agofix typo in comment
Jim Meyering [Sun, 9 Mar 2003 07:56:29 +0000 (07:56 +0000)]
fix typo in comment

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:54:43 +0000 (07:54 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:14:28 +0000 (07:14 +0000)]
*** empty log message ***

21 years ago(AD_stack_pop): Cast sizeof... to int before changing its sign.
Jim Meyering [Sun, 9 Mar 2003 07:14:19 +0000 (07:14 +0000)]
(AD_stack_pop): Cast sizeof... to int before changing its sign.
This avoids a warning from gcc on 64-bit systems.
(pop_dir): Reverse order of sign change and cast, to be consistent
with the above.

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

21 years ago(evar-check): Check for POSIXLY_CORRECT not as a
Jim Meyering [Sat, 8 Mar 2003 21:22:25 +0000 (21:22 +0000)]
(evar-check): Check for POSIXLY_CORRECT not as a
shell variable, but only in the environment.  With /bin/sh->bash, the
shell variable is set to `y', and that would cause a spurious warning.

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

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

21 years agoRequire at least version 1.11 of Expect.pm.
Jim Meyering [Sat, 8 Mar 2003 19:02:38 +0000 (19:02 +0000)]
Require at least version 1.11 of Expect.pm.
Old versions of Expect.pm (e.g., 1.07) lack the log_user function.
Patch by Bob Proulx.

21 years agoBefore, when using shred on a device, one had to specify --exact,
Jim Meyering [Sat, 8 Mar 2003 16:57:55 +0000 (16:57 +0000)]
Before, when using shred on a device, one had to specify --exact,
or be careful to choose a size that would not be rounded up and
exceed the maximum value;  that could result in a failure of
the final write.

(do_wipefd): --exact is now the default for non-regular
files.  Suggestion from Ben Elliston.
(usage): Say it.

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

21 years ago(check-root): Remove touch/fifo.
Jim Meyering [Sat, 8 Mar 2003 16:55:42 +0000 (16:55 +0000)]
(check-root): Remove touch/fifo.
It doesn't appear to have to be run as root.

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

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

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

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.