platform/upstream/coreutils.git
19 years agoRegenerate.
Paul Eggert [Tue, 22 Feb 2005 07:21:57 +0000 (07:21 +0000)]
Regenerate.

19 years agoFix clock_gettime library access problem on recent GNU/Linux systems.
Paul Eggert [Tue, 22 Feb 2005 07:19:43 +0000 (07:19 +0000)]
Fix clock_gettime library access problem on recent GNU/Linux systems.

19 years ago(dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME).
Paul Eggert [Tue, 22 Feb 2005 07:10:07 +0000 (07:10 +0000)]
(dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME).
(nanosec_libs): Add $(LIB_XNANOSLEEP).  Needed for newer GNU/Linux
hosts with clock_gettime.

19 years ago(gl_PREREQ): Require gl_XNANOSLEEP.
Paul Eggert [Tue, 22 Feb 2005 07:09:37 +0000 (07:09 +0000)]
(gl_PREREQ): Require gl_XNANOSLEEP.

19 years ago(gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
Paul Eggert [Tue, 22 Feb 2005 07:09:13 +0000 (07:09 +0000)]
(gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
gl_USE_SYSTEM_EXTENSIONS.  Check whether CLOCK_MONOTONIC is
defined, and set LIB_GETHRXTIME accordingly.  This is needed
for newer GNU/Linux systems that have clock_gettime, so that they
link in the appropriate library for it when needed.

19 years ago(libfetish_a_SOURCES): Remove xnanosleep.c,
Paul Eggert [Tue, 22 Feb 2005 07:08:43 +0000 (07:08 +0000)]
(libfetish_a_SOURCES): Remove xnanosleep.c,
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.

19 years agoInitial revision.
Paul Eggert [Tue, 22 Feb 2005 07:06:47 +0000 (07:06 +0000)]
Initial revision.

19 years agoRegenerate.
Paul Eggert [Mon, 21 Feb 2005 08:26:21 +0000 (08:26 +0000)]
Regenerate.

19 years agoDescribe recent changes to use realtime clocks if available,
Paul Eggert [Mon, 21 Feb 2005 08:20:15 +0000 (08:20 +0000)]
Describe recent changes to use realtime clocks if available,
when appropriate; also, gettime now returns void.

19 years ago(time): Remove obsolete decl.
Paul Eggert [Mon, 21 Feb 2005 08:17:00 +0000 (08:17 +0000)]
(time): Remove obsolete decl.
(main): Gettime now returns void.

19 years agoInclude gethrxtime.h.
Paul Eggert [Mon, 21 Feb 2005 08:15:45 +0000 (08:15 +0000)]
Include gethrxtime.h.
(isaac_seed): Use gethrxtime rather than a mishmash.

19 years ago(time): Remove obsolete decl.
Paul Eggert [Mon, 21 Feb 2005 08:15:10 +0000 (08:15 +0000)]
(time): Remove obsolete decl.
(get_current_time): gettimeofday always returns 0, so don't
check its result.

19 years agoInclude gethrxtime.h, xtime.h.
Paul Eggert [Mon, 21 Feb 2005 08:14:40 +0000 (08:14 +0000)]
Include gethrxtime.h, xtime.h.
(start_time): Now of type xtime_t, not struct timespec.
(print_stats, main): Use gethrxtime rather than gettime.

19 years ago(main): gettime now returns void.
Paul Eggert [Mon, 21 Feb 2005 08:14:13 +0000 (08:14 +0000)]
(main): gettime now returns void.

19 years ago(dd_LDADD, shred_LDADD, nanosec_libs):
Paul Eggert [Mon, 21 Feb 2005 08:13:12 +0000 (08:13 +0000)]
(dd_LDADD, shred_LDADD, nanosec_libs):
Remove $(LIB_CLOCK_GETTIME).  These functions now use
gethrxtime instead.

19 years ago(gl_PREREQ): Require gl_GETHRXTIME.
Paul Eggert [Mon, 21 Feb 2005 08:12:37 +0000 (08:12 +0000)]
(gl_PREREQ): Require gl_GETHRXTIME.
Require gl_STRIPSLASH and gl_LINEBUFFER.

19 years ago(gl_MACROS): Don't check for gethrtime.
Paul Eggert [Mon, 21 Feb 2005 08:11:54 +0000 (08:11 +0000)]
(gl_MACROS): Don't check for gethrtime.

19 years ago(gl_GETTIME): Check for nanotime.
Paul Eggert [Mon, 21 Feb 2005 08:11:19 +0000 (08:11 +0000)]
(gl_GETTIME): Check for nanotime.

19 years agoInclude xtime.h and gethrxtime.h, not xalloc.h.
Paul Eggert [Mon, 21 Feb 2005 08:10:47 +0000 (08:10 +0000)]
Include xtime.h and gethrxtime.h, not xalloc.h.
(timespec_subtract): Remove.
(NANOSLEEP_BUG_WORKAROUND): New constant.
(xnanosleep): Use gethrxtime rather than gettime; this simplifies
things considerably.  Use it only on GNU/Linux hosts, since the
workaround shouldn't be needed elsewhere.

19 years ago(gettime): Return void, since it always
Paul Eggert [Mon, 21 Feb 2005 08:10:11 +0000 (08:10 +0000)]
(gettime): Return void, since it always
succeeds now.  All uses changed.

19 years ago(gettime) Return void, since it always
Paul Eggert [Mon, 21 Feb 2005 08:09:30 +0000 (08:09 +0000)]
(gettime) Return void, since it always
succeeds now.  All uses changed.
[HAVE_NANOTIME]: Prefer nanotime.
Assume gettimeofday succeeds, as POSIX requires.
Assime time () succeeds, since other code already does.

19 years ago(get_date): gettime now returns void, not int.
Paul Eggert [Mon, 21 Feb 2005 08:08:38 +0000 (08:08 +0000)]
(get_date): gettime now returns void, not int.

19 years agodd now uses a real-time clock if available, for transfer statistics.
Paul Eggert [Mon, 21 Feb 2005 08:07:28 +0000 (08:07 +0000)]
dd now uses a real-time clock if available, for transfer statistics.

19 years agoInitial revision.
Paul Eggert [Mon, 21 Feb 2005 08:05:49 +0000 (08:05 +0000)]
Initial revision.

19 years agoDon't assume that the current host supports 64-bit integers.
Paul Eggert [Mon, 21 Feb 2005 07:22:49 +0000 (07:22 +0000)]
Don't assume that the current host supports 64-bit integers.

19 years agoDon't assume that the current host supports integers wider than 32
Paul Eggert [Mon, 21 Feb 2005 07:12:37 +0000 (07:12 +0000)]
Don't assume that the current host supports integers wider than 32
bits.  Fix comment typo.

19 years ago(enum RCH_status): Remove trailing comma,
Paul Eggert [Mon, 21 Feb 2005 06:57:45 +0000 (06:57 +0000)]
(enum RCH_status): Remove trailing comma,
as it's not valid in standard C89.

19 years ago*** empty log message ***
Jim Meyering [Sun, 20 Feb 2005 16:33:43 +0000 (16:33 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sun, 20 Feb 2005 16:33:11 +0000 (16:33 +0000)]
*** empty log message ***

19 years ago(xgethostname): Check for ENOMEM, which is
Jim Meyering [Sun, 20 Feb 2005 16:33:03 +0000 (16:33 +0000)]
(xgethostname): Check for ENOMEM, which is
returned by OSX/Darwin if the specified buffer is not large
enough for the hostname.

19 years agoupdate from gnulib
Jim Meyering [Sun, 20 Feb 2005 14:10:28 +0000 (14:10 +0000)]
update from gnulib

19 years ago*** empty log message ***
Jim Meyering [Sun, 20 Feb 2005 12:25:52 +0000 (12:25 +0000)]
*** empty log message ***

19 years ago(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.
Jim Meyering [Sun, 20 Feb 2005 12:25:43 +0000 (12:25 +0000)]
(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.

19 years ago*** empty log message ***
Jim Meyering [Sun, 20 Feb 2005 12:24:52 +0000 (12:24 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sun, 20 Feb 2005 12:23:33 +0000 (12:23 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Thu, 17 Feb 2005 20:28:22 +0000 (20:28 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 12:33:35 +0000 (12:33 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 12:29:47 +0000 (12:29 +0000)]
*** empty log message ***

19 years agoregenerate
Jim Meyering [Tue, 15 Feb 2005 12:29:22 +0000 (12:29 +0000)]
regenerate

19 years ago(human_fstype): Add case/definition for S_MAGIC_JFS
Jim Meyering [Tue, 15 Feb 2005 12:23:40 +0000 (12:23 +0000)]
(human_fstype): Add case/definition for S_MAGIC_JFS
so that file systems of type `jfs' are recognized as such.

19 years agoregen for XFS
Jim Meyering [Tue, 15 Feb 2005 09:01:34 +0000 (09:01 +0000)]
regen for XFS

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 08:58:05 +0000 (08:58 +0000)]
*** empty log message ***

19 years ago(human_fstype): Add case/definition for S_MAGIC_XFS
Jim Meyering [Tue, 15 Feb 2005 08:57:59 +0000 (08:57 +0000)]
(human_fstype): Add case/definition for S_MAGIC_XFS
so that file systems of type `xfs' are recognized as such.

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 08:56:43 +0000 (08:56 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 08:20:55 +0000 (08:20 +0000)]
*** empty log message ***

19 years ago(NZERO) [NZERO == 0]: Undefine and define to 20,
Jim Meyering [Tue, 15 Feb 2005 08:20:49 +0000 (08:20 +0000)]
(NZERO) [NZERO == 0]: Undefine and define to 20,
to work around the invalid definition from Darwin 7.7.0.

19 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2005 08:18:26 +0000 (08:18 +0000)]
*** empty log message ***

19 years agoAdd James Lemley.
Paul Eggert [Mon, 14 Feb 2005 18:15:41 +0000 (18:15 +0000)]
Add James Lemley.

19 years ago* src/sort.c (mergefps): Use binary search rather than linear.
Paul Eggert [Mon, 14 Feb 2005 18:04:43 +0000 (18:04 +0000)]
* src/sort.c (mergefps): Use binary search rather than linear.

19 years ago(mergefps): Use binary search rather than linear one
Paul Eggert [Mon, 14 Feb 2005 18:04:22 +0000 (18:04 +0000)]
(mergefps): Use binary search rather than linear one
when comparing new line to lines already in main memory.

19 years ago.
Jim Meyering [Sun, 13 Feb 2005 08:15:24 +0000 (08:15 +0000)]
.

19 years ago(gl_INTTOSTR): Use AC_LIBSOURCES to list the required source files.
Jim Meyering [Fri, 11 Feb 2005 20:27:16 +0000 (20:27 +0000)]
(gl_INTTOSTR): Use AC_LIBSOURCES to list the required source files.

19 years ago*** empty log message ***
Jim Meyering [Fri, 11 Feb 2005 20:27:02 +0000 (20:27 +0000)]
*** empty log message ***

19 years agoRemove names of files that are now mentioned in AC_LIBSOURCES
Jim Meyering [Fri, 11 Feb 2005 20:26:57 +0000 (20:26 +0000)]
Remove names of files that are now mentioned in AC_LIBSOURCES
and AC_LIBOBJ uses in inttostr.m4.

(libfetish_a_SOURCES): Remove imaxtostr.c,
offtostr.c, and umaxtostr.c.
(EXTRA_DIST): Remove inttostr.c and inttostr.h.

19 years ago*** empty log message ***
Jim Meyering [Wed, 9 Feb 2005 09:59:57 +0000 (09:59 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the required source files.
Jim Meyering [Wed, 9 Feb 2005 09:59:53 +0000 (09:59 +0000)]
(gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the required source files.

19 years ago.
Jim Meyering [Wed, 9 Feb 2005 09:58:07 +0000 (09:58 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Wed, 9 Feb 2005 09:01:48 +0000 (09:01 +0000)]
*** empty log message ***

19 years ago * src/copy.c (valid_options): Add an assertion that
Jim Meyering [Wed, 9 Feb 2005 09:01:44 +0000 (09:01 +0000)]
* src/copy.c (valid_options): Add an assertion that
not both hard_link and symbolic_link are set.

19 years agostat -f -c %S.
Paul Eggert [Tue, 8 Feb 2005 21:39:23 +0000 (21:39 +0000)]
stat -f -c %S.

19 years ago(STATFS_FRSIZE): New macro.
Paul Eggert [Tue, 8 Feb 2005 21:38:53 +0000 (21:38 +0000)]
(STATFS_FRSIZE): New macro.
(print_statfs): Use it to implement %S.
(do_statfs): Change default formats to include %S.
(usage): Document %S (versus %s).

19 years ago(stat invocation): Document stat -f -c %S (versus %s).
Paul Eggert [Tue, 8 Feb 2005 21:38:04 +0000 (21:38 +0000)]
(stat invocation): Document stat -f -c %S (versus %s).

19 years agoDocument stat -f -c %S, plus changes to default formats.
Paul Eggert [Tue, 8 Feb 2005 21:37:26 +0000 (21:37 +0000)]
Document stat -f -c %S, plus changes to default formats.

19 years ago* doc/coreutils.texi (stat invocation): Match stat --usage better.
Paul Eggert [Tue, 8 Feb 2005 20:46:52 +0000 (20:46 +0000)]
* doc/coreutils.texi (stat invocation): Match stat --usage better.
* src/stat.c (usage): Match doc better.
Say that %s is the "Fundamental block size".

19 years ago(usage): Normalize terminology, capitalization, and sort order to
Paul Eggert [Tue, 8 Feb 2005 20:45:03 +0000 (20:45 +0000)]
(usage): Normalize terminology, capitalization, and sort order to
match manual.  Say that %s is the "Fundamental block size", since that
is what POSIX says.

19 years ago(stat invocation): Normalize terminology,
Paul Eggert [Tue, 8 Feb 2005 20:44:28 +0000 (20:44 +0000)]
(stat invocation): Normalize terminology,
capitalization, and sort order to match --help output.  Mention %c
for file systems.  Say that %s is the "Fundamental block size",
since that is what POSIX says.

19 years ago*** empty log message ***
Jim Meyering [Tue, 8 Feb 2005 09:56:22 +0000 (09:56 +0000)]
*** empty log message ***

19 years ago(libfetish_a_SOURCES): Remove memcasecmp.c and memcasecmp.h.
Jim Meyering [Tue, 8 Feb 2005 09:56:15 +0000 (09:56 +0000)]
(libfetish_a_SOURCES): Remove memcasecmp.c and memcasecmp.h.

19 years agoRequire gl_FUNC_MEMCASECMP.
Jim Meyering [Tue, 8 Feb 2005 09:55:39 +0000 (09:55 +0000)]
Require gl_FUNC_MEMCASECMP.

19 years ago*** empty log message ***
Jim Meyering [Tue, 8 Feb 2005 09:55:05 +0000 (09:55 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_MEMCASECMP): New file and macro.
Jim Meyering [Tue, 8 Feb 2005 09:55:00 +0000 (09:55 +0000)]
(gl_FUNC_MEMCASECMP): New file and macro.

19 years agoremove vestigial `closeout'
Jim Meyering [Tue, 8 Feb 2005 09:43:24 +0000 (09:43 +0000)]
remove vestigial `closeout'

19 years agoUse AC_REQUIRE where possible, and _ONCE-suffixed versions of macros.
Jim Meyering [Mon, 7 Feb 2005 16:54:14 +0000 (16:54 +0000)]
Use AC_REQUIRE where possible, and _ONCE-suffixed versions of macros.

19 years ago(vasnprintf) [!USE_SNPRINTF]: Correct the test for integer overflow.
Jim Meyering [Mon, 7 Feb 2005 16:49:58 +0000 (16:49 +0000)]
(vasnprintf) [!USE_SNPRINTF]: Correct the test for integer overflow.

19 years ago*** empty log message ***
Jim Meyering [Mon, 7 Feb 2005 16:47:49 +0000 (16:47 +0000)]
*** empty log message ***

19 years ago(libfetish_a_SOURCES): Remove fts.c, fts_.h, and
Jim Meyering [Mon, 7 Feb 2005 16:47:39 +0000 (16:47 +0000)]
(libfetish_a_SOURCES): Remove fts.c, fts_.h, and
getcwd.h now that they're mentioned in AC_LIBSOURCES and AC_LIBOBJ
uses in the corresponding ../m4/*.m4.

19 years ago*** empty log message ***
Jim Meyering [Mon, 7 Feb 2005 16:45:32 +0000 (16:45 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_FTS): New file and macro.
Jim Meyering [Mon, 7 Feb 2005 16:45:27 +0000 (16:45 +0000)]
(gl_FUNC_FTS): New file and macro.

19 years agoRequire gl_FUNC_FTS.
Jim Meyering [Mon, 7 Feb 2005 16:45:19 +0000 (16:45 +0000)]
Require gl_FUNC_FTS.

19 years ago*** empty log message ***
Jim Meyering [Sun, 6 Feb 2005 18:22:47 +0000 (18:22 +0000)]
*** empty log message ***

19 years ago(gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.
Jim Meyering [Sun, 6 Feb 2005 18:22:42 +0000 (18:22 +0000)]
(gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.

19 years ago(gl_FUNC_MEMRCHR): Check for declaration of memrchr.
Jim Meyering [Sun, 6 Feb 2005 18:22:19 +0000 (18:22 +0000)]
(gl_FUNC_MEMRCHR): Check for declaration of memrchr.

19 years agos/MD5 and SHA1 signatures/MD5 and SHA1 checksums/
Jim Meyering [Sun, 6 Feb 2005 18:19:17 +0000 (18:19 +0000)]
s/MD5 and SHA1 signatures/MD5 and SHA1 checksums/

19 years agoRegenerate.
Paul Eggert [Thu, 3 Feb 2005 21:55:40 +0000 (21:55 +0000)]
Regenerate.

19 years agoDefine and use new file memrchr.h.
Paul Eggert [Thu, 3 Feb 2005 21:48:35 +0000 (21:48 +0000)]
Define and use new file memrchr.h.

19 years ago* memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
Paul Eggert [Thu, 3 Feb 2005 21:47:43 +0000 (21:47 +0000)]
* memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.

19 years ago* src/system.h: Include "memrchr.h".
Paul Eggert [Thu, 3 Feb 2005 21:46:31 +0000 (21:46 +0000)]
* src/system.h: Include "memrchr.h".

19 years agoInclude "memrchr.h".
Paul Eggert [Thu, 3 Feb 2005 21:34:34 +0000 (21:34 +0000)]
Include "memrchr.h".
(memrchr) [!HAVE_DECL_MEMRCHR]: Remove decl.

19 years ago(gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
Paul Eggert [Thu, 3 Feb 2005 21:34:06 +0000 (21:34 +0000)]
(gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.

19 years ago[!defined _LIBC]: Include "memrchr.h" rather than <string.h>.
Paul Eggert [Thu, 3 Feb 2005 21:33:40 +0000 (21:33 +0000)]
[!defined _LIBC]: Include "memrchr.h" rather than <string.h>.
Don't bother including stddef.h.

19 years agoInclude memrchr.h.
Paul Eggert [Thu, 3 Feb 2005 21:33:02 +0000 (21:33 +0000)]
Include memrchr.h.

19 years agoInitial revision
Paul Eggert [Thu, 3 Feb 2005 21:32:34 +0000 (21:32 +0000)]
Initial revision

19 years ago*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 14:14:36 +0000 (14:14 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 14:14:31 +0000 (14:14 +0000)]
*** empty log message ***

19 years ago Check for $2 -ge 128, rather than $2 = 128, in case
Jim Meyering [Wed, 2 Feb 2005 14:14:28 +0000 (14:14 +0000)]
Check for $2 -ge 128, rather than $2 = 128, in case
there is a file system type that doesn't support sparse files,
yet for which metadata takes up additional space.

19 years agoAlso adjust the test to detect systems that don't support sparse files.
Jim Meyering [Wed, 2 Feb 2005 13:10:23 +0000 (13:10 +0000)]
Also adjust the test to detect systems that don't support sparse files.

19 years ago*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 08:30:27 +0000 (08:30 +0000)]
*** empty log message ***

19 years agoDetect sparse files on NTFS under cygwin.
Jim Meyering [Wed, 2 Feb 2005 08:30:08 +0000 (08:30 +0000)]
Detect sparse files on NTFS under cygwin.

19 years agomountlist.h, mountlist.h cleanup, and add support for subfs.
Paul Eggert [Tue, 1 Feb 2005 23:59:45 +0000 (23:59 +0000)]
mountlist.h, mountlist.h cleanup, and add support for subfs.

19 years ago(MOUNTLIST_H_): New macro, to protect against double inclusion.
Paul Eggert [Tue, 1 Feb 2005 23:58:30 +0000 (23:58 +0000)]
(MOUNTLIST_H_): New macro, to protect against double inclusion.
Include <sys/types.h>, for dev_t.
(ME_DUMMY, ME_REMOTE): Move to mountlist.c.