Commit Graph

  • e51c87a604 Mark Joerg Sonnenberger's change as tiny. Jim Meyering 2006-01-11 20:32:42 +00:00
  • b5d36033f1 * src/test.c (test_syntax_error): Append a newline. Paul Eggert 2006-01-11 19:30:58 +00:00
  • bfbe450d32 (test_syntax_error): Append a newline. All callers changed, except for the ones that didn't already append a newline. Paul Eggert 2006-01-11 19:29:47 +00:00
  • f9574570b3 *** empty log message *** Jim Meyering 2006-01-11 16:30:08 +00:00
  • 08e4a9a00e (fts_open): Put new (2006-01-04) maxarglen declaration and uses in their own block, so pre-c99 compilers don't object. Jim Meyering 2006-01-11 16:29:35 +00:00
  • f84dc6ccfc *** empty log message *** Jim Meyering 2006-01-11 16:19:06 +00:00
  • 614235c849 [!_LIBC]: Include "fcntl--.h", to map open to open_safer. Jim Meyering 2006-01-11 16:18:39 +00:00
  • dc15b27c50 *** empty log message *** Jim Meyering 2006-01-11 15:25:36 +00:00
  • 32b8a61ecf (gl_FUNC_OPENAT): Require and compile fchmodat.c. Check for the lchmod function. Jim Meyering 2006-01-11 15:25:30 +00:00
  • dc9da6bde0 *** empty log message *** Jim Meyering 2006-01-11 13:33:03 +00:00
  • 0e42486491 (fchmodat, fchownat): Declare. (chmodat, lchmodat): Define convenience functions. (chownat, lchownat): Likewise. Jim Meyering 2006-01-11 13:32:47 +00:00
  • 9cbd6c0366 (fchownat): New function. Jim Meyering 2006-01-11 13:32:03 +00:00
  • c6749127ca (fchmodat): New file and function. Jim Meyering 2006-01-11 13:30:31 +00:00
  • 06df842f61 *** empty log message *** Jim Meyering 2006-01-11 10:07:22 +00:00
  • d1fe298155 (OP): Remove useless space-before-TAB. Jim Meyering 2006-01-11 10:07:13 +00:00
  • 20f53c8aac *** empty log message *** Jim Meyering 2006-01-11 08:22:43 +00:00
  • 6b8b2183e7 (X2NREALLOC): Now that verify_true is no longer void, cast its result to void, to avoid gcc's warning that ``left-hand operand of comma expression has no effect''. (DECIMAL_DIGIT_ACCUMULATE, X2REALLOC): Likewise. Jim Meyering 2006-01-11 08:22:34 +00:00
  • b5284da0c0 Sync from gnulib. Paul Eggert 2006-01-11 07:39:40 +00:00
  • d5dcff8362 *** empty log message *** Jim Meyering 2006-01-10 21:48:19 +00:00
  • e06993903e Sync from gnulib. Paul Eggert 2006-01-10 20:13:35 +00:00
  • 388f158acf Update copyright year. Paul Eggert 2006-01-10 20:05:53 +00:00
  • 00eeaec5f2 Remove stray "lib/"s in previous change. Paul Eggert 2006-01-10 20:01:34 +00:00
  • d11af4159e Sync from gnulib. Paul Eggert 2006-01-10 17:47:56 +00:00
  • 71520b31c0 *** empty log message *** Jim Meyering 2006-01-10 11:55:20 +00:00
  • 58e925ce5f Avoid the double-free (first in fts_read, second in fts_close) that would occur when an `active' directory is made inaccessible (e.g., via chmod a-x) during a traversal. Jim Meyering 2006-01-10 11:55:13 +00:00
  • f26f53be9c Add a test for today's fts.c fix. Jim Meyering 2006-01-10 11:52:52 +00:00
  • e774de2be6 *** empty log message *** Jim Meyering 2006-01-10 10:23:27 +00:00
  • 6757e33c92 *** empty log message *** Jim Meyering 2006-01-10 09:16:10 +00:00
  • 0f07bd690c *** empty log message *** Jim Meyering 2006-01-10 07:33:30 +00:00
  • c0ac40d98f Also include <stdio.h>, for Dragonfly. Patch by Joerg Sonnenberger. Jim Meyering 2006-01-10 07:33:22 +00:00
  • b6541058ce *** empty log message *** Jim Meyering 2006-01-10 07:31:49 +00:00
  • f09a4ffe18 (gobble_file): Use DTTOIF only if it's defined. This is necessary for Dragonfly. Patch by Joerg Sonnenberger. Jim Meyering 2006-01-10 07:31:21 +00:00
  • 0cb6f1cc82 fix typo in comment Jim Meyering 2006-01-09 20:32:08 +00:00
  • 52b94c3e57 *** empty log message *** Jim Meyering 2006-01-08 20:48:04 +00:00
  • 28a712f205 (usage): Adjust the formatting of the entries for %::z and %:::z (separate with two spaces, not one) so that help2man formats them properly. Reported by Philip Rowlands. Jim Meyering 2006-01-08 20:45:54 +00:00
  • cbd0078fcf * lib-ignore.m4: New file. Paul Eggert 2006-01-07 01:56:13 +00:00
  • 9145f2798c * configure.ac (gl_IGNORE_UNUSED_LIBRARIES): Add. Paul Eggert 2006-01-07 01:56:01 +00:00
  • f17c770dfe (gl_IGNORE_UNUSED_LIBRARIES): Add. Paul Eggert 2006-01-07 01:55:49 +00:00
  • 56e7ad3001 Initial version. Paul Eggert 2006-01-07 01:55:27 +00:00
  • 55e0a76ddc *** empty log message *** Jim Meyering 2006-01-06 16:49:15 +00:00
  • 7e140557e9 (copyright-check): Use date +%Y in place of hard-coded 2005. Jim Meyering 2006-01-06 16:49:10 +00:00
  • 00d069f7d9 *** empty log message *** Jim Meyering 2006-01-06 16:48:27 +00:00
  • ea20facd90 (COPYRIGHT_YEAR): Update to 2006. Jim Meyering 2006-01-06 16:48:24 +00:00
  • 7dcf7e3788 *** empty log message *** Jim Meyering 2006-01-06 10:14:30 +00:00
  • 01ab0b79a1 (rm_1): Remove static' attribute on local status'. First off, the attribute should have been `volatile' (not static) to avoid longjmp-related risk of clobber. Secondly, now there is no longer any risk of a local variable being clobbered, so there's no need for any attribute at all. Jim Meyering 2006-01-06 10:14:19 +00:00
  • de0f11596d *** empty log message *** Jim Meyering 2006-01-05 14:31:22 +00:00
  • 955fbf3211 Give a few functions the inline attribute. (AD_pop_and_chdir): Use gotos to avoid some duplication. (AD_push): Rewrite an assertion so that the entire computation goes away when assertions are turned off. Jim Meyering 2006-01-05 14:28:52 +00:00
  • 4b980c0877 *** empty log message *** Jim Meyering 2006-01-05 10:30:21 +00:00
  • a12500ecac Add a FIXME comment. Jim Meyering 2006-01-05 10:30:17 +00:00
  • 15556eed38 *** empty log message *** Jim Meyering 2006-01-05 10:29:47 +00:00
  • 91be6f4495 (ENOSYS) [!defined ENOSYS]: Don't define here. It's already defined in "system.h". Jim Meyering 2006-01-05 10:27:03 +00:00
  • 084903a2b1 . Jim Meyering 2006-01-04 21:06:39 +00:00
  • 15954c3753 (tzname): Don't declare if it is already #defined. Paul Eggert 2006-01-04 18:57:24 +00:00
  • 72631a7b41 *** empty log message *** Jim Meyering 2006-01-04 18:28:46 +00:00
  • 6b9ee559f0 . Jim Meyering 2006-01-04 18:27:03 +00:00
  • 07fa3b9baa fix typo Jim Meyering 2006-01-04 16:09:03 +00:00
  • 757b8d0edd *** empty log message *** Jim Meyering 2006-01-04 16:07:17 +00:00
  • 8f0572299a change comment and temp file name: s/openat/fdopendir/ Jim Meyering 2006-01-04 16:07:11 +00:00
  • 7b22d09fba change comments and temp file name: s/openat/fdopendir/ Jim Meyering 2006-01-04 16:06:59 +00:00
  • 63028c863d Also allow a slightly different diagnostic -- the one you get when using openat-enabled fts.c and du (coming soon). Jim Meyering 2006-01-04 16:06:30 +00:00
  • 0aea37a1b3 *** empty log message *** Jim Meyering 2006-01-04 07:13:10 +00:00
  • 27ab46340c Merge from glibc. (fts_open): Avoid function call in MAX macro use. Jim Meyering 2006-01-04 07:12:22 +00:00
  • a2fa57b24c (xtime_make, xtime_nonnegative_nsec, xtime_nsec): Use long int, not int, for nanosecond counts, so that people who are used to POSIX struct timespec won't be surprised. Paul Eggert 2006-01-03 23:21:38 +00:00
  • 8692feeacc *** empty log message *** Jim Meyering 2006-01-03 21:59:07 +00:00
  • 39a400feeb Also allow a slightly different diagnostic -- the one you get when using openat-enabled fts.c and du (coming soon). Jim Meyering 2006-01-03 21:59:02 +00:00
  • 035a7af4a6 *** empty log message *** Jim Meyering 2006-01-03 14:12:21 +00:00
  • 8e702fc759 Also allow a slightly different diagnostic -- the one you get when using openat-enabled fts.c and du (coming soon). Jim Meyering 2006-01-03 14:12:16 +00:00
  • b9c62b6747 correct first-line comment Jim Meyering 2006-01-03 10:29:58 +00:00
  • 2b9a6ee886 *** empty log message *** Jim Meyering 2006-01-03 07:41:12 +00:00
  • 6a845acf0f (O_DIRECTORY) [!defined O_DIRECTORY]: Define. Jim Meyering 2006-01-03 07:41:03 +00:00
  • f6f906808d Make sure we can change the group of inaccessible files. Paul Eggert 2006-01-03 06:20:25 +00:00
  • 7126eb3216 (RC_do_ordinary_chown): New enum value. (restricted_chown): Return it, if the file cannot be accessed due to EPERM, or if no uid or gid are required, or if the file is neither a directory nor a regular file. Rewrite to avoid gotos. (change_file_owner): Handle RC_do_ordinary_chown case. Rewrite to avoid gotos. Paul Eggert 2006-01-03 06:20:06 +00:00
  • 6023a62148 (General date syntax): Invalid dates are rejected. (Time of day items): Mention the possibility of leap seconds. Problem reported by Dr. David Alan Gilbert. Paul Eggert 2006-01-03 06:00:10 +00:00
  • d290c45ca9 Explain date %g, %G, and %V a bit better. Paul Eggert 2006-01-03 00:48:29 +00:00
  • e1acba3234 Explain date %g, %G a bit better. Paul Eggert 2006-01-03 00:46:11 +00:00
  • 818f1e37c1 Use @acronym around "ISO" uniformly. (Date conversion specifiers): Explain %g, %G, and %V a bit better. Paul Eggert 2006-01-03 00:45:06 +00:00
  • 7d9fe7fa8e (usage): Explain %g, %G, and %V a bit better. Paul Eggert 2006-01-03 00:43:19 +00:00
  • ba05f7eeff *** empty log message *** Jim Meyering 2006-01-02 21:35:00 +00:00
  • 7f8d61f03e (set_owner): Correct a comment. Jim Meyering 2006-01-02 21:34:53 +00:00
  • 8298ae989a *** empty log message *** Jim Meyering 2006-01-02 19:11:27 +00:00
  • f59d4713e5 (parse_options): Change warning to say that --retry is useful mainly' (not only') when following by name. Reported here: http://bugs.debian.org/273781 Jim Meyering 2006-01-02 19:11:22 +00:00
  • 5dc67d68b6 *** empty log message *** Jim Meyering 2006-01-02 19:10:45 +00:00
  • f78f184a14 (tail invocation): Say that --retry is useful mainly' (not only') when following by name. Jim Meyering 2006-01-02 19:10:39 +00:00
  • 6aab791a58 Fix typo in previous change. Paul Eggert 2006-01-02 07:42:35 +00:00
  • c0dac69808 New approach to safer chmod. Paul Eggert 2006-01-02 07:30:27 +00:00
  • ab21036d6d Clarify file mode bits versus file permission bits. Paul Eggert 2006-01-02 07:29:46 +00:00
  • 885cd884d4 Update copyright year. Paul Eggert 2006-01-02 07:29:24 +00:00
  • 9c2fded343 Clarify file mode bits versus file permission bits. (mkfifo invocation, mknod invocation): -m affects only file permission bits. Paul Eggert 2006-01-02 07:28:38 +00:00
  • 70efb5ac20 Document that mkfifo and mknod -m no longer set special bits. Paul Eggert 2006-01-02 07:28:08 +00:00
  • bee93bd060 No longer used. Paul Eggert 2006-01-02 07:18:30 +00:00
  • 862fbc427b (usage): Clarify -m's operation. (main): If -m is given, don't invoke chmod; use umask 0 instead. Report an error if -m asks for bits outside the 777 range. Paul Eggert 2006-01-02 06:39:06 +00:00
  • 4ff2e46dde Update copyright year. Paul Eggert 2006-01-02 06:38:33 +00:00
  • a8c545ea74 (usage): Clarify -m's operation. (main): If -m is given, don't invoke chmod; use umask 0 instead. Report an error if -m asks for bits outside the 777 range. Paul Eggert 2006-01-02 06:38:06 +00:00
  • 51050b62c8 Include lchmod.h. (usage): Clarify -m's operation. (main): Use lchmod rather than chmod. Don't use lchmod unless the new mode contains bits outside the 777 range. Paul Eggert 2006-01-02 06:37:36 +00:00
  • 4aff81e69a Include lchmod.h. (re_protect, make_dir_parents_private): Use lchmod rather than chmod. Paul Eggert 2006-01-02 06:36:55 +00:00
  • faac2ccac5 Include lchmod.h. (copy_internal): Use lchmod rather than chmod. Paul Eggert 2006-01-02 06:36:10 +00:00
  • e59703a1d6 New file. Paul Eggert 2006-01-02 06:34:32 +00:00
  • 968bee81e8 (gl_MACROS): Require gl_FUNC_LCHMOD. Don't require gl_CHDIR_SAFER. Paul Eggert 2006-01-02 06:34:13 +00:00
  • c225633528 Include lchmod.h, lchmod.c. (make_dir_parents): Use lchown rather than chown, and lchmod rather than chmod. Paul Eggert 2006-01-02 06:33:12 +00:00
  • c432136c3c (sort invocation): Clarify that by default a blank is a space or a tab. Paul Eggert 2005-12-29 21:45:32 +00:00