Jim Meyering
e12e1864fc
*** empty log message ***
2005-12-03 22:24:31 +00:00
Jim Meyering
b867d3fcfb
*** empty log message ***
2005-12-03 22:23:40 +00:00
Jim Meyering
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.
2005-12-03 22:23:23 +00:00
Jim Meyering
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.
2005-12-03 22:23:09 +00:00
Jim Meyering
616fc42b4f
Update uses of undocumented, for- testing-only --presume* options
...
to start with `---'.
2005-12-03 22:16:24 +00:00
Paul Eggert
448d523897
Mention change to jm-macros.m4.
2005-12-02 18:35:33 +00:00
Paul Eggert
6d28d2c738
(gl_MACROS): Adjust to renaming of gl_SOCKLEN_T to gl_TYPE_SOCKLEN_T.
2005-12-02 18:35:19 +00:00
Paul Eggert
48f08b4f53
Fix typo in previous log entry.
2005-12-02 18:23:42 +00:00
Paul Eggert
feb302b9f2
* (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
...
Use implementation from Albert Chin, with some
comments/corrections by Stepan Kasal and myself.
2005-12-02 18:22:10 +00:00
Jim Meyering
e4f62b9fcf
*** empty log message ***
2005-12-02 07:49:12 +00:00
Paul Eggert
76bebf24a5
Import from gnulib.
2005-12-02 00:42:52 +00:00
Paul Eggert
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.
2005-12-02 00:29:02 +00:00
Jim Meyering
82ff869140
*** empty log message ***
2005-11-30 17:42:36 +00:00
Jim Meyering
be3ef12b92
Add a comment about cvsu.
2005-11-30 17:42:33 +00:00
Jim Meyering
46679371cb
*** empty log message ***
2005-11-30 13:05:08 +00:00
Jim Meyering
ea2a4f2658
(gl_FUNC_OPENAT): Require openat-priv.h.
2005-11-30 13:05:03 +00:00
Jim Meyering
798f577bec
Include openat-priv.h.
...
Remove definitions of macros defined therein.
2005-11-30 13:04:26 +00:00
Jim Meyering
07c80bab50
Define macros used by mkdirat.c and openat.c.
2005-11-30 13:03:21 +00:00
Jim Meyering
48a8638c23
*** empty log message ***
2005-11-30 12:40:12 +00:00
Jim Meyering
29a3f2f810
(mkdirat): Declare.
2005-11-30 12:40:09 +00:00
Jim Meyering
3f23bf599c
*** empty log message ***
2005-11-30 12:39:30 +00:00
Jim Meyering
2e72b76fd3
(mkdirat): New file and function.
2005-11-30 12:39:14 +00:00
Jim Meyering
76b8c64505
*** empty log message ***
2005-11-30 12:38:05 +00:00
Jim Meyering
7214c0bf70
(gl_FUNC_OPENAT): Require and compile mkdirat.c.
2005-11-30 12:38:02 +00:00
Paul Eggert
fc0fa751c4
Log today's changes.
2005-11-26 07:53:39 +00:00
Paul Eggert
7c69f05221
(df invocation): Document treatment of dummy file
...
systems better.
2005-11-26 07:52:43 +00:00
Paul Eggert
1e20020bb8
(ME_DUMMY): "none" and "proc" file systems are dummies
...
too.
2005-11-26 07:52:11 +00:00
Paul Eggert
e9c8be100e
(show_point): Ignore inaccessible file systems.
...
(usage): -a includes dummy file systems, not size-0 file systems.
2005-11-26 07:51:45 +00:00
Paul Eggert
bb14284481
df updates for "none", "proc", inaccessible file systems.
2005-11-26 07:51:27 +00:00
Paul Eggert
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.
2005-11-26 07:43:50 +00:00
Paul Eggert
9b539d8634
(unsigned_long_long_int): Renamed from ulonglong_t,
...
to avoid collision with POSIX name space. All uses changed.
2005-11-26 07:29:48 +00:00
Paul Eggert
128bc21842
(MOSTLYCLEANFILES): Clean stdbool.h-t, not stdbool.ht.
2005-11-26 06:58:34 +00:00
Paul Eggert
b7fa297fa5
(stdbool.h): Fix typo in previous change.
2005-11-26 06:55:22 +00:00
Paul Eggert
dedcfff69c
(stdbool.h): Just copy stdbool_.h; no need to sed any more.
2005-11-26 06:54:17 +00:00
Paul Eggert
e05c20ea7a
no longer needed.
...
(gl_STDBOOL_H): New macro, from gnulib.
(AC_HEADER_STDBOOL): Sync with gnulib.
2005-11-26 06:37:52 +00:00
Paul Eggert
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.
2005-11-26 06:37:31 +00:00
Paul Eggert
c63680e87b
(gettime) [!defined OK_TO_USE_1S_CLOCK]:
...
Report an error at compile-time if only a 1-second nominal clock
resolution is found.
2005-11-26 06:30:35 +00:00
Jim Meyering
1b7e4389dc
*** empty log message ***
2005-11-24 17:25:11 +00:00
Jim Meyering
f85b578dbb
(EXTRA_DIST): Add acl to the list.
2005-11-24 17:25:08 +00:00
Jim Meyering
2678a248bb
Add `$0: ' prefix to diagnostics.
2005-11-24 17:24:36 +00:00
Jim Meyering
f36a979ac9
*** empty log message ***
2005-11-24 13:42:08 +00:00
Jim Meyering
5ee3356ed3
*** empty log message ***
2005-11-24 13:42:04 +00:00
Jim Meyering
f8f2c8b7b1
Add this:
...
^lib/buffer-lcm\.c$
2005-11-24 09:04:34 +00:00
Paul Eggert
211d43d85e
Improve performance a bit with src/copy.c.
2005-11-24 06:50:11 +00:00
Paul Eggert
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.
2005-11-24 06:49:44 +00:00
Paul Eggert
757d7a8eb5
Add buffer-lcm.
2005-11-24 06:49:10 +00:00
Paul Eggert
ef774a082b
(libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h.
2005-11-24 06:48:55 +00:00
Paul Eggert
79eb35c4e5
Initial version
2005-11-24 06:48:36 +00:00
Paul Eggert
325619eb0d
Initial version, from diffutils
2005-11-24 06:48:03 +00:00
Jim Meyering
1aab378857
tweak grammar in comments
2005-11-23 13:36:48 +00:00