Jim Meyering
b50d64f0ad
Makefile.am (EXTRA_DIST): Add .gitignore.
2006-06-11 10:03:09 +00:00
Jim Meyering
966a2f95a3
*** empty log message ***
2006-06-11 08:43:28 +00:00
Jim Meyering
ba2948b764
Setting TIME_STYLE=long-iso in the environment would make the
...
cp/same-file test fail.
* tests/envvar-check (vars): Add TIME_STYLE to the list.
* tests/cp/same-file: Revert last change.
Source the envvar-check script, to ensure that TIME_STYLE
settings don't affect these tests.
2006-06-11 08:12:37 +00:00
Paul Eggert
13d0cd669e
* tests/cp/same-file: Execute 'ls' in the C locale, so that it
...
uses POSIX time stamp formats. Problem reported by John Nixon in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html >.
2006-06-11 07:59:16 +00:00
Paul Eggert
ff276995ff
(__attribute__): Don't define if already defined.
2006-06-11 07:11:31 +00:00
Jim Meyering
d9f0cce0f4
Mention the AIX-strndup-bug vs. dircolors workaround.
2006-06-10 09:41:39 +00:00
Jim Meyering
949ed19da0
Apply this change from gnulib:
...
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
Bruno Haible <bruno@clisp.org >
* strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
2006-06-10 09:10:12 +00:00
Jim Meyering
a8ee9bcfb3
Apply this change from gnulib:
...
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
Bruno Haible <bruno@clisp.org >
* strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
check for the declaration of strnlen and a run test that exposes the
AIX 5.1 strnlen bug. In the failure case, #define strndup to
rpl_strndup.
2006-06-10 09:01:41 +00:00
Jim Meyering
82f9a230aa
*** empty log message ***
2006-06-10 07:58:09 +00:00
Jim Meyering
ea7ded281d
Require a "Version N.M" line at the top of the ChangeLog
...
file only when making the actual release, not when running
"make distcheck".
(maintainer-distcheck): Don't depend on
changelog-check.
(alpha beta major): Depend on it here, instead.
2006-06-10 07:58:05 +00:00
Jim Meyering
790892db65
Ensure that cat works with any of the options, -A -v -e -E -T,
...
when applied to files in /proc and /sys, even when the FIONREAD
ioctl produces nonsensical results. Before this change, cat would
produce no output (or truncated output), for some linux kernels.
* src/cat.c (write_pending): New function, factored out of cat.
(cat): Also interpret a negative ioctl/FIONREAD count as indicating
that there are bytes to read. Some versions of linux-2.6.16 do that.
Write any pending output before returning.
Reported by Dan Jacobson in <http://bugs.debian.org/370583 >.
* NEWS: Mention this bug fix.
* tests/misc/cat-proc: New file. Test for the above.
* tests/misc/Makefile.am (TESTS): Add cat-proc.
2006-06-08 20:13:37 +00:00
Paul Eggert
cad27cdc2e
(eval4): Detect overflow properly when multiplying INTMAX_MIN * -1.
2006-06-08 02:53:25 +00:00
Paul Eggert
0eef2e1e8b
Don't claim x86 behavior is erroneous in a comment.
2006-06-07 05:58:57 +00:00
Paul Eggert
8863262663
The 'expr' command now detects and reports integer overflow.
2006-06-07 05:52:41 +00:00
Paul Eggert
dea306fe78
(integer_overflow): New function.
...
(eval4, eval3): Check for integer overflow.
2006-06-07 05:52:27 +00:00
Paul Eggert
0038f24b9a
The 'expr' command now detects and reports integer overflow.
2006-06-07 05:52:07 +00:00
Paul Eggert
8ef928100b
Fix problems when building with Solaris/SVR4/etc. make, which uses a
...
different and somewhat bogus implementation of VPATH.
2006-06-05 20:05:26 +00:00
Paul Eggert
856e93df76
Rename file to avoid bugs with VPATH builds and Solaris 'make'.
2006-06-05 20:05:00 +00:00
Paul Eggert
8818e69748
Don't assign to PROG; no longer needed
...
now that Makefile.am sets PROG to the basename.
2006-06-05 20:03:52 +00:00
Paul Eggert
0d82817eb4
(PROG): Take the basename of $$tst,
...
in case Solaris make has prepended the directory.
(TESTS): Adjust to test script renamings.
2006-06-05 20:03:27 +00:00
Paul Eggert
f9265a7efe
* regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun
...
reported by Andreas Schwab.
2006-06-05 05:21:46 +00:00
Jim Meyering
53ca379fa3
*** empty log message ***
2006-06-03 09:04:26 +00:00
Jim Meyering
4c7979f7c2
Make `cp --link --no-dereference' work also on systems where the
...
link system call cannot create a hard link to a symbolic link.
(copy_internal) [LINK_FOLLOWS_SYMLINKS]: Don't use
the link syscall on a symlink when it would do the wrong thing.
Based on the patch by Aurelien Jarno: <http://bugs.debian.org/329451 >
2006-06-03 09:04:22 +00:00
Jim Meyering
6293c4ae50
`cp --link --no-dereference' now works also on systems where the
...
link system call cannot create a hard link to a symbolic link.
2006-06-03 09:04:05 +00:00
Jim Meyering
09024704ab
Test for this:
...
Make `cp --link --no-dereference' work also on systems where the
link system call cannot create a hard link to a symbolic link.
* src/copy.c (copy_internal) [LINK_FOLLOWS_SYMLINKS]: Don't use
the link syscall on a symlink when it would do the wrong thing.
Based on the patch by Aurelien Jarno: <http://bugs.debian.org/329451 >
2006-06-03 09:03:19 +00:00
Jim Meyering
db5756af29
(TESTS): Add link-no-deref.
2006-06-03 09:02:53 +00:00
Jim Meyering
593453d7bf
*** empty log message ***
2006-06-03 08:29:28 +00:00
Paul Eggert
cfa91bfde8
Fix some HP-UX 11.23 porting bugs.
2006-06-01 07:10:48 +00:00
Paul Eggert
8cf6d1850d
Don't assume that >&- works.
2006-06-01 07:10:34 +00:00
Paul Eggert
42314d3303
Don't assume that >&- works. Add a /dev/full test.
2006-06-01 07:10:15 +00:00
Paul Eggert
5d3b41a84a
Don't assume that \< \> works in sed.
2006-06-01 07:09:51 +00:00
Jim Meyering
558b3aacbe
*** empty log message ***
2006-05-30 06:22:20 +00:00
Jim Meyering
d641a6ad5d
(usage): Add `v' to the list of sorting-related options.
...
From Justin Pryzby.
2006-05-30 06:22:16 +00:00
Jim Meyering
90407bb522
Update from gnulib.
2006-05-29 06:55:36 +00:00
Jim Meyering
a143307078
*** empty log message ***
2006-05-28 12:12:47 +00:00
Jim Meyering
84abb198a2
Source lang-default. From Ralf Wildenhues.
2006-05-28 12:11:35 +00:00
Jim Meyering
9af6ea12a1
*** empty log message ***
2006-05-28 09:33:00 +00:00
Jim Meyering
8542aa6622
AIX 4.3.3 gives a different diagnostic.
...
Recognize it, too. Reported by Ralf Wildenhues, in
http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00192.html
2006-05-28 09:32:54 +00:00
Paul Eggert
59985f42e6
(gl_C99_STRTOLD): Use a link test rather than a
...
compile test, for Tru64 4.0D.
2006-05-28 09:16:57 +00:00
Jim Meyering
9602351980
*** empty log message ***
2006-05-28 09:03:12 +00:00
Jim Meyering
fe7323d6cf
*** empty log message ***
2006-05-28 09:02:42 +00:00
Jim Meyering
206844c0c4
*** empty log message ***
2006-05-27 15:51:23 +00:00
Jim Meyering
837d12dd60
Use `AM_MAKEINFOFLAGS' rather than
...
overwriting `MAKEINFO', so that `missing' can do its job.
2006-05-27 15:51:19 +00:00
Jim Meyering
17fc4cd8ab
*** empty log message ***
2006-05-27 15:13:35 +00:00
Jim Meyering
3dc0c35710
*** empty log message ***
2006-05-27 15:12:05 +00:00
Jim Meyering
df91a82135
chgrp now supports --preserve-root, --no-preserve-root
2006-05-27 15:01:36 +00:00
Jim Meyering
6f12bb8b21
*** empty log message ***
2006-05-27 15:00:22 +00:00
Jim Meyering
d3ff52d9e2
*** empty log message ***
2006-05-27 14:44:44 +00:00
Jim Meyering
19c28b06a0
Support new options: --preserve-root and --no-preserve-root.
...
Somehow this program was skipped when those options were added to chown,
chmod, and rm. Reported by vaqflabuopac@spammotel.com in
<http://bugs.debian.org/365656 >.
2006-05-27 14:44:41 +00:00
Jim Meyering
83e40cc849
*** empty log message ***
2006-05-27 13:43:12 +00:00