Jim Meyering [Sat, 12 Nov 2005 19:11:27 +0000 (19:11 +0000)]
.
Jim Meyering [Sat, 12 Nov 2005 19:11:17 +0000 (19:11 +0000)]
Update from gnulib.
Jim Meyering [Sat, 12 Nov 2005 10:16:50 +0000 (10:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 10:06:34 +0000 (10:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 10:06:29 +0000 (10:06 +0000)]
Emulate openat-family functions using Linux's procfs, if possible.
Idea and some code from Ulrich Drepper's glibc changes.
(BUILD_PROC_NAME): New macro.
Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h".
(rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s,
before falling back on save_cwd and restore_cwd.
(fdopendir, fstatat, unlinkat): Likewise.
Jim Meyering [Sat, 12 Nov 2005 08:54:17 +0000 (08:54 +0000)]
s/expensive/very expensive/ in a comment.
Jim Meyering [Sat, 12 Nov 2005 08:39:27 +0000 (08:39 +0000)]
remove now-unused file
Jim Meyering [Sat, 12 Nov 2005 08:36:52 +0000 (08:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 08:29:35 +0000 (08:29 +0000)]
.
Jim Meyering [Fri, 11 Nov 2005 17:16:30 +0000 (17:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Nov 2005 17:16:01 +0000 (17:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Nov 2005 17:15:06 +0000 (17:15 +0000)]
Mention `readlink -f' bug fix in 5.3.0 news.
Mention new readlink options in `New features' section.
Jim Meyering [Thu, 10 Nov 2005 23:20:09 +0000 (23:20 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Nov 2005 23:20:05 +0000 (23:20 +0000)]
(fstatat, unlinkat): Perform the syscall directly,
skipping the save_cwd...restore_cwd overhead, if FILE is absolute.
Paul Eggert [Thu, 10 Nov 2005 20:21:07 +0000 (20:21 +0000)]
(gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
or gettimeofday; no longer needed.
Paul Eggert [Thu, 10 Nov 2005 20:20:51 +0000 (20:20 +0000)]
gethrxtime now uses gettime
Paul Eggert [Thu, 10 Nov 2005 20:20:31 +0000 (20:20 +0000)]
Fix comment
Paul Eggert [Thu, 10 Nov 2005 20:20:20 +0000 (20:20 +0000)]
Include "timespec.h" rather than the sys/time / time
business.
(gethrxtime) [! (HAVE_NANOUPTIME
|| (defined CLOCK_MONOTONIC && HAVE_CLOCK_GETTIME)
|| HAVE_MICROUPTIME)]: Fall back on gettime rather than rolling
our own approximation.
Paul Eggert [Thu, 10 Nov 2005 20:20:02 +0000 (20:20 +0000)]
gethrxtime now uses gettime
Jim Meyering [Wed, 9 Nov 2005 20:53:41 +0000 (20:53 +0000)]
Use /dev/full if possible for descriptor 0 -- like glibc now does.
Fall back on /dev/null if opening /dev/full fails.
Jim Meyering [Tue, 8 Nov 2005 21:11:00 +0000 (21:11 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Nov 2005 21:10:52 +0000 (21:10 +0000)]
Merge in changes from b5_9x branch.
Paul Eggert [Tue, 8 Nov 2005 21:00:10 +0000 (21:00 +0000)]
ls now defaults to --time-style='locale', which in turn acts
like --time-style='posix-long-iso' if the locale settings are messed up.
Paul Eggert [Tue, 8 Nov 2005 20:59:49 +0000 (20:59 +0000)]
(decode_switches): ls now defaults to --time-style='locale', which in
turn acts like --time-style='posix-long-iso' if the locale settings
are messed up.
Paul Eggert [Tue, 8 Nov 2005 20:59:19 +0000 (20:59 +0000)]
(Formatting file timestamps): ls now defaults to
--time-style='locale', which in turn acts like
--time-style='posix-long-iso' if the locale settings are messed up.
Paul Eggert [Tue, 8 Nov 2005 20:58:57 +0000 (20:58 +0000)]
ls now defaults to --time-style='locale'.
Jim Meyering [Tue, 8 Nov 2005 08:20:04 +0000 (08:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Nov 2005 08:19:57 +0000 (08:19 +0000)]
s/expensive/very expensive/ in a comment.
Jim Meyering [Mon, 7 Nov 2005 21:42:30 +0000 (21:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Nov 2005 21:42:26 +0000 (21:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Nov 2005 21:42:23 +0000 (21:42 +0000)]
(usage): Fix descriptions of --sort, --time.
Jim Meyering [Mon, 7 Nov 2005 21:39:40 +0000 (21:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Nov 2005 09:35:16 +0000 (09:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Nov 2005 09:34:57 +0000 (09:34 +0000)]
Include filenamecat.c.
(FILE_BASENAME_CONCAT): Remove.
(do_link): Remove last arg DEST_IS_DIR. All callers changed.
(main): Use file_name_concat, base_name, and strip_trailing_slashes
instead of FILE_BASENAME_CONCAT. This simplifies the code, and avoids
the use of alloca.
Jim Meyering [Fri, 4 Nov 2005 10:15:01 +0000 (10:15 +0000)]
.
Jim Meyering [Fri, 4 Nov 2005 10:14:53 +0000 (10:14 +0000)]
.
Jim Meyering [Fri, 4 Nov 2005 10:10:54 +0000 (10:10 +0000)]
mention the du bug fix
Jim Meyering [Fri, 4 Nov 2005 10:10:36 +0000 (10:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 10:08:54 +0000 (10:08 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 10:08:51 +0000 (10:08 +0000)]
(process_file): Don't overflow for files of size >= 2^31
on systems with stat.st_blocks of a signed 32-bit type.
This bug causes trouble on some AIX 5.1 systems.
Report and trivial patch from Paul Townsend:
<http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00033.html>
Jim Meyering [Fri, 4 Nov 2005 10:02:36 +0000 (10:02 +0000)]
fix typo in comment
Jim Meyering [Fri, 4 Nov 2005 09:58:29 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 09:56:38 +0000 (09:56 +0000)]
Mark this test as `very-expensive'
Jim Meyering [Fri, 4 Nov 2005 09:54:59 +0000 (09:54 +0000)]
mark this as a very-expensive test
Jim Meyering [Fri, 4 Nov 2005 09:54:15 +0000 (09:54 +0000)]
(TESTS): Add 2g.
Jim Meyering [Fri, 4 Nov 2005 09:53:17 +0000 (09:53 +0000)]
Test for a bug that bites at least on AIX 5.1 systems.
Jim Meyering [Fri, 4 Nov 2005 09:52:09 +0000 (09:52 +0000)]
just like expensive, but `very'
Jim Meyering [Fri, 4 Nov 2005 09:51:42 +0000 (09:51 +0000)]
(EXTRA_DIST): Add very-expensive.
Paul Eggert [Wed, 2 Nov 2005 21:56:49 +0000 (21:56 +0000)]
rm -d no longer has any effect, and we plan to remove it (and maybe ln -d).
Paul Eggert [Wed, 2 Nov 2005 21:53:20 +0000 (21:53 +0000)]
(usage): Don't mention rm -d.
Paul Eggert [Wed, 2 Nov 2005 21:52:33 +0000 (21:52 +0000)]
(rm_option_init): Don't initialize unlink_dirs member, which went away.
Paul Eggert [Wed, 2 Nov 2005 21:51:57 +0000 (21:51 +0000)]
(struct rm_options): Remove unlink_dirs.
Paul Eggert [Wed, 2 Nov 2005 21:51:35 +0000 (21:51 +0000)]
(rm invocation): Don't mention --directory (-d).
Paul Eggert [Wed, 2 Nov 2005 21:51:16 +0000 (21:51 +0000)]
Mention that rm -d and maybe ln -d are scheduled for
removal in 2006.
Jim Meyering [Wed, 2 Nov 2005 21:29:32 +0000 (21:29 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 21:29:28 +0000 (21:29 +0000)]
Fix typo in comment: s/fileutils/coreutils.
Jim Meyering [Wed, 2 Nov 2005 20:45:24 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 20:44:59 +0000 (20:44 +0000)]
Redirect stderr to /dev/null so the
M+N records in/out don't pollute `make check' output.
Jim Meyering [Wed, 2 Nov 2005 20:37:10 +0000 (20:37 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 20:36:36 +0000 (20:36 +0000)]
(sk-seek4): New test, to exercise the bug
fixed on 2005-10-31. This test uses the new, IN_PIPE specifier.
Jim Meyering [Wed, 2 Nov 2005 20:35:52 +0000 (20:35 +0000)]
Accept a new type of input specifier: IN_PIPE,
to indicate that the input file should be piped into the command
under test (via `cat FILE | $prog ...').
Jim Meyering [Wed, 2 Nov 2005 10:04:14 +0000 (10:04 +0000)]
.
Jim Meyering [Wed, 2 Nov 2005 09:58:43 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 09:47:39 +0000 (09:47 +0000)]
(remove_entry): Emit a better diagnostic when rm
(without -r) fails to remove a directory on a non-Linux system.
This change affects only newer Solaris systems (with priv_*
functions like priv_allocset). Reported by Keith Thompson.
Jim Meyering [Wed, 2 Nov 2005 09:38:38 +0000 (09:38 +0000)]
test for today's fix
Jim Meyering [Wed, 2 Nov 2005 09:38:16 +0000 (09:38 +0000)]
(TESTS): Add dir-nonrecur.
Paul Eggert [Tue, 1 Nov 2005 23:43:38 +0000 (23:43 +0000)]
"touch
0101000000" now operates as POSIX 1002.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:42:57 +0000 (23:42 +0000)]
Add y2000 test.
Paul Eggert [Tue, 1 Nov 2005 23:42:36 +0000 (23:42 +0000)]
(main): Pass PDS_PRE_2000 to posixtime.
Paul Eggert [Tue, 1 Nov 2005 23:42:16 +0000 (23:42 +0000)]
(PDS_PRE_2000): New macro.
Paul Eggert [Tue, 1 Nov 2005 23:41:56 +0000 (23:41 +0000)]
(year): Arg is now syntax_bits rather than allow_century.
All usages changed. Reject dates outside the range 1969-1999 if
PDS_PRE_2000 is used.
Paul Eggert [Tue, 1 Nov 2005 23:41:33 +0000 (23:41 +0000)]
(touch invocation): The old usage works only for 1969-1999 now.
Paul Eggert [Tue, 1 Nov 2005 23:41:13 +0000 (23:41 +0000)]
"touch
0101000000" now operates as POSIX 1003.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:06:32 +0000 (23:06 +0000)]
"tail -c 2 FILE" now operates as POSIX 1003.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:05:52 +0000 (23:05 +0000)]
(c-2, c-2-minus, c2, c2-minus): New tests.
(test_vector): Add special cases for _POSIX2_VERSION, and
regularize the old ones a bit.
Paul Eggert [Tue, 1 Nov 2005 23:05:29 +0000 (23:05 +0000)]
(parse_obsolete_option): Implement fix for "tail -c 2 FILE".
Paul Eggert [Tue, 1 Nov 2005 23:05:00 +0000 (23:05 +0000)]
(tail invocation): Describe obsolete usages
like "tail -2" more precisely.
Paul Eggert [Tue, 1 Nov 2005 23:04:37 +0000 (23:04 +0000)]
tail -c 2 FILE now operates as POSIX 1002.1-2001 requires.
Paul Eggert [Mon, 31 Oct 2005 08:39:36 +0000 (08:39 +0000)]
* src/dd.c (skip): Fix off-by-one error.
Paul Eggert [Mon, 31 Oct 2005 08:39:14 +0000 (08:39 +0000)]
(skip): Fix off-by-one error reported by Theodoros V. Kalamatianos.
Paul Eggert [Sun, 30 Oct 2005 23:05:16 +0000 (23:05 +0000)]
Trivial changes to support SCO systems.
Paul Eggert [Sun, 30 Oct 2005 23:04:55 +0000 (23:04 +0000)]
(gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well as PATH_MAX.
Revamp wording and local variables to suggest the intended function of
the PATH_MAX check.
Paul Eggert [Sun, 30 Oct 2005 23:04:17 +0000 (23:04 +0000)]
(gl_FUNC_FPENDING): Correct check for SCO systems,
where __ptr is null when no I/O is pending.
Paul Eggert [Sun, 30 Oct 2005 21:46:00 +0000 (21:46 +0000)]
Fix porting problems reported by Theodoros V. Kalamatianos.
Paul Eggert [Sun, 30 Oct 2005 21:45:45 +0000 (21:45 +0000)]
* tests/mkdir/p-3: Require that the test be run as non-root.
Paul Eggert [Sun, 30 Oct 2005 21:44:53 +0000 (21:44 +0000)]
Require that the test be run as non-root.
Paul Eggert [Sun, 30 Oct 2005 21:44:31 +0000 (21:44 +0000)]
[defined HAVE_CONFIG_H]: Include <config.h>, so that large files can be opened.
Paul Eggert [Sun, 30 Oct 2005 21:32:02 +0000 (21:32 +0000)]
(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:
Don't assume that futimes failing means we must fail.
Paul Eggert [Sun, 30 Oct 2005 01:31:32 +0000 (01:31 +0000)]
(__getcwd): Don't assume that system calls after readdir
leave errno alone. Problem reported by Dmitry V. Levin.
Paul Eggert [Fri, 28 Oct 2005 23:06:42 +0000 (23:06 +0000)]
(savedir): Don't assume that xrealloc etc. leave errno alone.
Paul Eggert [Fri, 28 Oct 2005 22:17:27 +0000 (22:17 +0000)]
src/ln.c (FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.
Paul Eggert [Fri, 28 Oct 2005 22:17:00 +0000 (22:17 +0000)]
(FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.
Jim Meyering [Thu, 27 Oct 2005 19:44:45 +0000 (19:44 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Oct 2005 16:27:15 +0000 (16:27 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Oct 2005 16:27:04 +0000 (16:27 +0000)]
(main) [!O_BINARY]: Changed default read mode
back to text, to sync with documentation and for backwards compatibility.
Jim Meyering [Wed, 26 Oct 2005 21:46:24 +0000 (21:46 +0000)]
Add these: sha224sum sha256sum sha384sum sha512sum
Jim Meyering [Tue, 25 Oct 2005 13:50:30 +0000 (13:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Oct 2005 13:47:38 +0000 (13:47 +0000)]
.
Jim Meyering [Tue, 25 Oct 2005 12:03:56 +0000 (12:03 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Oct 2005 12:00:55 +0000 (12:00 +0000)]
*** empty log message ***