platform/upstream/coreutils.git
21 years agoD'oh.
Jim Meyering [Sat, 22 Mar 2003 22:32:12 +0000 (22:32 +0000)]
D'oh.

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

21 years agoDon't include <sys/sysmacros.h>.
Jim Meyering [Sat, 22 Mar 2003 21:32:22 +0000 (21:32 +0000)]
Don't include <sys/sysmacros.h>.
That is already done via system.h.  Otherwise, the multiple
inclusion would evoke redefinition warnings from Cray's /bin/cc
(Cray Standard C Version 4.0.3  (057126) Mar 22 2003  22:02:28).
(human_fstype): Factor some directives `up', out of this function.
Cast away `const' to avoid error from Cray's /bin/cc.

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

21 years ago(widen): Cast alloca return value to proper type.
Jim Meyering [Sat, 22 Mar 2003 19:42:42 +0000 (19:42 +0000)]
(widen): Cast alloca return value to proper type.

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

21 years ago(NEW_PATTERN): Cast alloca to proper type.
Jim Meyering [Sat, 22 Mar 2003 19:39:40 +0000 (19:39 +0000)]
(NEW_PATTERN): Cast alloca to proper type.
Otherwise, it wouldn't compile with at least /bin/cc on
ymp-cray-unicos9.0.2.X.
Combine two mostly-identical uses of alloca into one.

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

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

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

21 years ago(print_changelog_deltas): Ensure that a newline precedes each row of `*'s.
Jim Meyering [Thu, 20 Mar 2003 17:43:12 +0000 (17:43 +0000)]
(print_changelog_deltas): Ensure that a newline precedes each row of `*'s.

21 years agobump to 4.5.12 -- maybe to 5.0, later
Jim Meyering [Thu, 20 Mar 2003 16:46:53 +0000 (16:46 +0000)]
bump to 4.5.12 -- maybe to 5.0, later

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

21 years ago. COREUTILS-4_5_11 v4.5.11
Jim Meyering [Thu, 20 Mar 2003 14:56:19 +0000 (14:56 +0000)]
.

21 years agofix typo
Jim Meyering [Thu, 20 Mar 2003 14:55:33 +0000 (14:55 +0000)]
fix typo

21 years ago.
Jim Meyering [Thu, 20 Mar 2003 14:43:03 +0000 (14:43 +0000)]
.

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

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

21 years ago(valid_format): Also accept ` ' and `'' as valid
Jim Meyering [Thu, 20 Mar 2003 13:49:39 +0000 (13:49 +0000)]
(valid_format): Also accept ` ' and `'' as valid
format flag characters.
Do not require that a field width be specified.
Do not fail when given a field width of `0'.

21 years agoadd two more, using space flag character
Jim Meyering [Thu, 20 Mar 2003 13:47:21 +0000 (13:47 +0000)]
add two more, using space flag character

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

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 23:17:15 +0000 (23:17 +0000)]
*** empty log message ***

21 years ago(all-local): Append $(EXEEXT) to use of `su'
Jim Meyering [Wed, 19 Mar 2003 23:17:12 +0000 (23:17 +0000)]
(all-local): Append $(EXEEXT) to use of `su'
(install-root): Likewise.
(install-exec-local): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 23:01:11 +0000 (23:01 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 23:00:35 +0000 (23:00 +0000)]
*** empty log message ***

21 years ago(.x.1): Use $(LN_S) instead of 'ln -s',
Jim Meyering [Wed, 19 Mar 2003 23:00:25 +0000 (23:00 +0000)]
(.x.1): Use $(LN_S) instead of 'ln -s',
because the DJGPP 2.03 port of 'ln -s' doesn't work.
Include $(EXEEXT) in program names.
Since $(LN_S) may degenerate to `cp -p', be careful
to invoke it from the destination directory.
Mostly from Richard Dawe.

21 years agoUse AC_PROG_LN_S.
Jim Meyering [Wed, 19 Mar 2003 22:50:52 +0000 (22:50 +0000)]
Use AC_PROG_LN_S.

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

21 years ago(AC_FUNC_FTW): Require AC_HEADER_STAT.
Jim Meyering [Wed, 19 Mar 2003 19:38:30 +0000 (19:38 +0000)]
(AC_FUNC_FTW): Require AC_HEADER_STAT.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 19:33:18 +0000 (19:33 +0000)]
*** empty log message ***

21 years agoDJGPP doesn't have S_ISLNK, so provide a replacement.
Jim Meyering [Wed, 19 Mar 2003 19:33:12 +0000 (19:33 +0000)]
DJGPP doesn't have S_ISLNK, so provide a replacement.

(S_IFMT): Define, if necessary.
[STAT_MACROS_BROKEN]: Undefine S_ISLNK.
(S_ISLNK): Define, if necessary.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 09:11:59 +0000 (09:11 +0000)]
*** empty log message ***

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

21 years ago.
Jim Meyering [Wed, 19 Mar 2003 09:10:07 +0000 (09:10 +0000)]
.

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

21 years agoInclude $(EXEEXT) in OPTIONAL_BIN_PROGS'
Jim Meyering [Wed, 19 Mar 2003 09:06:40 +0000 (09:06 +0000)]
Include $(EXEEXT) in OPTIONAL_BIN_PROGS'
program names, since automake only adds $(EXEEXT) to programs
in its *_PROGRAMS.  From Rich Dawe.

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

21 years ago(jm_MACROS): Include $(EXEEXT) in DF_PROG's program
Jim Meyering [Wed, 19 Mar 2003 09:03:40 +0000 (09:03 +0000)]
(jm_MACROS): Include $(EXEEXT) in DF_PROG's program
name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
Arrange to compile the corresponding stub function if fchdir is missing.

21 years agoNew file: trivial stub for fchdir.
Jim Meyering [Wed, 19 Mar 2003 09:00:34 +0000 (09:00 +0000)]
New file: trivial stub for fchdir.
From Rich Dawe.

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

21 years agoUnset CDPATH. Otherwise, having the
Jim Meyering [Wed, 19 Mar 2003 08:15:14 +0000 (08:15 +0000)]
Unset CDPATH.  Otherwise, having the
CDPATH shell variable set could cause this test to fail.

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

21 years agoRemove uses of `PARAMS'.
Jim Meyering [Wed, 19 Mar 2003 08:14:02 +0000 (08:14 +0000)]
Remove uses of `PARAMS'.

21 years ago(PARAMS): Remove definition and uses.
Jim Meyering [Wed, 19 Mar 2003 08:12:47 +0000 (08:12 +0000)]
(PARAMS): Remove definition and uses.

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

21 years agoDon't define __const.
Jim Meyering [Wed, 19 Mar 2003 08:10:47 +0000 (08:10 +0000)]
Don't define __const.
(fnmatch): Use const, not __const in prototype.

21 years agorevert last change
Jim Meyering [Wed, 19 Mar 2003 08:09:20 +0000 (08:09 +0000)]
revert last change

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Mar 2003 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Tue, 18 Mar 2003 19:16:34 +0000 (19:16 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Mar 2003 19:12:57 +0000 (19:12 +0000)]
*** empty log message ***

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

21 years agoRemove lib/c-stack.c.
Jim Meyering [Tue, 18 Mar 2003 19:11:25 +0000 (19:11 +0000)]
Remove lib/c-stack.c.

21 years ago.
Jim Meyering [Tue, 18 Mar 2003 17:48:02 +0000 (17:48 +0000)]
.

21 years ago(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
Jim Meyering [Tue, 18 Mar 2003 17:47:06 +0000 (17:47 +0000)]
(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
error from mntctl.
Use mntctl's return value to drive the entry-processing loop, since
we can't rely on the value of the vmt_length member in the last
entry.  On some systems doing so could result in an infinite loop.
Based in part on a patch from Mike Jetzer.

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Mar 2003 17:14:42 +0000 (17:14 +0000)]
*** empty log message ***

21 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
Jim Meyering [Tue, 18 Mar 2003 17:14:31 +0000 (17:14 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
systems would end up using the latter.  MOUNTED_GETMNTENT1 support
is inadequate on such systems: 1) detecting whether a file system
is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
merely /MOUNT_POINT.  Reported by Mike Jetzer.

21 years agoundo mountlist.h change
Jim Meyering [Tue, 18 Mar 2003 17:04:18 +0000 (17:04 +0000)]
undo mountlist.h change

21 years agoundo last change
Jim Meyering [Tue, 18 Mar 2003 17:04:04 +0000 (17:04 +0000)]
undo last change

21 years ago.
Jim Meyering [Tue, 18 Mar 2003 15:40:34 +0000 (15:40 +0000)]
.

21 years ago(excluded_filename): Define and use typedef to
Jim Meyering [Tue, 18 Mar 2003 15:40:13 +0000 (15:40 +0000)]
(excluded_filename): Define and use typedef to
avoid type mismatch in conditional expression.

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Mar 2003 15:39:58 +0000 (15:39 +0000)]
*** empty log message ***

21 years ago(ME_REMOTE): Recognize as remote any file system
Jim Meyering [Tue, 18 Mar 2003 15:39:45 +0000 (15:39 +0000)]
(ME_REMOTE): Recognize as remote any file system
that has an Fs_type with the `nfs' (any case) prefix.
This is necessary at least for AIX 5.1 when it uses the
MOUNTED_GETMNTENT1 code.  Reported by Mike Jetzer.

21 years ago.
Jim Meyering [Tue, 18 Mar 2003 08:53:59 +0000 (08:53 +0000)]
.

21 years ago(quote_n): Fix typo in comment.
Jim Meyering [Tue, 18 Mar 2003 08:49:12 +0000 (08:49 +0000)]
(quote_n): Fix typo in comment.

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

21 years ago[struct Word] (paren, period, punct, final): Change the
Jim Meyering [Tue, 18 Mar 2003 08:43:57 +0000 (08:43 +0000)]
[struct Word] (paren, period, punct, final): Change the
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
AIX 5.1's xlc could not compile the former.

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

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

21 years ago(raise): Rename from rpl_raise.
Jim Meyering [Mon, 17 Mar 2003 21:50:30 +0000 (21:50 +0000)]
(raise): Rename from rpl_raise.
Without that change, systems lacking raise (SunOS4) would not be
able to link programs using raise.  Reported by Volker Borchert.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Mar 2003 21:32:42 +0000 (21:32 +0000)]
*** empty log message ***

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

21 years ago(FTW_STAT): Rename from `STAT', to avoid conflict
Jim Meyering [Mon, 17 Mar 2003 21:00:48 +0000 (21:00 +0000)]
(FTW_STAT): Rename from `STAT', to avoid conflict
with STAT definition from <sys/dir.h> on AIX 5.1.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Mar 2003 19:47:45 +0000 (19:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Mar 2003 19:46:20 +0000 (19:46 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Mar 2003 19:28:35 +0000 (19:28 +0000)]
*** empty log message ***

21 years ago(UTILS_FUNC_DIRFD): Test the cache variable, not one
Jim Meyering [Mon, 17 Mar 2003 19:28:31 +0000 (19:28 +0000)]
(UTILS_FUNC_DIRFD): Test the cache variable, not one
that is guaranteed to be `no'.  Use `no_such_member' to indicate
that condition, rather than `-1' which is slightly misleading.
Change the name of the cache variable to have the gl_ prefix.
Prompted by a patch from Richard Dawe for DJGPP.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Mar 2003 19:21:33 +0000 (19:21 +0000)]
*** empty log message ***

21 years ago(readlink): Put function type on its own line.
Jim Meyering [Mon, 17 Mar 2003 19:21:28 +0000 (19:21 +0000)]
(readlink): Put function type on its own line.

21 years ago(lstat): Put function type on its own line.
Jim Meyering [Mon, 17 Mar 2003 19:21:13 +0000 (19:21 +0000)]
(lstat): Put function type on its own line.

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 ***