Commit Graph

  • 07fcda028e Update from gnulib. Jim Meyering 2006-01-31 16:05:23 +00:00
  • 6fa9bd80b9 Use better diagnostics for "head -3 -4" and likewise for tail. Paul Eggert 2006-01-31 01:39:44 +00:00
  • 4b4cc17d42 (parse_options): Use a better diagnostic when someone uses a trailing numeric option in an invalid way. Paul Eggert 2006-01-31 01:39:10 +00:00
  • e7000e0118 (main): Use a better diagnostic when someone uses a trailing numeric option in an invalid way. Paul Eggert 2006-01-31 01:38:30 +00:00
  • 251468f113 (tail invocation): In the obsolete usage, the count is optional, so put square brackets around it. Paul Eggert 2006-01-31 01:38:05 +00:00
  • 8d5ba536cf *** empty log message *** Jim Meyering 2006-01-30 21:11:12 +00:00
  • 7fb7a2d271 Include `count' keyword in man page synopsis, per suggestion from http://bugs.debian.org/181585. Jim Meyering 2006-01-30 21:11:06 +00:00
  • 32aba5ac50 (L_): Renamed from L. All uses changed. Paul Eggert 2006-01-27 18:41:50 +00:00
  • da953b9d22 Sync stdbool from gnulib. Paul Eggert 2006-01-26 21:01:56 +00:00
  • a768b3ebec Merge stdbool from gnulib; we're still not quite there yet. Paul Eggert 2006-01-25 18:32:46 +00:00
  • 1a9e9d670d (true, false) [defined __BEOS__]: undef, as before. (_Bool) [!@HAVE__BOOL@ && defined __GNUC__]: Use an enum rather than a #define. Paul Eggert 2006-01-25 18:32:19 +00:00
  • f3c2752caa (AC_HEADER_STDBOOL): Add some comments. Paul Eggert 2006-01-25 18:31:56 +00:00
  • 3423599809 . Jim Meyering 2006-01-25 08:11:25 +00:00
  • e2c3daca96 . Jim Meyering 2006-01-25 08:05:45 +00:00
  • 14e53291e3 Remove this: ^lib/readutmp.h Jim Meyering 2006-01-25 07:44:47 +00:00
  • 292e0cdfa6 Remove useless parentheses in cpp directive. Jim Meyering 2006-01-25 07:44:28 +00:00
  • 900cc884d6 remove fileblocks.c Jim Meyering 2006-01-25 07:43:38 +00:00
  • 0a42446129 *** empty log message *** Jim Meyering 2006-01-25 07:43:20 +00:00
  • d433382eaa Remove useless parentheses in cpp directive. Jim Meyering 2006-01-25 07:43:17 +00:00
  • 5b917cfa59 (show_dev): If the file system claims to have more available than total blocks, report the number of used blocks as being total - available (a negative number) rather than as garbage. Paul Eggert 2006-01-24 23:30:46 +00:00
  • 0efb6d171e *** empty log message *** Jim Meyering 2006-01-24 22:56:03 +00:00
  • 79dc4ea61d New file. Test for today's fix. Jim Meyering 2006-01-24 22:55:59 +00:00
  • b80418f744 (TESTS): Add append-only. Jim Meyering 2006-01-24 22:55:38 +00:00
  • b4440fe269 (check-root): Add tail-2/append-only Jim Meyering 2006-01-24 22:54:49 +00:00
  • b11079e168 *** empty log message *** Jim Meyering 2006-01-24 19:14:07 +00:00
  • 1f6beea8e9 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]). Reported by Mark D. Baushke. Jim Meyering 2006-01-24 19:13:41 +00:00
  • 8e3fd3cc7a tweak wording so as to pass `remedial English class' :-) Jim Meyering 2006-01-24 15:26:56 +00:00
  • d99e1c3342 tail -f once again works on a file with the append-only attribute (affects at least Linux ext2, ext3, xfs file systems) Jim Meyering 2006-01-24 10:36:28 +00:00
  • b2c30f765b *** empty log message *** Jim Meyering 2006-01-24 10:36:18 +00:00
  • 8c905f8349 *** empty log message *** Jim Meyering 2006-01-24 10:32:40 +00:00
  • 0cc660d1fe (tail_forever): Don't exit-nonzero when an attempt to put a regular file in O_NONBLOCK mode fails with EPERM. That happens on Linux when using tail -f on a file with the append-only attribute. Reported by Dean Gaudet. For details, see http://savannah.gnu.org/bugs/?func=detailitem&item_id=15473. Jim Meyering 2006-01-24 10:32:32 +00:00
  • a30a9a3ec4 Import from gnulib. Paul Eggert 2006-01-24 07:52:03 +00:00
  • 529ecbddcc *** empty log message *** Jim Meyering 2006-01-23 20:13:44 +00:00
  • 4cf7d77126 *** empty log message *** Jim Meyering 2006-01-23 15:06:42 +00:00
  • e17e330140 Remove unused definition of N_. Jim Meyering 2006-01-23 15:06:37 +00:00
  • 791e40357b . Jim Meyering 2006-01-22 08:53:59 +00:00
  • 7c364b54fc (quotearg_buffer_restyled): Add "default: break;" to pacify gcc -Wswitch-default. Paul Eggert 2006-01-22 08:46:54 +00:00
  • 3173cb27dd . Jim Meyering 2006-01-21 11:17:19 +00:00
  • abfc689b07 *** empty log message *** Jim Meyering 2006-01-21 11:16:46 +00:00
  • af1885b91f Mention fts-related improvements and bug fixes. Jim Meyering 2006-01-21 11:16:43 +00:00
  • 4393cb56ca * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore rather than -Xlinker -z -Xlinker ignore, as it's more portable. Paul Eggert 2006-01-21 07:59:38 +00:00
  • 5a85d9f93f (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore rather than -Xlinker -z -Xlinker ignore, as it's more portable. Paul Eggert 2006-01-21 07:59:22 +00:00
  • 911776e965 *** empty log message *** Jim Meyering 2006-01-19 20:58:26 +00:00
  • a74a458f5f (pfx-1, pfx-2): New tests, to demonstrate the bug reported as http://bugs.debian.org/147577. Forwarded by Thomas Hood. Jim Meyering 2006-01-19 20:58:22 +00:00
  • f8655e1804 *** empty log message *** Jim Meyering 2006-01-18 06:29:21 +00:00
  • d848382c2f (TESTS): Add long-from-unreadable. Jim Meyering 2006-01-18 06:29:14 +00:00
  • 42629c4629 . Jim Meyering 2006-01-17 19:57:26 +00:00
  • d55e2d8528 (openat_needs_fchdir): New function. Jim Meyering 2006-01-17 17:43:10 +00:00
  • 88df081621 *** empty log message *** Jim Meyering 2006-01-17 17:42:57 +00:00
  • 264f1bc3cd (openat_needs_fchdir): Declare it. Jim Meyering 2006-01-17 17:42:53 +00:00
  • debc171df3 *** empty log message *** Jim Meyering 2006-01-17 17:27:32 +00:00
  • b517279580 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT. Jim Meyering 2006-01-17 17:27:27 +00:00
  • ba19fb9f38 *** empty log message *** Jim Meyering 2006-01-17 17:26:39 +00:00
  • 5c184343b8 New test, to exercise one small corner of fts.c. Jim Meyering 2006-01-17 17:26:32 +00:00
  • 0ca8bc4273 Include "openat.h". Don't include "lchown.h". (restricted_chown): Accept a new parameter, CWD_FD, and use it in calling openat, lchownat, chownat, rather than open, lchown, chown. Update caller. Jim Meyering 2006-01-17 17:26:15 +00:00
  • c97a36e2d9 Now that fts no longer changes the current working directory, adjust its clients accordingly -- note that du.c uses fts but doesn't need any adjustment, since it doesn't operate on the actual files, but rather just uses the stat buffers provided by fts. Jim Meyering 2006-01-17 17:25:42 +00:00
  • e9f0c42afc *** empty log message *** Jim Meyering 2006-01-17 17:24:38 +00:00
  • a28b096d7f [struct FTS] (fts_cwd_fd): New member. [struct FTS] (fts_rft): Remove now-unused member. [struct FTS] (fts_cycle.state): Improve comment. Jim Meyering 2006-01-17 17:24:29 +00:00
  • c1994c16c2 Rewrite fts.c not to change the current working directory, by using openat, fstatat, fdopendir, etc.. Jim Meyering 2006-01-17 17:24:14 +00:00
  • 739de8914f (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as it's not portable and it doesn't work with cross-compiles. Fix missing-$ typo in 'test "gl_cv_ignore_unused_libraries" ...' that prevented -zignore from being used with Sun's C compiler. Paul Eggert 2006-01-17 07:21:48 +00:00
  • b88411cca3 *** empty log message *** Jim Meyering 2006-01-13 13:55:53 +00:00
  • 9f43b7e39d (SUBDIRS): Add comments discouraging the addition of new directories under tests/. Jim Meyering 2006-01-13 13:55:49 +00:00
  • a25795c926 *** empty log message *** Jim Meyering 2006-01-13 13:38:45 +00:00
  • 583cd919cc Redirect stdin to /dev/null. Otherwise, FreeBSD 5.0's getfacl would hang. Jim Meyering 2006-01-13 13:38:39 +00:00
  • 153a886d6d *** empty log message *** Jim Meyering 2006-01-13 13:35:31 +00:00
  • 6c1675394f (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses that variable, to accommodate the rare case in which getmntent is available in none of the libraries checked. This happens at least on FreeBSD 5.0. Jim Meyering 2006-01-13 13:35:26 +00:00
  • 86d43d3826 *** empty log message *** Jim Meyering 2006-01-12 18:08:42 +00:00
  • 8e6c26e593 Adjust not to hard-code the expected diagnostic corresponding to ELOOP. Solaris' diagnostic differs from that of Linux/libc. Reported by Paul Eggert. Jim Meyering 2006-01-12 18:08:18 +00:00
  • d56050cc6f Create final file *after* the loop. Jim Meyering 2006-01-12 14:45:15 +00:00
  • 2a8499e09f Create file at end of symlink chain. Jim Meyering 2006-01-12 14:31:02 +00:00
  • 9d7a6ee0f3 skip the test on a system that can handle this many symlinks in a file name, Jim Meyering 2006-01-12 09:25:33 +00:00
  • 7dabfc7e73 . Jim Meyering 2006-01-12 08:40:34 +00:00
  • 8d75ee59e0 whoops. traps were commented out. Jim Meyering 2006-01-12 08:00:17 +00:00
  • c27afc1a04 *** empty log message *** Jim Meyering 2006-01-12 07:55:40 +00:00
  • b78b7818af Remove useless parentheses in cpp directives, so that this file passes coreutils' `make syntax-check' tests. Jim Meyering 2006-01-12 07:55:36 +00:00
  • e4c3f364f3 fix typo: s/stdint.h.m4/stdint.m4/ Jim Meyering 2006-01-12 07:48:36 +00:00
  • e9a7b49342 from gnulib Jim Meyering 2006-01-12 07:45:26 +00:00
  • 395cb7a6b9 *** empty log message *** Jim Meyering 2006-01-12 07:22:36 +00:00
  • d80a835f4a (TESTS): Add test. Jim Meyering 2006-01-12 07:22:18 +00:00
  • 41a358ec88 New file, with a test for one of the bugs fixed by yesterday's test.c changes. Jim Meyering 2006-01-12 07:22:00 +00:00
  • 9b6eae76de Import from gnulib. Paul Eggert 2006-01-12 07:21:34 +00:00
  • ea58c1150c Add stdint_.h. Paul Eggert 2006-01-12 07:21:19 +00:00
  • 518d041db8 Adjust to md5 changes in gnulib, and make sha1 etc. more consistent with md5. Paul Eggert 2006-01-12 07:19:50 +00:00
  • 59a8b22268 (gl_PREREQ): Require gl_STDINT_H. Paul Eggert 2006-01-12 07:19:00 +00:00
  • 3f83336726 (struct sha512_ctx): Use a word buffer, not a byte buffer, so that we don't need to worry about alignment. Paul Eggert 2006-01-12 07:18:39 +00:00
  • a60af3a64f (struct sha256_ctx): Use a word buffer, not a byte buffer, so that we don't need to worry about alignment. All uses changed. Paul Eggert 2006-01-12 07:18:13 +00:00
  • 25962cd489 (struct sha1_ctx): Use a word buffer, not a byte buffer, so that we don't need to worry about alignment. All uses changed. This merges the 2005-10-28 md5 change into sha1. Paul Eggert 2006-01-12 07:17:51 +00:00
  • 1834ba06ac Fix commentary to match md5 better. Adjust to .h file changes. Paul Eggert 2006-01-12 07:17:25 +00:00
  • 3024d13d7e (__attribute__): Remove; unused. Paul Eggert 2006-01-12 07:16:33 +00:00
  • 7354a360be Fix commentary typos. (alignof, UNALIGNED_P): No need for a GCC-specific version. Paul Eggert 2006-01-12 07:16:21 +00:00
  • 71b4960878 (BUILT_SOURCES, EXTRA_DIST, stdint.h, MOSTLYCLEANFILES): Add gnulib snippet. Paul Eggert 2006-01-12 07:16:07 +00:00
  • aa038250c3 Add stdint.h. Paul Eggert 2006-01-12 07:15:48 +00:00
  • 4eafb9d163 *** empty log message *** Jim Meyering 2006-01-11 22:11:49 +00:00
  • 50114df430 *** empty log message *** Jim Meyering 2006-01-11 21:32:56 +00:00
  • aa990c11dd *** empty log message *** Jim Meyering 2006-01-11 21:31:41 +00:00
  • 3ff0576f2b *** empty log message *** Jim Meyering 2006-01-11 21:29:20 +00:00
  • d7210c4542 Test for today's fts.c bug fix. Jim Meyering 2006-01-11 21:29:06 +00:00
  • a45c0f4168 (TESTS): Add long-sloop. Jim Meyering 2006-01-11 21:21:52 +00:00
  • 108b46760a *** empty log message *** Jim Meyering 2006-01-11 21:00:42 +00:00
  • cf6281916b (fts_stat): When following a symlink-to-directory, don't interpret all stat-fails+lstat-succeeds as indicating a dangling symlink. That can also happen at least for ELOOP. The fix: return FTS_SLNONE only when the stat errno is ENOENT. Jim Meyering 2006-01-11 21:00:36 +00:00