platform/upstream/coreutils.git
22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 10:11:25 +0000 (10:11 +0000)]
*** empty log message ***

22 years agoUpdate from diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 10:11:14 +0000 (10:11 +0000)]
Update from diffutils-2.8.2.

22 years ago.
Jim Meyering [Sat, 22 Jun 2002 10:09:47 +0000 (10:09 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 10:09:33 +0000 (10:09 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add exitfail.c and exitfail.h.
Jim Meyering [Sat, 22 Jun 2002 09:26:57 +0000 (09:26 +0000)]
(libfetish_a_SOURCES): Add exitfail.c and exitfail.h.

22 years agoNew files, from diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 09:25:36 +0000 (09:25 +0000)]
New files, from diffutils-2.8.2.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 09:23:32 +0000 (09:23 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add c-stack.c, too.
Jim Meyering [Sat, 22 Jun 2002 09:23:17 +0000 (09:23 +0000)]
(libfetish_a_SOURCES): Add c-stack.c, too.

22 years agoNew file, from diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 09:03:14 +0000 (09:03 +0000)]
New file, from diffutils-2.8.2.

22 years agofrom diffutils-2.8.2
Jim Meyering [Sat, 22 Jun 2002 09:01:22 +0000 (09:01 +0000)]
from diffutils-2.8.2

22 years ago(jm_PREREQ): Add jm_PREREQ_C_STACK.
Jim Meyering [Sat, 22 Jun 2002 09:01:10 +0000 (09:01 +0000)]
(jm_PREREQ): Add jm_PREREQ_C_STACK.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 08:55:43 +0000 (08:55 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 22 Jun 2002 08:54:28 +0000 (08:54 +0000)]
.

22 years agoUpdate from diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 08:54:23 +0000 (08:54 +0000)]
Update from diffutils-2.8.2.

22 years ago.
Jim Meyering [Sat, 22 Jun 2002 08:53:17 +0000 (08:53 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 08:53:02 +0000 (08:53 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_EXCLUDE): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
Jim Meyering [Sat, 22 Jun 2002 08:52:56 +0000 (08:52 +0000)]
(jm_PREREQ_EXCLUDE): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.

22 years ago * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
Jim Meyering [Sat, 22 Jun 2002 08:51:02 +0000 (08:51 +0000)]
* jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
now that configure.ac uses AC_GNU_SOURCE.
(jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.

22 years ago(libfetish_a_SOURCES): Add fnmatch_.h in place of fnmatch.h.
Jim Meyering [Sat, 22 Jun 2002 08:47:57 +0000 (08:47 +0000)]
(libfetish_a_SOURCES): Add fnmatch_.h in place of fnmatch.h.
(EXTRA_DIST): Add fnmatch_loop.c.

22 years ago.
Jim Meyering [Sat, 22 Jun 2002 08:34:59 +0000 (08:34 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 08:32:50 +0000 (08:32 +0000)]
*** empty log message ***

22 years agofrom diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 08:32:40 +0000 (08:32 +0000)]
from diffutils-2.8.2.

22 years agoChange each use of AC_CHECK_HEADERS(stdbool.h) to AC_HEADER_STDBOOL
Jim Meyering [Sat, 22 Jun 2002 08:29:29 +0000 (08:29 +0000)]
Change each use of AC_CHECK_HEADERS(stdbool.h) to AC_HEADER_STDBOOL

22 years agoNew file, from diffutils-2.8.2.
Jim Meyering [Sat, 22 Jun 2002 08:27:18 +0000 (08:27 +0000)]
New file, from diffutils-2.8.2.

22 years agoAccommodate the slightly different diagnostic we
Jim Meyering [Sat, 22 Jun 2002 06:49:57 +0000 (06:49 +0000)]
Accommodate the  slightly different diagnostic we
get on some systems, due to `unlink (dir)' failing with EACCES
rather than EPERM.  E.g. for ReiserFS on Linux-2.4.18.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jun 2002 06:49:43 +0000 (06:49 +0000)]
*** empty log message ***

22 years agoUpdate from gettext-0.11.2.
Jim Meyering [Fri, 21 Jun 2002 21:23:01 +0000 (21:23 +0000)]
Update from gettext-0.11.2.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 17:42:12 +0000 (17:42 +0000)]
*** empty log message ***

22 years agobump serial#
Jim Meyering [Fri, 21 Jun 2002 17:42:06 +0000 (17:42 +0000)]
bump serial#

22 years ago(jm_PREREQ_QUOTEARG): Reflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
Jim Meyering [Fri, 21 Jun 2002 17:41:58 +0000 (17:41 +0000)]
(jm_PREREQ_QUOTEARG): Reflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.

22 years agoReflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
Jim Meyering [Fri, 21 Jun 2002 17:41:02 +0000 (17:41 +0000)]
Reflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.

22 years agoUpdate from diffutils-2.8.2.
Jim Meyering [Fri, 21 Jun 2002 17:38:30 +0000 (17:38 +0000)]
Update from diffutils-2.8.2.

22 years agoAdd comment, from diffutils-2.8.2.
Jim Meyering [Fri, 21 Jun 2002 15:39:12 +0000 (15:39 +0000)]
Add comment, from diffutils-2.8.2.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 15:29:28 +0000 (15:29 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Fri, 21 Jun 2002 15:21:49 +0000 (15:21 +0000)]
.

22 years agotiny tweaks
Jim Meyering [Fri, 21 Jun 2002 13:20:39 +0000 (13:20 +0000)]
tiny tweaks

22 years ago(stat invocation): New section. From Michael Meskes.
Jim Meyering [Fri, 21 Jun 2002 13:19:31 +0000 (13:19 +0000)]
(stat invocation): New section.  From Michael Meskes.

22 years ago.
Jim Meyering [Fri, 21 Jun 2002 12:48:36 +0000 (12:48 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:48:06 +0000 (12:48 +0000)]
*** empty log message ***

22 years ago(wget-update): Checkout into config/.
Jim Meyering [Fri, 21 Jun 2002 12:48:00 +0000 (12:48 +0000)]
(wget-update): Checkout into config/.
Warn when skipping a file.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:34:49 +0000 (12:34 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:34:44 +0000 (12:34 +0000)]
*** empty log message ***

22 years agoInclude sys/statvfs.h.
Jim Meyering [Fri, 21 Jun 2002 12:34:36 +0000 (12:34 +0000)]
Include sys/statvfs.h.
[!HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H]: Include sys/param.h
and sys/mount.h, to get decl of struct statfs on NetBSD 1.5.2.
(NAMEMAX_FORMAT, STRUCT_STATVFS): Define.
(HAVE_STRUCT_STATXFS_F_TYPE, SB_F_NAMEMAX): Define.
Remove `static' attribute from decl of program_name.
(human_fstype): Use f_basetype or f_fstypename if available.
(print_human_time): Use nstrftime and an ISO format string, in
place of strftime with `%c'.  The latter is too locale-dependent.
(print_statfs): Deal with lots of portability issues: some fields
are available only with statfs, others only with statvfs, and
some are available in both, but with different types.
(do_statfs) [DEFAULT_FORMAT_TERSE]: Factor out.
[DEFAULT_FORMAT_VERBOSE]: Likewise.

22 years ago.
Jim Meyering [Fri, 21 Jun 2002 12:16:27 +0000 (12:16 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:15:39 +0000 (12:15 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:13:51 +0000 (12:13 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 12:12:08 +0000 (12:12 +0000)]
*** empty log message ***

22 years ago(jm_CHECK_ALL_HEADERS): Check for hurd.h.
Jim Meyering [Fri, 21 Jun 2002 12:12:00 +0000 (12:12 +0000)]
(jm_CHECK_ALL_HEADERS): Check for hurd.h.

22 years agoChange all `preserving ...' diagnostics to
Jim Meyering [Fri, 21 Jun 2002 12:10:02 +0000 (12:10 +0000)]
Change all `preserving ...' diagnostics to
`failed to preserve ...' to make the failure clearer.

22 years agoInclude hurd.h.
Jim Meyering [Fri, 21 Jun 2002 12:06:17 +0000 (12:06 +0000)]
Include hurd.h.
(copy_internal): Preserve the stat.st_author field.

22 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jun 2002 07:20:49 +0000 (07:20 +0000)]
*** empty log message ***

22 years ago(LOGIN_NAME_MAX): Define if not already defined.
Jim Meyering [Fri, 21 Jun 2002 07:20:36 +0000 (07:20 +0000)]
(LOGIN_NAME_MAX): Define if not already defined.
(ID_LENGTH_MAX): Define.
(ST_DM_MODE): New macro.  Code moved from...
(print_long_format): ...here.
(print_long_format): Itemize and comment the individual parts
of init_bigbuf.  Use the above *_MAX macros.

22 years agoChange `defined(X)' syntax to `defined X' in cpp directives.
Jim Meyering [Thu, 20 Jun 2002 15:58:18 +0000 (15:58 +0000)]
Change `defined(X)' syntax to `defined X' in cpp directives.

22 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jun 2002 11:13:29 +0000 (11:13 +0000)]
*** empty log message ***

22 years agoReport an error if neither S_ISREG nor
Jim Meyering [Wed, 19 Jun 2002 11:12:59 +0000 (11:12 +0000)]
Report an error if neither S_ISREG nor
S_IFREG is defined, instead of using a test specific to glibc
2.2.  This should be safe, since POSIX requires S_ISREG and
Unix Version 7 had S_IFREG.  We don't need to check for
<sys/types.h> since we don't use any symbols that it defines.

22 years agoInterpret a permissions string of
Jim Meyering [Mon, 17 Jun 2002 07:06:29 +0000 (07:06 +0000)]
Interpret a permissions string of
drwxr-xr-x (DOS/Windows) as meaning the cwd is not setgid.
Reported by Rich Dawe.

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jun 2002 07:06:19 +0000 (07:06 +0000)]
*** empty log message ***

22 years agouse newer testing framework
Jim Meyering [Sun, 16 Jun 2002 19:18:22 +0000 (19:18 +0000)]
use newer testing framework

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 16:04:16 +0000 (16:04 +0000)]
*** empty log message ***

22 years agoInclude <sys/types.h> before system.h.
Jim Meyering [Sat, 15 Jun 2002 16:03:57 +0000 (16:03 +0000)]
Include <sys/types.h> before system.h.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 14:05:31 +0000 (14:05 +0000)]
*** empty log message ***

22 years agols --author
Jim Meyering [Sat, 15 Jun 2002 14:05:25 +0000 (14:05 +0000)]
ls --author

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 13:43:20 +0000 (13:43 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 13:42:54 +0000 (13:42 +0000)]
*** empty log message ***

22 years ago(jm_CHECK_ALL_TYPES): Check for st_author.
Jim Meyering [Sat, 15 Jun 2002 13:42:22 +0000 (13:42 +0000)]
(jm_CHECK_ALL_TYPES): Check for st_author.

22 years ago(st_author) [! HAVE_STRUCT_STAT_ST_AUTHOR]: New macro.
Jim Meyering [Sat, 15 Jun 2002 13:41:46 +0000 (13:41 +0000)]
(st_author) [! HAVE_STRUCT_STAT_ST_AUTHOR]: New macro.
(print_author): New var.
(AUTHOR_OPTION): New enum val.
(long_options, decode_switches, print_long_format, usage):
Support --author.
(format_user): New function.
(print_long_format): Use it.  Make print buffer a bit bigger.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 13:26:42 +0000 (13:26 +0000)]
*** empty log message ***

22 years ago(ls invocation): Document new option: --author.
Jim Meyering [Sat, 15 Jun 2002 13:26:38 +0000 (13:26 +0000)]
(ls invocation): Document new option: --author.

22 years agouse trap stuff from sample-test
Jim Meyering [Sat, 15 Jun 2002 10:19:36 +0000 (10:19 +0000)]
use trap stuff from sample-test

22 years agouse trap stuff from sample-test
Jim Meyering [Sat, 15 Jun 2002 10:17:35 +0000 (10:17 +0000)]
use trap stuff from sample-test

22 years agonow that $tmp has two components, use mkdir's -p option to create it
Jim Meyering [Sat, 15 Jun 2002 10:16:22 +0000 (10:16 +0000)]
now that $tmp has two components, use mkdir's -p option to create it

22 years agonow that $tmp has two components, use mkdir's -p option to create it
Jim Meyering [Sat, 15 Jun 2002 10:15:00 +0000 (10:15 +0000)]
now that $tmp has two components, use mkdir's -p option to create it

22 years agouse trap stuff from sample-test
Jim Meyering [Sat, 15 Jun 2002 10:04:30 +0000 (10:04 +0000)]
use trap stuff from sample-test

22 years agouse trap stuff from sample-test
Jim Meyering [Sat, 15 Jun 2002 09:58:37 +0000 (09:58 +0000)]
use trap stuff from sample-test

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 09:54:28 +0000 (09:54 +0000)]
*** empty log message ***

22 years ago(trap): in chmod, use u+rwx, not 700
Jim Meyering [Sat, 15 Jun 2002 09:54:08 +0000 (09:54 +0000)]
(trap): in chmod, use u+rwx, not 700

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 09:46:43 +0000 (09:46 +0000)]
*** empty log message ***

22 years ago(trap): Make sure the temporary hierarchy is writable before removing it.
Jim Meyering [Sat, 15 Jun 2002 09:46:32 +0000 (09:46 +0000)]
(trap): Make sure the temporary hierarchy is writable before removing it.

22 years agoUse better trap.
Jim Meyering [Sat, 15 Jun 2002 09:45:05 +0000 (09:45 +0000)]
Use better trap.
  trap 'status=$?; cd $pwd; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0

22 years agoUse quoted here doc by default,
Jim Meyering [Sat, 15 Jun 2002 09:41:47 +0000 (09:41 +0000)]
Use quoted here doc by default,
so e.g., backticks don't need to be escaped.

22 years ago(TESTS): Add perm-1.
Jim Meyering [Sat, 15 Jun 2002 09:40:25 +0000 (09:40 +0000)]
(TESTS): Add perm-1.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 09:40:07 +0000 (09:40 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 08:47:55 +0000 (08:47 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 15 Jun 2002 08:47:25 +0000 (08:47 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 08:47:12 +0000 (08:47 +0000)]
*** empty log message ***

22 years ago(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,
Jim Meyering [Sat, 15 Jun 2002 08:46:59 +0000 (08:46 +0000)]
(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,
so that each temporary file name is unique and valid in the first
8 characters, for operation under DOS.

22 years ago(FILE_TYPE_H): Guard entire contents with #ifndef.
Jim Meyering [Sat, 15 Jun 2002 08:43:45 +0000 (08:43 +0000)]
(FILE_TYPE_H): Guard entire contents with #ifndef.
For GNU libc 2.2 and newer, ensure that <sys/types.h> and <sys/stat.h>
have been included before this file.

22 years agoFor GNU libc 2.2 and newer, ensure that <sys/types.h>
Jim Meyering [Sat, 15 Jun 2002 08:40:55 +0000 (08:40 +0000)]
For GNU libc 2.2 and newer, ensure that <sys/types.h>
has been included before this file.

22 years ago.
Jim Meyering [Sat, 15 Jun 2002 08:04:23 +0000 (08:04 +0000)]
.

22 years agoChange temp file names to accommodate DOS 8.3 file name limitation.
Jim Meyering [Sat, 15 Jun 2002 08:03:24 +0000 (08:03 +0000)]
Change temp file names to accommodate DOS 8.3 file name limitation.

22 years agoChange temp. file name: s/\.err/_err/, for DOS.
Jim Meyering [Sat, 15 Jun 2002 08:02:16 +0000 (08:02 +0000)]
Change temp. file name: s/\.err/_err/, for DOS.

22 years agoChange temp file names to accommodate DOS 8.3 file name limitation.
Jim Meyering [Sat, 15 Jun 2002 08:01:41 +0000 (08:01 +0000)]
Change temp file names to accommodate DOS 8.3 file name limitation.

22 years agoRemove leading `.' from temp. names.
Jim Meyering [Sat, 15 Jun 2002 08:01:20 +0000 (08:01 +0000)]
Remove leading `.' from temp. names.

22 years agoChange temp file names to accommodate DOS 8.3 file name limitation.
Jim Meyering [Sat, 15 Jun 2002 07:56:40 +0000 (07:56 +0000)]
Change temp file names to accommodate DOS 8.3 file name limitation.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 07:37:29 +0000 (07:37 +0000)]
*** empty log message ***

22 years ago(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
Jim Meyering [Sat, 15 Jun 2002 07:37:21 +0000 (07:37 +0000)]
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.

22 years ago(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
Jim Meyering [Sat, 15 Jun 2002 07:36:57 +0000 (07:36 +0000)]
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jun 2002 06:54:05 +0000 (06:54 +0000)]
*** empty log message ***

22 years ago(S_ISNAM): Add to list of S_IS* macros.
Jim Meyering [Sat, 15 Jun 2002 06:53:57 +0000 (06:53 +0000)]
(S_ISNAM): Add to list of S_IS* macros.
Rearrange #if directives for each S_IS macro.
From diffutils-2.8.2.

22 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jun 2002 07:53:01 +0000 (07:53 +0000)]
*** empty log message ***