platform/upstream/coreutils.git
21 years agocksum would perform an extra read after encountering EOF
Jim Meyering [Tue, 18 Feb 2003 08:05:02 +0000 (08:05 +0000)]
cksum would perform an extra read after encountering EOF

(cksum): Exit the loop upon EOF, too.
Patch by Michael Bacarella.

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Feb 2003 08:02:41 +0000 (08:02 +0000)]
*** empty log message ***

21 years agoGeneralize, clean-up, and test for
Jim Meyering [Tue, 18 Feb 2003 07:59:58 +0000 (07:59 +0000)]
Generalize, clean-up, and test for
cat, cksum, md5sum, and sha1sum all in the same loop.

21 years ago.
Jim Meyering [Mon, 17 Feb 2003 17:21:37 +0000 (17:21 +0000)]
.

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

21 years ago(RUN_WITH_BIG_STACK_4): Define.
Jim Meyering [Mon, 17 Feb 2003 17:21:00 +0000 (17:21 +0000)]
(RUN_WITH_BIG_STACK_4): Define.

21 years ago.
Jim Meyering [Mon, 17 Feb 2003 17:17:43 +0000 (17:17 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Feb 2003 16:58:34 +0000 (16:58 +0000)]
*** empty log message ***

21 years agoUndo most of last change.
Jim Meyering [Mon, 17 Feb 2003 16:58:28 +0000 (16:58 +0000)]
Undo most of last change.
Use sysmp instead, since it provides a cleaner interface.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Feb 2003 16:55:44 +0000 (16:55 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_PHYSMEM): Undo last change, since
Jim Meyering [Mon, 17 Feb 2003 16:55:40 +0000 (16:55 +0000)]
(jm_PREREQ_PHYSMEM): Undo last change, since
Kaveh Ghazi found a better way to get the required information.
Add check for sys/sysmp.h.

21 years ago(run): New function, preparing for use of
Jim Meyering [Mon, 17 Feb 2003 08:39:20 +0000 (08:39 +0000)]
(run): New function, preparing for use of
RUN_WITH_BIG_STACK_*

21 years agotweak comment
Jim Meyering [Mon, 17 Feb 2003 08:27:26 +0000 (08:27 +0000)]
tweak comment

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Feb 2003 21:00:07 +0000 (21:00 +0000)]
*** empty log message ***

21 years agoAdd Finnish (fi).
Jim Meyering [Sun, 16 Feb 2003 21:00:01 +0000 (21:00 +0000)]
Add Finnish (fi).

21 years agoversion: 4.5.7
Jim Meyering [Sun, 16 Feb 2003 20:59:16 +0000 (20:59 +0000)]
version: 4.5.7

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Feb 2003 09:00:13 +0000 (09:00 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Add mmap-stack.h.
Jim Meyering [Sun, 16 Feb 2003 09:00:08 +0000 (09:00 +0000)]
(libfetish_a_SOURCES): Add mmap-stack.h.

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Feb 2003 08:59:20 +0000 (08:59 +0000)]
*** empty log message ***

21 years ago(MAP_ANONYMOUS): Use MAP_ANON, if possible.
Jim Meyering [Sun, 16 Feb 2003 08:59:15 +0000 (08:59 +0000)]
(MAP_ANONYMOUS): Use MAP_ANON, if possible.
Initialize `fd' to -1, so Solaris' mmap works with MAP_ANON.

21 years agoadd an assertion
Jim Meyering [Sat, 15 Feb 2003 22:38:32 +0000 (22:38 +0000)]
add an assertion

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 22:33:18 +0000 (22:33 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 22:31:22 +0000 (22:31 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 22:30:46 +0000 (22:30 +0000)]
*** empty log message ***

21 years agoRequire AC_SYS_MMAP_STACK.
Jim Meyering [Sat, 15 Feb 2003 22:29:52 +0000 (22:29 +0000)]
Require AC_SYS_MMAP_STACK.

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 22:29:37 +0000 (22:29 +0000)]
*** empty log message ***

21 years agoI meant mmap-stack.h, not mmap-stack.c.
Jim Meyering [Sat, 15 Feb 2003 22:23:33 +0000 (22:23 +0000)]
I meant mmap-stack.h, not mmap-stack.c.

21 years agoAdd lib/mmap-stack.c
Jim Meyering [Sat, 15 Feb 2003 22:19:49 +0000 (22:19 +0000)]
Add lib/mmap-stack.c

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 22:08:59 +0000 (22:08 +0000)]
*** empty log message ***

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

21 years ago(main) [DEBUG]: New function.
Jim Meyering [Sat, 15 Feb 2003 09:59:27 +0000 (09:59 +0000)]
(main) [DEBUG]: New function.

21 years agoClean up change of a minute ago.
Jim Meyering [Sat, 15 Feb 2003 09:11:49 +0000 (09:11 +0000)]
Clean up change of a minute ago.

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 09:06:13 +0000 (09:06 +0000)]
*** empty log message ***

21 years agoAdd Irix6 support to physmem.c.
Jim Meyering [Sat, 15 Feb 2003 09:06:05 +0000 (09:06 +0000)]
Add Irix6 support to physmem.c.

(jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
and sys/sysinfo.h.
Also check for sysget.

21 years ago*** empty log message ***
Jim Meyering [Sat, 15 Feb 2003 09:05:51 +0000 (09:05 +0000)]
*** empty log message ***

21 years agoAdd Irix6 support to physmem.c.
Jim Meyering [Sat, 15 Feb 2003 09:05:16 +0000 (09:05 +0000)]
Add Irix6 support to physmem.c.

(irix_sysget): New function.
(IRIX_SYSGET_TOTAL, IRIX_SYSGET_AVAILABLE): New macros.
(physmem_total, physmem_available): Use them.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Feb 2003 07:41:42 +0000 (07:41 +0000)]
*** empty log message ***

21 years agoInclude "euidaccess.h".
Jim Meyering [Fri, 14 Feb 2003 07:41:27 +0000 (07:41 +0000)]
Include "euidaccess.h".
Remove declaration of euidaccess.

21 years agohacked from the versions in glibc DU-FTS
Jim Meyering [Thu, 13 Feb 2003 21:28:58 +0000 (21:28 +0000)]
hacked from the versions in glibc

21 years agotweak comment
Jim Meyering [Wed, 12 Feb 2003 20:48:49 +0000 (20:48 +0000)]
tweak comment

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 17:47:55 +0000 (17:47 +0000)]
*** empty log message ***

21 years ago(ACX_C_RESTRICT): Remove #ifndef -- so now this
Jim Meyering [Wed, 12 Feb 2003 17:47:51 +0000 (17:47 +0000)]
(ACX_C_RESTRICT): Remove #ifndef -- so now this
macro also checks for support when using a C++ compiler.
Also, remove the test for SGI's __restrict.
Suggested by Steven G. Johnson.

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 09:27:32 +0000 (09:27 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
Jim Meyering [Wed, 12 Feb 2003 09:24:23 +0000 (09:24 +0000)]
(jm_PREREQ_REGEX): Require ACX_C_RESTRICT.

21 years ago(portable_chars_only): Remove unnecessary `const'
Jim Meyering [Wed, 12 Feb 2003 09:20:47 +0000 (09:20 +0000)]
(portable_chars_only): Remove unnecessary `const'
in cast to avoid warning from icc.  Reported by Alexandre Duret-Lutz.

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 09:11:35 +0000 (09:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 09:03:49 +0000 (09:03 +0000)]
*** empty log message ***

21 years ago(ACX_C_RESTRICT): Minor syntactic changes:
Jim Meyering [Wed, 12 Feb 2003 08:57:34 +0000 (08:57 +0000)]
(ACX_C_RESTRICT): Minor syntactic changes:
Split long lines, use AC_COMPILE_IFELSE, use `case' instead of
nested `if's, remove unnecessary quotes.

21 years agoverbatim from the URL in the comment
Jim Meyering [Wed, 12 Feb 2003 08:54:20 +0000 (08:54 +0000)]
verbatim from the URL in the comment

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Feb 2003 08:24:40 +0000 (08:24 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Feb 2003 23:01:58 +0000 (23:01 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Add euidaccess.h.
Jim Meyering [Mon, 10 Feb 2003 23:01:53 +0000 (23:01 +0000)]
(libfetish_a_SOURCES): Add euidaccess.h.

21 years agoInclude "euidaccess.h".
Jim Meyering [Mon, 10 Feb 2003 22:47:30 +0000 (22:47 +0000)]
Include "euidaccess.h".

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Feb 2003 22:47:24 +0000 (22:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Feb 2003 22:46:44 +0000 (22:46 +0000)]
*** empty log message ***

21 years agodoh
Jim Meyering [Mon, 10 Feb 2003 22:45:59 +0000 (22:45 +0000)]
doh

21 years ago.
Jim Meyering [Mon, 10 Feb 2003 22:45:40 +0000 (22:45 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Feb 2003 13:23:50 +0000 (13:23 +0000)]
*** empty log message ***

21 years agoadd comments and fix dumb typos
Jim Meyering [Mon, 10 Feb 2003 13:19:00 +0000 (13:19 +0000)]
add comments and fix dumb typos

21 years agoDon't include group-member.h.
Jim Meyering [Mon, 10 Feb 2003 09:01:48 +0000 (09:01 +0000)]
Don't include group-member.h.
Include euidaccess.h.
(eaccess): Rewrite function to set the real uid and gid temporarily
to the effective uid and gid, then invoke 'access', and then set the
real uid and gid back.  On systems that lack setreuid or setregid,
fall back on the kludges in euidaccess.  Before, it would not work
for e.g., files with ACLs, files that were marked immutable,
or on file systems mounted read-only.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Feb 2003 08:40:12 +0000 (08:40 +0000)]
*** empty log message ***

21 years ago(jm_CHECK_DECLS): Add euidaccess.
Jim Meyering [Sun, 9 Feb 2003 08:40:09 +0000 (08:40 +0000)]
(jm_CHECK_DECLS): Add euidaccess.

21 years ago(test_stat): Remove function. It's job is done (only
Jim Meyering [Sun, 9 Feb 2003 08:28:59 +0000 (08:28 +0000)]
(test_stat): Remove function.  It's job is done (only
when necessary) by the wrapper in lib/stat.c.

21 years agobump to4.5.8
Jim Meyering [Sun, 9 Feb 2003 07:55:15 +0000 (07:55 +0000)]
bump to4.5.8

21 years ago.
Jim Meyering [Sat, 8 Feb 2003 21:23:24 +0000 (21:23 +0000)]
.

21 years ago. COREUTILS-4_5_7 v4.5.7
Jim Meyering [Sat, 8 Feb 2003 20:49:00 +0000 (20:49 +0000)]
.

21 years ago.
Jim Meyering [Sat, 8 Feb 2003 20:33:03 +0000 (20:33 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Feb 2003 20:31:56 +0000 (20:31 +0000)]
*** empty log message ***

21 years ago(Mode Structure): Mention filesystem-specific
Jim Meyering [Sat, 8 Feb 2003 20:31:48 +0000 (20:31 +0000)]
(Mode Structure): Mention filesystem-specific
permissions and that mounting a filesystem as read-only may
override actual file permissions.  Use @command instead
of @code for program names.

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

21 years agoDon't assume that the file owner username length is less than 9
Jim Meyering [Sat, 8 Feb 2003 20:08:55 +0000 (20:08 +0000)]
Don't assume that the file owner username length is less than 9
in ls output: instead, omit that field altogether.

21 years ago.
Jim Meyering [Sat, 8 Feb 2003 20:01:19 +0000 (20:01 +0000)]
.

21 years ago.
Jim Meyering [Sat, 8 Feb 2003 20:00:53 +0000 (20:00 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Feb 2003 18:20:01 +0000 (18:20 +0000)]
*** empty log message ***

21 years ago(ftw_startup): Don't shadow outer declaration of save_err.
Jim Meyering [Sat, 8 Feb 2003 18:19:57 +0000 (18:19 +0000)]
(ftw_startup): Don't shadow outer declaration of save_err.
Merge inconsequential changes from libc.

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

21 years ago.
Jim Meyering [Sat, 8 Feb 2003 18:08:54 +0000 (18:08 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Feb 2003 18:08:20 +0000 (18:08 +0000)]
*** empty log message ***

21 years ago(TESTS): Add restore-wd.
Jim Meyering [Sat, 8 Feb 2003 18:08:16 +0000 (18:08 +0000)]
(TESTS): Add restore-wd.

21 years agoNew test for just-fixed bug in ftw.c.
Jim Meyering [Sat, 8 Feb 2003 18:07:45 +0000 (18:07 +0000)]
New test for just-fixed bug in ftw.c.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Feb 2003 17:07:41 +0000 (17:07 +0000)]
*** empty log message ***

21 years ago(ftw_startup): When using FTW_CHDIR, always remember
Jim Meyering [Sat, 8 Feb 2003 17:07:38 +0000 (17:07 +0000)]
(ftw_startup): When using FTW_CHDIR, always remember
the current directory, not just when DIR contains a slash.

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

21 years agoCorrect now-invalid comment about cycle-detection.
Jim Meyering [Sat, 8 Feb 2003 16:50:00 +0000 (16:50 +0000)]
Correct now-invalid comment about cycle-detection.

21 years agoUse @command instead of @code for program names.
Jim Meyering [Fri, 7 Feb 2003 18:00:19 +0000 (18:00 +0000)]
Use @command instead of @code for program names.

21 years agofix typo in entry from 2003-02-02
Jim Meyering [Fri, 7 Feb 2003 09:39:57 +0000 (09:39 +0000)]
fix typo in entry from 2003-02-02

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Feb 2003 09:28:58 +0000 (09:28 +0000)]
*** empty log message ***

21 years agoMerge inconsequential changes from libc.
Jim Meyering [Fri, 7 Feb 2003 09:28:50 +0000 (09:28 +0000)]
Merge inconsequential changes from libc.

Include limits.h earlier.
Move PATH_MAX definition `down' a little; add comment.
Rename local, saved_errno to save_err.

21 years ago.
Jim Meyering [Thu, 6 Feb 2003 20:59:02 +0000 (20:59 +0000)]
.

21 years agoadd entries from old/*/NEWS
Jim Meyering [Thu, 6 Feb 2003 14:36:26 +0000 (14:36 +0000)]
add entries from old/*/NEWS
  from fileutils-4.1 through 4.1.11 and
  from sh-utils-2.0 through 2.0.15.
Thanks, Karl.

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

21 years agobump to 4.5.7
Jim Meyering [Thu, 6 Feb 2003 14:28:53 +0000 (14:28 +0000)]
bump to 4.5.7

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

21 years agoAdjust alignment and mention `file, text, shell'
Jim Meyering [Thu, 6 Feb 2003 14:27:14 +0000 (14:27 +0000)]
Adjust alignment and mention `file, text, shell'
on the `* Coreutils:...' dirently line.  From Karl Berry.

21 years ago.
Jim Meyering [Thu, 6 Feb 2003 13:22:53 +0000 (13:22 +0000)]
.

21 years ago*** empty log message *** COREUTILS-4_5_6 v4.5.6
Jim Meyering [Thu, 6 Feb 2003 13:06:33 +0000 (13:06 +0000)]
*** empty log message ***

21 years agoInclude <unistd.h>. On some systems,
Jim Meyering [Thu, 6 Feb 2003 13:06:29 +0000 (13:06 +0000)]
Include <unistd.h>.  On some systems,
it is required for the definition of _SC_PAGESIZE.

21 years agoRemove declaration of statfs.
Jim Meyering [Thu, 6 Feb 2003 10:25:43 +0000 (10:25 +0000)]
Remove declaration of statfs.
It conflicted with one from OSF/1 5.1 in <sys/mount.h>.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Feb 2003 10:25:21 +0000 (10:25 +0000)]
*** empty log message ***