Commit Graph

21100 Commits

Author SHA1 Message Date
Jim Meyering 2e862dc8a3 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
2005-06-19 08:30:08 +00:00
Jim Meyering 4eecbcd445 rename to gl_FUNC_XFTS 2005-06-19 08:27:47 +00:00
Jim Meyering 186d75c87e Require gl_FUNC_XFTS. 2005-06-19 08:27:28 +00:00
Jim Meyering 01baf7f071 (gl_XFTS): New file/macro. 2005-06-19 08:25:46 +00:00
Jim Meyering 2c4bb16c03 (libcoreutils_a_SOURCES): Remove xgetcwd.c, xgetcwd.h, xfts.c and xfts.h. 2005-06-19 08:25:21 +00:00
Jim Meyering f5fb813d6b *** empty log message *** 2005-06-18 06:25:22 +00:00
Jim Meyering 2504feb8c3 (unquote): Remove unnecessary `' quotes from a diagnostic. 2005-06-18 06:25:09 +00:00
Jim Meyering d96810b0cc Don't embed `this'-style quotes in format strings.
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-17 18:43:24 +00:00
Jim Meyering bbe012433f *** empty log message *** 2005-06-17 13:16:07 +00:00
Jim Meyering 0a0ebe7a41 (usage): Clarify that shred works on an ext3 file
system as long as it's not in data=journal mode.
Tiny change by Mark Melahn.
2005-06-17 13:16:00 +00:00
Jim Meyering fd684a32fd *** empty log message *** 2005-06-17 13:12:21 +00:00
Jim Meyering e89b22a2e1 (shred invocation): Clarify that shred
works on ext3 as long as it's not in data=journal mode.
Patch from Mark Melahn.
2005-06-17 13:12:17 +00:00
Jim Meyering d319227170 *** empty log message *** 2005-06-17 13:11:47 +00:00
Paul Eggert 4df2411290 * src/hostid.c (main): Don't print fewer than 8 digits, or spurious leading "f". 2005-06-16 23:46:27 +00:00
Jim Meyering 0812004419 *** empty log message *** 2005-06-16 21:49:22 +00:00
Jim Meyering e13ab085ed *** empty log message *** 2005-06-16 21:47:19 +00:00
Jim Meyering c95fdb8372 Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:44:25 +00:00
Jim Meyering f682977c0c whoops: Adding quote(...) isn't enough :)
remove quotes from the string, too.
2005-06-16 21:41:57 +00:00
Jim Meyering 0cda9b5eb8 Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:40:43 +00:00
Jim Meyering 0919e29116 Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:39:10 +00:00
Jim Meyering a38ee1953f Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:38:27 +00:00
Jim Meyering f696c57a8e Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:37:37 +00:00
Jim Meyering f07a234d1d Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:36:48 +00:00
Jim Meyering 4d2d749ee6 Don't embed `this'-style quotes in format strings.
Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:35:40 +00:00
Jim Meyering 3787d01a51 Don't embed `this'-style quotes in format strings.
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:33:43 +00:00
Jim Meyering 0441b743b0 Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:28:41 +00:00
Jim Meyering e50dc3f9fb Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));
2005-06-16 21:28:12 +00:00
Jim Meyering a5c9e15482 *** empty log message *** 2005-06-16 14:52:33 +00:00
Jim Meyering 5371690c7f (rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)
when either N or S is zero.
2005-06-16 14:52:29 +00:00
Jim Meyering 8236e056a0 *** empty log message *** 2005-06-16 09:16:25 +00:00
Jim Meyering 27a8fa0664 (Backup options): Undocument --version-control=S (-V). 2005-06-16 09:16:16 +00:00
Jim Meyering 4e0c954244 *** empty log message *** 2005-06-16 09:15:45 +00:00
Jim Meyering 74f54dae78 Finally remove support for --version-control=S (-V).
It was deprecated nearly 6 years ago and has been warning
users to switch to --backup=S since fileutils-4.0j.
2005-06-16 09:15:23 +00:00
Jim Meyering 154e1cc930 . 2005-06-15 09:53:34 +00:00
Jim Meyering 7dd05aa715 Reflect s/_die/_fail/ renaming. 2005-06-15 09:38:12 +00:00
Jim Meyering e2dba23e1a *** empty log message *** 2005-06-15 09:31:20 +00:00
Jim Meyering e18177dfbe Ensure that rel-named dirs are not created when chdir($PWD) fails. 2005-06-15 09:31:16 +00:00
Jim Meyering 39b87363ae Ensure that each `-d'-specified directory is created. 2005-06-15 09:04:21 +00:00
Jim Meyering ec5b4733d8 (main): Fix my typo: s/argv[optind]/file[i]/. 2005-06-15 08:54:21 +00:00
Jim Meyering 8add4ac9cb *** empty log message *** 2005-06-15 08:32:14 +00:00
Jim Meyering 88a7148929 Add a test for just-fixed bug in mkdir-p.c. 2005-06-15 08:32:11 +00:00
Jim Meyering d4145e48ed (make_dir_parents): Don't let a failed chdir($PWD)
stop us from restricting permissions of just-created absolute-named
directories.
2005-06-15 08:31:44 +00:00
Paul Eggert 1c4348d7e8 Fix typo in previous checkin. 2005-06-15 00:06:34 +00:00
Paul Eggert 1fc9a26bdd install -D had a problem similar to mkdir -p. 2005-06-15 00:05:20 +00:00
Paul Eggert f2c653e8df Improve diagnostics for restore_cwd failure. 2005-06-14 23:58:00 +00:00
Paul Eggert 153854cc31 (make_dir): Remove. All uses replaced by mkdir.
(make_dir_parents): Last arg is now int * (for errno), not bool *.
Rewrite "mkdir -p" algorithm to avoid the need for "stat"
each time through the loop.  Do not diagnose restore_cwd failure;
that is the caller's job (and perhaps the caller does not care).
2005-06-14 23:56:49 +00:00
Paul Eggert 616a6e5146 (make_dir): Remove. All uses replaced by mkdir.
(make_dir_parents): Last arg is now int * (for errno), not bool *.
2005-06-14 23:56:17 +00:00
Paul Eggert 0b2ac253e7 (create_parents): Remove static var (now local to 'main').
(main): Standardize on a diagnostic for restore_cwd failure,
and report errno.
Don't bother to check cwd_errno unless create_parents.
Use mkdir rather than make_dir; it's simpler.
2005-06-14 23:55:47 +00:00
Paul Eggert 3f47e8458a (main): Standardize on a diagnostic for
restore_cwd failure, and report errno.
(install_file_in_file_parents): Fail if restore_cwd fails and
one of the files is relative.  This fixes a bug (albeit unlikely).
2005-06-14 23:55:24 +00:00
Paul Eggert d203fc19ae mkdir-p cleanup. 2005-06-14 18:36:44 +00:00