Commit Graph

  • 9333b3a359 *** empty log message *** Jim Meyering 2005-12-04 09:58:40 +00:00
  • f390052b80 (usage): Say what happens with two or more arguments. Jim Meyering 2005-12-04 09:58:34 +00:00
  • ca88a482a5 *** empty log message *** Jim Meyering 2005-12-03 23:24:51 +00:00
  • a936ac291c (print_uptime): Move decl of local `upsecs' into scope where it's used. Jim Meyering 2005-12-03 23:24:46 +00:00
  • b3e300393e . Jim Meyering 2005-12-03 23:19:58 +00:00
  • e12e1864fc *** empty log message *** Jim Meyering 2005-12-03 22:24:31 +00:00
  • b867d3fcfb *** empty log message *** Jim Meyering 2005-12-03 22:23:40 +00:00
  • 08a0a7291f (long_options): Change the name of each undocumented, for- testing-only option to start with `-', so that it cannot render ambiguous any prefix it happens to share with some other option name. Jim Meyering 2005-12-03 22:23:23 +00:00
  • 43233c319e (long_opts): Change the name of each undocumented, for- testing-only option to start with `-', so that it cannot render ambiguous any prefix it happens to share with some other option name. Jim Meyering 2005-12-03 22:23:09 +00:00
  • 616fc42b4f Update uses of undocumented, for- testing-only --presume* options to start with `---'. Jim Meyering 2005-12-03 22:16:24 +00:00
  • 448d523897 Mention change to jm-macros.m4. Paul Eggert 2005-12-02 18:35:33 +00:00
  • 6d28d2c738 (gl_MACROS): Adjust to renaming of gl_SOCKLEN_T to gl_TYPE_SOCKLEN_T. Paul Eggert 2005-12-02 18:35:19 +00:00
  • 48f08b4f53 Fix typo in previous log entry. Paul Eggert 2005-12-02 18:23:42 +00:00
  • feb302b9f2 * (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T. Use implementation from Albert Chin, with some comments/corrections by Stepan Kasal and myself. Paul Eggert 2005-12-02 18:22:10 +00:00
  • e4f62b9fcf *** empty log message *** Jim Meyering 2005-12-02 07:49:12 +00:00
  • 76bebf24a5 Import from gnulib. Paul Eggert 2005-12-02 00:42:52 +00:00
  • b3c0bca1f8 (gl_REGEX): Check whether off_t can be used in a switch statement, to work around an HP-UX 10.20 compiler bug reported by Peter O'Gorman. Paul Eggert 2005-12-02 00:29:02 +00:00
  • 82ff869140 *** empty log message *** Jim Meyering 2005-11-30 17:42:36 +00:00
  • be3ef12b92 Add a comment about cvsu. Jim Meyering 2005-11-30 17:42:33 +00:00
  • 46679371cb *** empty log message *** Jim Meyering 2005-11-30 13:05:08 +00:00
  • ea2a4f2658 (gl_FUNC_OPENAT): Require openat-priv.h. Jim Meyering 2005-11-30 13:05:03 +00:00
  • 798f577bec Include openat-priv.h. Remove definitions of macros defined therein. Jim Meyering 2005-11-30 13:04:26 +00:00
  • 07c80bab50 Define macros used by mkdirat.c and openat.c. Jim Meyering 2005-11-30 13:03:21 +00:00
  • 48a8638c23 *** empty log message *** Jim Meyering 2005-11-30 12:40:12 +00:00
  • 29a3f2f810 (mkdirat): Declare. Jim Meyering 2005-11-30 12:40:09 +00:00
  • 3f23bf599c *** empty log message *** Jim Meyering 2005-11-30 12:39:30 +00:00
  • 2e72b76fd3 (mkdirat): New file and function. Jim Meyering 2005-11-30 12:39:14 +00:00
  • 76b8c64505 *** empty log message *** Jim Meyering 2005-11-30 12:38:05 +00:00
  • 7214c0bf70 (gl_FUNC_OPENAT): Require and compile mkdirat.c. Jim Meyering 2005-11-30 12:38:02 +00:00
  • fc0fa751c4 Log today's changes. Paul Eggert 2005-11-26 07:53:39 +00:00
  • 7c69f05221 (df invocation): Document treatment of dummy file systems better. Paul Eggert 2005-11-26 07:52:43 +00:00
  • 1e20020bb8 (ME_DUMMY): "none" and "proc" file systems are dummies too. Paul Eggert 2005-11-26 07:52:11 +00:00
  • e9c8be100e (show_point): Ignore inaccessible file systems. (usage): -a includes dummy file systems, not size-0 file systems. Paul Eggert 2005-11-26 07:51:45 +00:00
  • bb14284481 df updates for "none", "proc", inaccessible file systems. Paul Eggert 2005-11-26 07:51:27 +00:00
  • 45ad3543a9 Include <limits.h>. (dev_from_mount_options) [defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]: New function. It no longer assumes "dev=" has the System V meaning on Linux (since it doesn't). It also parses "dev=" more carefully. (read_file_system_list) [defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]: Use it. MOUNTED_GETMNTENT2 is new here; the code didn't used to look for dev= in that case. Paul Eggert 2005-11-26 07:43:50 +00:00
  • 9b539d8634 (unsigned_long_long_int): Renamed from ulonglong_t, to avoid collision with POSIX name space. All uses changed. Paul Eggert 2005-11-26 07:29:48 +00:00
  • 128bc21842 (MOSTLYCLEANFILES): Clean stdbool.h-t, not stdbool.ht. Paul Eggert 2005-11-26 06:58:34 +00:00
  • b7fa297fa5 (stdbool.h): Fix typo in previous change. Paul Eggert 2005-11-26 06:55:22 +00:00
  • dedcfff69c (stdbool.h): Just copy stdbool_.h; no need to sed any more. Paul Eggert 2005-11-26 06:54:17 +00:00
  • e05c20ea7a no longer needed. (gl_STDBOOL_H): New macro, from gnulib. (AC_HEADER_STDBOOL): Sync with gnulib. Paul Eggert 2005-11-26 06:37:52 +00:00
  • 6771c1b415 Simplify greatly, under the assumption that these days most people use C99-compatible compilers to debug, so it's not worth worrying about catering to older compilers for that. This works around some porting problems with HP-UX compilers. (false, true) [defined __BEOS__]: Don't #undef; no longer needed. (_Bool): typedef to bool if C++ or BeOS, and #define to signed char otherwise. Paul Eggert 2005-11-26 06:37:31 +00:00
  • c63680e87b (gettime) [!defined OK_TO_USE_1S_CLOCK]: Report an error at compile-time if only a 1-second nominal clock resolution is found. Paul Eggert 2005-11-26 06:30:35 +00:00
  • 1b7e4389dc *** empty log message *** Jim Meyering 2005-11-24 17:25:11 +00:00
  • f85b578dbb (EXTRA_DIST): Add acl to the list. Jim Meyering 2005-11-24 17:25:08 +00:00
  • 2678a248bb Add `$0: ' prefix to diagnostics. Jim Meyering 2005-11-24 17:24:36 +00:00
  • f36a979ac9 *** empty log message *** Jim Meyering 2005-11-24 13:42:08 +00:00
  • 5ee3356ed3 *** empty log message *** Jim Meyering 2005-11-24 13:42:04 +00:00
  • f8f2c8b7b1 Add this: ^lib/buffer-lcm\.c$ Jim Meyering 2005-11-24 09:04:34 +00:00
  • 211d43d85e Improve performance a bit with src/copy.c. Paul Eggert 2005-11-24 06:50:11 +00:00
  • 25719a3315 Improve performance a bit by optimizing away unnecessary system calls and going to a block size of at least 8192 (on normal hosts, anyway). This improved performance 5% on my Debian stable host (2.4.27 kernel, x86, copying from root ext3 file system to itself). Include "buffer-lcm.h". (copy_reg): Omit last argument. All callers changed. Use xmalloc to allocate rather than trusting alloca (which is unwise with large block sizes). Declare locals more locally, if possible. Use uintptr_t words instead of int words, for a bit more speed when looking for null blocks on 64-bit hosts. Optimize away reads of zero bytes on regular files. In the typical case, insist on 8 KiB buffers, at least. Avoid unnecessary extra call to fstat when checking for sparse files. Avoid now-unnecessary cast to off_t, and "0L". Avoid unnecessary test of *new_dst when checking for same owner and group. Paul Eggert 2005-11-24 06:49:44 +00:00
  • 757d7a8eb5 Add buffer-lcm. Paul Eggert 2005-11-24 06:49:10 +00:00
  • ef774a082b (libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h. Paul Eggert 2005-11-24 06:48:55 +00:00
  • 79eb35c4e5 Initial version Paul Eggert 2005-11-24 06:48:36 +00:00
  • 325619eb0d Initial version, from diffutils Paul Eggert 2005-11-24 06:48:03 +00:00
  • 1aab378857 tweak grammar in comments Jim Meyering 2005-11-23 13:36:48 +00:00
  • 694b9b330a *** empty log message *** Jim Meyering 2005-11-23 13:35:15 +00:00
  • e8609798de (fdopendir): Don't change errno when returning non-NULL. Jim Meyering 2005-11-23 13:35:09 +00:00
  • 1000eb18b6 (rm): Don't assume C99 for-loop syntax. Paul Eggert 2005-11-23 04:52:48 +00:00
  • 32034e05b7 whoops. Add back decl/definition of n_lengths. Jim Meyering 2005-11-22 21:12:28 +00:00
  • 8f092ad8e8 *** empty log message *** Jim Meyering 2005-11-22 21:03:43 +00:00
  • f076895070 (AD_push): Remove debugging cruft. Jim Meyering 2005-11-22 21:03:36 +00:00
  • 5ff678924e tweak comments Jim Meyering 2005-11-22 20:05:48 +00:00
  • 5db92fc43c *** empty log message *** Jim Meyering 2005-11-22 16:23:21 +00:00
  • 43f9368331 . Jim Meyering 2005-11-22 16:00:04 +00:00
  • 6e4cda39d3 *** empty log message *** Jim Meyering 2005-11-22 15:59:38 +00:00
  • 8c1debf168 Add lib/euidaccess-stat.c. Jim Meyering 2005-11-22 15:59:35 +00:00
  • 66878248f6 . Jim Meyering 2005-11-22 15:33:39 +00:00
  • b5373161d0 Rewrite. Now, this module is reentrant on systems that provide openat (Solaris), and on systems like Linux+procfs where our openat emulation code is reentrant. This also fixes a few low-probability leaks and eliminates some code that could, in very unusual circumstances, cause rm() (via a callee) to exit. Jim Meyering 2005-11-22 15:33:26 +00:00
  • e76200e6fa *** empty log message *** Jim Meyering 2005-11-22 15:32:30 +00:00
  • bc3d6c6e81 Put copyright dates all on one line so the emacs function that updates them works properly. Jim Meyering 2005-11-22 15:32:20 +00:00
  • 8d8739a0c5 *** empty log message *** Jim Meyering 2005-11-22 15:08:13 +00:00
  • ad1df12ba2 (rm): Change expected diagnostic, cannot open directory' to cannot remove', to align with new version of rm. Jim Meyering 2005-11-22 15:08:09 +00:00
  • 901835b8bf *** empty log message *** Jim Meyering 2005-11-22 15:06:38 +00:00
  • bf1de05827 Ensure that rm now continues removing entries even after certain types of failure. Jim Meyering 2005-11-22 15:06:30 +00:00
  • d0a109b244 *** empty log message *** Jim Meyering 2005-11-22 15:04:55 +00:00
  • b8616748f2 Rewrite. Now, this module is reentrant on systems that provide openat (Solaris), and on systems like Linux+procfs where our openat emulation code is reentrant. This also fixes a few low-probability leaks and eliminates some code that could, in very unusual circumstances, cause rm() (via a callee) to exit. Jim Meyering 2005-11-22 15:04:51 +00:00
  • 9c14365b2a *** empty log message *** Jim Meyering 2005-11-22 14:53:55 +00:00
  • d591c30293 (openat_permissive): Declare. (openat_ro): Define. Jim Meyering 2005-11-22 14:53:47 +00:00
  • 2fa54245e1 (EXPECTED_ERRNO): New macro. (openat_permissive): New function -- used in remove.c rewrite. (all functions): Set errno just before returning, only if there was an actual failure. Use EXPECTED_ERRNO rather than comparing against only ENOTDIR. Jim Meyering 2005-11-22 14:52:48 +00:00
  • 026769d1ce add ^lib/euidaccess-stat\.c$ Jim Meyering 2005-11-21 22:59:36 +00:00
  • 2f6048508c *** empty log message *** Jim Meyering 2005-11-20 18:54:09 +00:00
  • a2895948e9 Remove spurious space-before-TAB. Jim Meyering 2005-11-20 18:52:15 +00:00
  • b99b6ac9ff *** empty log message *** Jim Meyering 2005-11-20 14:07:13 +00:00
  • 8b0e637515 (gl_EUIDACCESS_STAT): New file/macro. Jim Meyering 2005-11-20 14:07:09 +00:00
  • 75e3f2ecf2 *** empty log message *** Jim Meyering 2005-11-20 09:10:35 +00:00
  • 800af65fec . Jim Meyering 2005-11-20 08:52:08 +00:00
  • 18673b9f2d *** empty log message *** Jim Meyering 2005-11-20 08:51:38 +00:00
  • e88132fa06 New file, mostly from euidaccess.c. Jim Meyering 2005-11-20 08:51:10 +00:00
  • c0c83656d2 *** empty log message *** Jim Meyering 2005-11-20 08:28:05 +00:00
  • 6ec2bc2d61 Require gl_EUIDACCESS_STAT. Jim Meyering 2005-11-20 08:26:38 +00:00
  • a1343d67f2 tweak grammar in a comment Jim Meyering 2005-11-19 07:49:10 +00:00
  • fd907a33bd . Jim Meyering 2005-11-18 23:12:06 +00:00
  • c7c0e0b0ed * configure.ac (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC. Paul Eggert 2005-11-18 23:03:34 +00:00
  • 1314a5e7d3 (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that we get a standard-conforming compiler. This relies on the new m4/c.m4 file. Note that it's a bit tricky, since c.m4 doesn't define AC_PROG_CC_STDC; we are relying on Autoconf 2.59 internals. m4/c.m4 can go away with Autoconf 2.60 comes out. Paul Eggert 2005-11-18 23:03:11 +00:00
  • efe0b59c14 * c.m4: New file. Paul Eggert 2005-11-18 23:02:48 +00:00
  • 761440da1b New file, to work around bugs in AIX cc. Problem reported by James Lemley. This file can go away after Autoconf 2.60 comes out. Paul Eggert 2005-11-18 23:02:32 +00:00
  • b9267a07a8 * configure.ac (AM_PROG_CC_C_O): Add. Paul Eggert 2005-11-18 19:46:19 +00:00
  • a6a99fdf5d (AM_PROG_CC_C_O): Add. Needed for CVS Automake. Problem reported by Eric Blake. Paul Eggert 2005-11-18 19:45:42 +00:00
  • a46640e980 s/filesystem/file system/ in a comment Jim Meyering 2005-11-17 21:17:35 +00:00
  • 4ace21e534 s/filesystem/file system/ Jim Meyering 2005-11-17 21:17:28 +00:00