Jim Meyering [Fri, 9 Dec 2005 16:27:26 +0000 (16:27 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Dec 2005 16:22:27 +0000 (16:22 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Dec 2005 16:22:24 +0000 (16:22 +0000)]
(main): Fix misleading comment.
Jim Meyering [Thu, 8 Dec 2005 18:34:21 +0000 (18:34 +0000)]
.
Paul Eggert [Wed, 7 Dec 2005 21:12:38 +0000 (21:12 +0000)]
Add dd noatime.
Paul Eggert [Wed, 7 Dec 2005 21:12:12 +0000 (21:12 +0000)]
(flags, usage): Add support for noatime flag.
Paul Eggert [Wed, 7 Dec 2005 21:11:45 +0000 (21:11 +0000)]
(O_NOATIME): Define to 0 if not already defined.
Paul Eggert [Wed, 7 Dec 2005 21:11:27 +0000 (21:11 +0000)]
* coreutils.texi (dd invocation): New noatime flag.
Paul Eggert [Wed, 7 Dec 2005 21:11:14 +0000 (21:11 +0000)]
(dd invocation): New noatime flag.
Paul Eggert [Wed, 7 Dec 2005 21:10:33 +0000 (21:10 +0000)]
Mention dd's new noatime flag.
Paul Eggert [Wed, 7 Dec 2005 18:22:05 +0000 (18:22 +0000)]
* lib/stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
* m4/stat-time.m4 (gl_STAT_TIME): Likewise.
Jim Meyering [Wed, 7 Dec 2005 16:23:43 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 7 Dec 2005 16:22:24 +0000 (16:22 +0000)]
(EXTRA_DIST): Add build-aux/cvsu.
Jim Meyering [Wed, 7 Dec 2005 16:10:51 +0000 (16:10 +0000)]
(CVS_LIST): Use build-aux/cvsu, now that we have our own copy of cvsu.
Jim Meyering [Wed, 7 Dec 2005 16:09:54 +0000 (16:09 +0000)]
*** empty log message ***
Jim Meyering [Wed, 7 Dec 2005 16:09:38 +0000 (16:09 +0000)]
From Debian unstable: /usr/bin/cvsu.
Jim Meyering [Wed, 7 Dec 2005 16:09:09 +0000 (16:09 +0000)]
*** empty log message ***
Jim Meyering [Wed, 7 Dec 2005 08:08:15 +0000 (08:08 +0000)]
*** empty log message ***
Jim Meyering [Wed, 7 Dec 2005 08:08:08 +0000 (08:08 +0000)]
exit-77 before the trap, not after, if we fail
to create a temporary directory on another partition.
Jim Meyering [Tue, 6 Dec 2005 07:14:11 +0000 (07:14 +0000)]
*** empty log message ***
Jim Meyering [Tue, 6 Dec 2005 07:14:04 +0000 (07:14 +0000)]
Cross-reference to dirname and readlink.
Jim Meyering [Tue, 6 Dec 2005 07:13:49 +0000 (07:13 +0000)]
Cross-reference to basename and readlink.
Paul Eggert [Mon, 5 Dec 2005 17:46:22 +0000 (17:46 +0000)]
Mention reporters for "none" and "proc" mounts.
Jim Meyering [Sun, 4 Dec 2005 23:43:55 +0000 (23:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Dec 2005 23:34:19 +0000 (23:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Dec 2005 23:34:14 +0000 (23:34 +0000)]
(fchown) [!HAVE_FCHOWN]: Define fchown(...) to -1.
(set_owner, preserve_author): New functions, factored out of copy_reg.
(copy_reg): Use them.
(copy_internal): Use them here, too.
From Andreas Gruenbacher.
Jim Meyering [Sun, 4 Dec 2005 22:00:18 +0000 (22:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Dec 2005 22:00:14 +0000 (22:00 +0000)]
(EXPECTED_ERRNO): Add ENOSYS, for Solaris 8.
Paul Eggert reported that unlink/rmdir vs. e.g., /proc/self/fd/N/FILE
fails with ENOSYS. This makes openat revert to using save-cwd.c
functions in that case.
Jim Meyering [Sun, 4 Dec 2005 09:58:40 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Dec 2005 09:58:34 +0000 (09:58 +0000)]
(usage): Say what happens with two or more arguments.
Jim Meyering [Sat, 3 Dec 2005 23:24:51 +0000 (23:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 3 Dec 2005 23:24:46 +0000 (23:24 +0000)]
(print_uptime): Move decl of local `upsecs' into scope where it's used.
Jim Meyering [Sat, 3 Dec 2005 23:19:58 +0000 (23:19 +0000)]
.
Jim Meyering [Sat, 3 Dec 2005 22:24:31 +0000 (22:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 3 Dec 2005 22:23:40 +0000 (22:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 3 Dec 2005 22:23:23 +0000 (22:23 +0000)]
(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 [Sat, 3 Dec 2005 22:23:09 +0000 (22:23 +0000)]
(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 [Sat, 3 Dec 2005 22:16:24 +0000 (22:16 +0000)]
Update uses of undocumented, for- testing-only --presume* options
to start with `---'.
Paul Eggert [Fri, 2 Dec 2005 18:35:33 +0000 (18:35 +0000)]
Mention change to jm-macros.m4.
Paul Eggert [Fri, 2 Dec 2005 18:35:19 +0000 (18:35 +0000)]
(gl_MACROS): Adjust to renaming of gl_SOCKLEN_T to gl_TYPE_SOCKLEN_T.
Paul Eggert [Fri, 2 Dec 2005 18:23:42 +0000 (18:23 +0000)]
Fix typo in previous log entry.
Paul Eggert [Fri, 2 Dec 2005 18:22:10 +0000 (18:22 +0000)]
* (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
Use implementation from Albert Chin, with some
comments/corrections by Stepan Kasal and myself.
Jim Meyering [Fri, 2 Dec 2005 07:49:12 +0000 (07:49 +0000)]
*** empty log message ***
Paul Eggert [Fri, 2 Dec 2005 00:42:52 +0000 (00:42 +0000)]
Import from gnulib.
Paul Eggert [Fri, 2 Dec 2005 00:29:02 +0000 (00:29 +0000)]
(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.
Jim Meyering [Wed, 30 Nov 2005 17:42:36 +0000 (17:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Nov 2005 17:42:33 +0000 (17:42 +0000)]
Add a comment about cvsu.
Jim Meyering [Wed, 30 Nov 2005 13:05:08 +0000 (13:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Nov 2005 13:05:03 +0000 (13:05 +0000)]
(gl_FUNC_OPENAT): Require openat-priv.h.
Jim Meyering [Wed, 30 Nov 2005 13:04:26 +0000 (13:04 +0000)]
Include openat-priv.h.
Remove definitions of macros defined therein.
Jim Meyering [Wed, 30 Nov 2005 13:03:21 +0000 (13:03 +0000)]
Define macros used by mkdirat.c and openat.c.
Jim Meyering [Wed, 30 Nov 2005 12:40:12 +0000 (12:40 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Nov 2005 12:40:09 +0000 (12:40 +0000)]
(mkdirat): Declare.
Jim Meyering [Wed, 30 Nov 2005 12:39:30 +0000 (12:39 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Nov 2005 12:39:14 +0000 (12:39 +0000)]
(mkdirat): New file and function.
Jim Meyering [Wed, 30 Nov 2005 12:38:05 +0000 (12:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Nov 2005 12:38:02 +0000 (12:38 +0000)]
(gl_FUNC_OPENAT): Require and compile mkdirat.c.
Paul Eggert [Sat, 26 Nov 2005 07:53:39 +0000 (07:53 +0000)]
Log today's changes.
Paul Eggert [Sat, 26 Nov 2005 07:52:43 +0000 (07:52 +0000)]
(df invocation): Document treatment of dummy file
systems better.
Paul Eggert [Sat, 26 Nov 2005 07:52:11 +0000 (07:52 +0000)]
(ME_DUMMY): "none" and "proc" file systems are dummies
too.
Paul Eggert [Sat, 26 Nov 2005 07:51:45 +0000 (07:51 +0000)]
(show_point): Ignore inaccessible file systems.
(usage): -a includes dummy file systems, not size-0 file systems.
Paul Eggert [Sat, 26 Nov 2005 07:51:27 +0000 (07:51 +0000)]
df updates for "none", "proc", inaccessible file systems.
Paul Eggert [Sat, 26 Nov 2005 07:43:50 +0000 (07:43 +0000)]
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 [Sat, 26 Nov 2005 07:29:48 +0000 (07:29 +0000)]
(unsigned_long_long_int): Renamed from ulonglong_t,
to avoid collision with POSIX name space. All uses changed.
Paul Eggert [Sat, 26 Nov 2005 06:58:34 +0000 (06:58 +0000)]
(MOSTLYCLEANFILES): Clean stdbool.h-t, not stdbool.ht.
Paul Eggert [Sat, 26 Nov 2005 06:55:22 +0000 (06:55 +0000)]
(stdbool.h): Fix typo in previous change.
Paul Eggert [Sat, 26 Nov 2005 06:54:17 +0000 (06:54 +0000)]
(stdbool.h): Just copy stdbool_.h; no need to sed any more.
Paul Eggert [Sat, 26 Nov 2005 06:37:52 +0000 (06:37 +0000)]
no longer needed.
(gl_STDBOOL_H): New macro, from gnulib.
(AC_HEADER_STDBOOL): Sync with gnulib.
Paul Eggert [Sat, 26 Nov 2005 06:37:31 +0000 (06:37 +0000)]
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 [Sat, 26 Nov 2005 06:30:35 +0000 (06:30 +0000)]
(gettime) [!defined OK_TO_USE_1S_CLOCK]:
Report an error at compile-time if only a 1-second nominal clock
resolution is found.
Jim Meyering [Thu, 24 Nov 2005 17:25:11 +0000 (17:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 24 Nov 2005 17:25:08 +0000 (17:25 +0000)]
(EXTRA_DIST): Add acl to the list.
Jim Meyering [Thu, 24 Nov 2005 17:24:36 +0000 (17:24 +0000)]
Add `$0: ' prefix to diagnostics.
Jim Meyering [Thu, 24 Nov 2005 13:42:08 +0000 (13:42 +0000)]
*** empty log message ***
Jim Meyering [Thu, 24 Nov 2005 13:42:04 +0000 (13:42 +0000)]
*** empty log message ***
Jim Meyering [Thu, 24 Nov 2005 09:04:34 +0000 (09:04 +0000)]
Add this:
^lib/buffer-lcm\.c$
Paul Eggert [Thu, 24 Nov 2005 06:50:11 +0000 (06:50 +0000)]
Improve performance a bit with src/copy.c.
Paul Eggert [Thu, 24 Nov 2005 06:49:44 +0000 (06:49 +0000)]
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 [Thu, 24 Nov 2005 06:49:10 +0000 (06:49 +0000)]
Add buffer-lcm.
Paul Eggert [Thu, 24 Nov 2005 06:48:55 +0000 (06:48 +0000)]
(libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h.
Paul Eggert [Thu, 24 Nov 2005 06:48:36 +0000 (06:48 +0000)]
Initial version
Paul Eggert [Thu, 24 Nov 2005 06:48:03 +0000 (06:48 +0000)]
Initial version, from diffutils
Jim Meyering [Wed, 23 Nov 2005 13:36:48 +0000 (13:36 +0000)]
tweak grammar in comments
Jim Meyering [Wed, 23 Nov 2005 13:35:15 +0000 (13:35 +0000)]
*** empty log message ***
Jim Meyering [Wed, 23 Nov 2005 13:35:09 +0000 (13:35 +0000)]
(fdopendir): Don't change errno when returning non-NULL.
Paul Eggert [Wed, 23 Nov 2005 04:52:48 +0000 (04:52 +0000)]
(rm): Don't assume C99 for-loop syntax.
Jim Meyering [Tue, 22 Nov 2005 21:12:28 +0000 (21:12 +0000)]
whoops. Add back decl/definition of n_lengths.
Jim Meyering [Tue, 22 Nov 2005 21:03:43 +0000 (21:03 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 21:03:36 +0000 (21:03 +0000)]
(AD_push): Remove debugging cruft.
Jim Meyering [Tue, 22 Nov 2005 20:05:48 +0000 (20:05 +0000)]
tweak comments
Jim Meyering [Tue, 22 Nov 2005 16:23:21 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 16:00:04 +0000 (16:00 +0000)]
.
Jim Meyering [Tue, 22 Nov 2005 15:59:38 +0000 (15:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 15:59:35 +0000 (15:59 +0000)]
Add lib/euidaccess-stat.c.
Jim Meyering [Tue, 22 Nov 2005 15:33:39 +0000 (15:33 +0000)]
.
Jim Meyering [Tue, 22 Nov 2005 15:33:26 +0000 (15:33 +0000)]
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 [Tue, 22 Nov 2005 15:32:30 +0000 (15:32 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 15:32:20 +0000 (15:32 +0000)]
Put copyright dates all on one line so the
emacs function that updates them works properly.
Jim Meyering [Tue, 22 Nov 2005 15:08:13 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 15:08:09 +0000 (15:08 +0000)]
(rm): Change expected diagnostic, `cannot open directory' to `cannot remove',
to align with new version of rm.