Commit Graph

439 Commits

Author SHA1 Message Date
Jim Meyering
553d347d3e Fix a bug in how pr -m -s works.
* NEWS: Describe how the fix affects pr.
* src/pr.c (init_parameters): The --merge (-m) option does
not imply --expand-tabs (-e), so don't set "untabify_input".
Reported by Wis Macomson.
* tests/misc/pr: New file.  Test for the above fix.
* tests/misc/Makefile.am (TESTS): Add pr.
* THANKS: Update.
2007-03-18 16:21:26 +01:00
Jim Meyering
d7226387a9 * src/env.c (main): When invoked with no arguments (i.e. when printing
the environment), use a local variable to iterate through the global
"environ" array, rather than "environ" itself.  This is solely to
avoid changing the environment for an LD_PRELOAD-substituted "puts"
or "exit" function.  Tiny patch by Harvey Eneman.  See
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9735>.
* THANKS: Update.
2007-02-20 17:23:51 +01:00
Evan Hunt
482366105a Document what the ".0" in e.g., "-k 2,3.0" means, and...
* coreutils.texi (sort invocation): ... that it can be applied to the
field-end spec, but not the field-start one.  Patch from Evan Hunt.

Signed-off-by: Jim Meyering <jim@meyering.net>
2007-01-03 12:04:24 +01:00
Jim Meyering
d69fc66d81 "cut -f 2- A B" no longer triggers a double-free bug
* src/cut.c (cut_fields): Set file-scoped global to NULL after
freeing it.  This avoids a double-free (and core dump on some systems)
for this usage: "echo 1>a; echo 2>b; cut -f2- a b".  Reported by
James Hunt in <http://bugzilla.redhat.com/220312>.
* NEWS: List this bug fix.
* THANKS: Mention him.
* tests/misc/cut: New file.
* tests/misc/Makefile.am (TESTS): Add cut.
2006-12-20 14:25:55 +01:00
Jim Meyering
4e48b4ce33 * tests/cp/open-perm-race: Correct the gdb-existence check.
Don't run either subsequent gdb command in a sub-shell.
Reported by Thomas Schwinge.
* THANKS: bring up to date.
2006-12-15 10:43:20 +01:00
Jim Meyering
f594f1fb38 *** empty log message *** 2006-10-17 20:12:05 +00:00
Jim Meyering
d1ea87316f *** empty log message *** 2006-10-17 13:48:27 +00:00
Jim Meyering
779168820b *** empty log message *** 2006-10-14 05:06:38 +00:00
Jim Meyering
509febe18b *** empty log message *** 2006-09-26 09:18:20 +00:00
Jim Meyering
f951057414 *** empty log message *** 2006-09-25 06:22:35 +00:00
Jim Meyering
6e31234fbb *** empty log message *** 2006-07-20 08:33:19 +00:00
Jim Meyering
36a288e41a * src/copy.c (copy_internal): Don't work around old NFS clients like
SunOS-4.1.4 and Irix 5.3 that set errno to values like EIO and
ENOTEMPTY upon failed rename.  Otherwise, we risk misinterpreting
a banal failure as a recursive move-into-self failure.
Reported by Florent Bayle in <http://bugs.debian.org/376749>.
2006-07-05 09:08:42 +00:00
Jim Meyering
593453d7bf *** empty log message *** 2006-06-03 08:29:28 +00:00
Jim Meyering
fe7323d6cf *** empty log message *** 2006-05-28 09:02:42 +00:00
Jim Meyering
58f42eb607 *** empty log message *** 2006-05-15 20:18:49 +00:00
Jim Meyering
6dd69d3281 *** empty log message *** 2006-05-10 13:39:30 +00:00
Jim Meyering
c139c9a58b . 2006-05-03 10:11:25 +00:00
Jim Meyering
568eec4a9d *** empty log message *** 2006-03-30 13:26:59 +00:00
Jim Meyering
1c952c4d7d *** empty log message *** 2006-03-27 07:32:44 +00:00
Jim Meyering
bf46e04149 *** empty log message *** 2006-03-10 21:24:38 +00:00
Jim Meyering
64e8ade1fa *** empty log message *** 2006-03-05 17:29:13 +00:00
Jim Meyering
c501fbc346 *** empty log message *** 2006-02-06 09:06:50 +00:00
Jim Meyering
6e7b489f51 *** empty log message *** 2006-02-04 10:45:44 +00:00
Jim Meyering
529ecbddcc *** empty log message *** 2006-01-23 20:13:44 +00:00
Jim Meyering
6757e33c92 *** empty log message *** 2006-01-10 09:16:10 +00:00
Jim Meyering
b6541058ce *** empty log message *** 2006-01-10 07:31:49 +00:00
Jim Meyering
55897502a6 *** empty log message *** 2005-12-09 16:27:26 +00:00
Jim Meyering
db604d8e8a *** empty log message *** 2005-11-16 09:30:25 +00:00
Jim Meyering
fdbc317e46 *** empty log message *** 2005-11-13 18:57:03 +00:00
Jim Meyering
2b46dc5403 *** empty log message *** 2005-11-11 17:16:30 +00:00
Jim Meyering
4c60a9a964 s/expensive/very expensive/ in a comment. 2005-11-08 08:19:57 +00:00
Jim Meyering
59eb233924 *** empty log message *** 2005-11-07 21:39:40 +00:00
Jim Meyering
c30dcb08eb . 2005-10-25 13:47:38 +00:00
Jim Meyering
55b84cf932 *** empty log message *** 2005-10-25 12:03:56 +00:00
Jim Meyering
d294610a58 *** empty log message *** 2005-10-23 15:47:07 +00:00
Jim Meyering
314397e7c5 *** empty log message *** 2005-10-03 12:11:49 +00:00
Jim Meyering
8890d86818 *** empty log message *** 2005-09-11 07:41:56 +00:00
Jim Meyering
d4595fdae9 *** empty log message *** 2005-09-10 07:48:40 +00:00
Jim Meyering
9288303f01 . 2005-09-05 17:17:47 +00:00
Jim Meyering
edf0536c24 *** empty log message *** 2005-08-17 20:49:48 +00:00
Jim Meyering
43ad2bb1f4 *** empty log message *** 2005-08-14 15:02:23 +00:00
Jim Meyering
b1b3478d50 *** empty log message *** 2005-06-21 08:45:58 +00:00
Jim Meyering
d319227170 *** empty log message *** 2005-06-17 13:11:47 +00:00
Jim Meyering
239409b480 *** empty log message *** 2005-05-26 18:35:33 +00:00
Jim Meyering
6f1c1df83d *** empty log message *** 2005-05-10 07:28:10 +00:00
Jim Meyering
fed6d86b5d *** empty log message *** 2005-03-12 16:24:13 +00:00
Jim Meyering
2c84165280 *** empty log message *** 2005-03-12 10:51:06 +00:00
Jim Meyering
df3411b4c3 *** empty log message *** 2005-02-15 08:56:43 +00:00
Jim Meyering
ad8ad412a5 *** empty log message *** 2005-02-15 08:18:26 +00:00
Paul Eggert
b6a2e5d39a Add James Lemley. 2005-02-14 18:15:41 +00:00