Commit Graph
20330 Commits
Author SHA1 Message Date
Jim Meyering 29f1f2906c (libfetish_a_SOURCES): Add setenv.c and setenv.h. 2004-11-03 09:20:23 +00:00
Jim Meyering 3c8d863cc6 remove trailing blanks 2004-11-03 08:54:51 +00:00
Jim Meyering 187d2d06e8 *** empty log message *** 2004-11-03 08:50:38 +00:00
Jim Meyering 9f6eecc987 quote(...) file names in diagnostics. 2004-11-03 08:50:11 +00:00
Paul Eggert 8d05798863 Import from gnulib. 2004-11-03 08:04:49 +00:00
Paul Eggert da9f67dcf6 Regenerate. 2004-11-03 07:47:08 +00:00
Paul Eggert 5a5367474b Sync from gnulib. 2004-11-03 07:44:15 +00:00
Paul Eggert 47bcfc54da * NEWS: Document getdate changes. 2004-10-30 00:06:22 +00:00
Paul Eggert a4f1136b52 Document getdate changes. 2004-10-30 00:05:00 +00:00
Paul Eggert 7babf896a7 Sync from gnulib (for getdate changes). 2004-10-29 23:46:23 +00:00
Paul Eggert a4a87ad5bb Sync from gnulib. 2004-10-29 23:43:34 +00:00
Paul Eggert df8ea7a4e8 Document TZ better, and adjust to new getdate.texi.
(Top): Update menu.
(pr invocation, Formatting file timestamps, touch invocation,
stat invocation, who invocation, date invocation, Options for date):
Mention TZ.
2004-10-29 23:22:09 +00:00
Jim Meyering caf82de4ba `tac /proc/modules' would print nothing 2004-10-29 22:10:36 +00:00
Jim Meyering dc3504e276 *** empty log message *** 2004-10-29 22:05:04 +00:00
Jim Meyering 404fe2a045 *** empty log message *** 2004-10-29 21:59:39 +00:00
Jim Meyering 0c1c5b483d * src/tac.c (tac_file): Remove temporary prototype and move this
function `down' so that it precedes definition of tac_nonseekable.
2004-10-29 21:59:33 +00:00
Jim Meyering bbda05b8ee *** empty log message *** 2004-10-29 21:55:21 +00:00
Jim Meyering 259934f3a4 `tac /proc/modules' would print nothing
(copy_to_temp): Renamed from save_stdin, since
now it copies a general file descriptor, not just stdin.
(tac_nonseekable): Renamed/adapted from tac_stdin.
(tac_file): Get fd via `open' directly rather than via fopen/fileno,
since we never used the stream.  Perform "-" to stdin mapping here
rather than in main.  Determine whether a file is seekable,
by trying to `lseek' to its end, and dispatch to tac_seekable or
tac_nonseekable accordingly.
(main): Rewrite argument handling now that it uses only tac_file.
Reported by Harald Dunkel in http://bugs.debian.org/278604.
2004-10-29 21:55:15 +00:00
Jim Meyering 7230399d89 *** empty log message *** 2004-10-29 21:50:15 +00:00
Paul Eggert d6ef01c78f * coreutils.texi (Standards conformance): Use "head -10" rather
than "head -1".
2004-10-28 07:51:25 +00:00
Paul Eggert 57ac7f5a02 (Standards conformance): Use "head -10" rather than "head -1" as
example of obsolete usage, since the POSIX consensus is that "head -1"
could be supported even if we don't yet have clear consensus on "head
-10".  See today's revision to the SUS FAQ
<http://www.opengroup.org/austin/papers/single_unix_faq.html>.
2004-10-28 07:50:51 +00:00
Paul Eggert acdb9f592e * coreutils.texi (pathchk invocation): Options must precede operands. 2004-10-25 03:20:29 +00:00
Paul Eggert ea75231962 (pathchk invocation): Options must precede operands. 2004-10-25 03:20:02 +00:00
Paul Eggert 3eb23529c5 * mktime.c (leapyear): Arg is long int, not int. 2004-10-24 23:25:18 +00:00
Paul Eggert c707d3acbe (leapyear): Arg is long int, not int. Change imported from gnulib. 2004-10-24 23:24:47 +00:00
Jim Meyering 2168e06a9d . 2004-10-21 10:39:15 +00:00
Jim Meyering 0492f5ec4a *** empty log message *** 2004-10-21 10:38:56 +00:00
Jim Meyering 37c518aaf4 *** empty log message *** 2004-10-21 10:38:37 +00:00
Jim Meyering 90b7cc00d0 *** empty log message *** 2004-10-21 10:38:09 +00:00
Jim Meyering 2469a229d5 Correct my patch of 2004-10-18.
(rm): Destroy the saved_cwd here (via cwd_state),
if necessary, not in remove_dir.  Otherwise, removing multiple
`.'-relative nonempty directories no longer worked.
2004-10-21 10:37:18 +00:00
Jim Meyering 0f8445ab90 *** empty log message *** 2004-10-21 09:19:06 +00:00
Jim Meyering c40c07b39b (TESTS): Add leak-fd. 2004-10-21 09:17:50 +00:00
Jim Meyering 61ae10db4e *** empty log message *** 2004-10-21 09:16:52 +00:00
Jim Meyering 7a6efe58da (TESTS): Add dot-rel. 2004-10-21 08:07:27 +00:00
Jim Meyering cc66dd6e01 *** empty log message *** 2004-10-21 08:06:26 +00:00
Paul Eggert a27ab616ed * src/fmt.c (usage): Improve description of --prefix. 2004-10-20 21:17:15 +00:00
Paul Eggert a5929282a9 (usage): Improve description of --prefix.
Problem reported by Edward Welbourne.
2004-10-20 21:16:56 +00:00
Paul Eggert a6976346b1 * man/uniq.x: Change summary. 2004-10-20 20:21:23 +00:00
Paul Eggert caee2e567f Change summary so that it doesn't imply that uniq writes to its input file. 2004-10-20 20:19:28 +00:00
Jim Meyering ba57edcd43 *** empty log message *** 2004-10-18 08:59:17 +00:00
Jim Meyering e302d38421 Plug a leak that would cause rm or a cross-device mv to fail when
operating on too many command-line-specified nonempty directories.

(remove_dir): Destroy the `struct saved_cwd' on the
top of the stack before returning.  This usually closes the file
descriptor that was used to return to the original working directory.
Reported by Cyril Bouthors in
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/3048
2004-10-18 08:59:12 +00:00
Jim Meyering 35abc478c6 rm (and mv when moving between partitions) no longer fails when
operating on too many command-line-specified nonempty directories.
2004-10-18 08:58:55 +00:00
Jim Meyering e37a412052 *** empty log message *** 2004-10-18 08:56:19 +00:00
Jim Meyering 3d84ea7559 *** empty log message *** 2004-10-18 08:26:51 +00:00
Jim Meyering f2f7e25dc4 *** empty log message *** 2004-10-18 08:19:41 +00:00
Jim Meyering 385f1ab2a0 (validate_file_name): Give a more descriptive
diagnostic when pathconf fails.  This also avoids an unwarranted
warning from gcc-3.3.5 about a format not being a string literal.
2004-10-18 08:19:26 +00:00
Jim Meyering ccbf47a8e1 *** empty log message *** 2004-10-18 07:56:26 +00:00
Jim Meyering 41d58525e3 (main): Remove declaration of unused local, optc. 2004-10-18 07:54:01 +00:00
Jim Meyering bc8a38f102 (main): Remove declaration of unused local, opt. 2004-10-18 07:53:45 +00:00
Jim Meyering 4e1cbbdb67 (main): Remove declaration of unused local, c. 2004-10-18 07:52:19 +00:00