Jim Meyering [Mon, 8 Dec 2003 10:17:16 +0000 (10:17 +0000)]
(news-date-check): New rule.
(alpha beta major): Depend on it.
Jim Meyering [Mon, 8 Dec 2003 10:16:26 +0000 (10:16 +0000)]
add release dates
Jim Meyering [Mon, 8 Dec 2003 09:04:48 +0000 (09:04 +0000)]
Don't assume that 'ls' output is fixed-width.
Jim Meyering [Mon, 8 Dec 2003 09:03:51 +0000 (09:03 +0000)]
Don't assume that 'ls' output is fixed-width.
Jim Meyering [Mon, 8 Dec 2003 08:38:37 +0000 (08:38 +0000)]
* NEWS: ls -l (and similar options) now adjust all columns to
fit the data. Generalized from a suggestion by Leah Q for file sizes.
Jim Meyering [Mon, 8 Dec 2003 08:38:33 +0000 (08:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Dec 2003 08:37:41 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Dec 2003 08:37:36 +0000 (08:37 +0000)]
(What information is listed, chroot invocation):
Adjust example 'ls' output to match new behavior with narrower
output columns.
(The cut command): Remove example that cut the output of
'ls -l'. The output was incorrect even with the old 'ls', and
the whole idea of using 'cut' on 'ls -l' output is bogus anyway.
Jim Meyering [Mon, 8 Dec 2003 08:36:20 +0000 (08:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Dec 2003 08:34:40 +0000 (08:34 +0000)]
(INODE_DIGITS, LOGIN_NAME_MAX, ID_LENGTH_MAX): Remove.
(format_user_width, format_group_width, unsigned_file_size,
format_group): New functions.
(block_size_width): Renamed from block_size_size.
(inode_number_width, nlink_width, owner_width, group_width,
author_width, major_device_number_width, minor_device_number_width,
file_size_width): New vars.
(clear_files): Initialize them.
(gobble_file): Set them. Don't ceiling block_size_width to 7.
(print_long_file): Use them.
(gobble_file): Use a new local variable 'f' to make the code
smaller and more consistent with other functions.
(format_user): Output to stdout, not to a buffer, so that we
don't have to worry about buffer overrun. Update dired_pos.
(print_long_file): Don't put owner, group, author into buffer;
just print them directly. Don't assume link counts and
major and minor numbers fit into unsigned long int.
From Paul Eggert.
Jim Meyering [Wed, 3 Dec 2003 10:32:34 +0000 (10:32 +0000)]
.
Jim Meyering [Wed, 3 Dec 2003 10:31:55 +0000 (10:31 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Dec 2003 10:31:37 +0000 (10:31 +0000)]
.
Jim Meyering [Wed, 3 Dec 2003 10:28:45 +0000 (10:28 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Dec 2003 10:28:39 +0000 (10:28 +0000)]
(getgroups): xmalloc takes one argument, not two.
Jim Meyering [Tue, 2 Dec 2003 10:06:55 +0000 (10:06 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Dec 2003 10:06:36 +0000 (10:06 +0000)]
Include sha1.h (reflect renaming: sha.h -> sha1.h.
Jim Meyering [Tue, 2 Dec 2003 09:30:35 +0000 (09:30 +0000)]
.
Jim Meyering [Tue, 2 Dec 2003 09:08:27 +0000 (09:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Dec 2003 09:08:16 +0000 (09:08 +0000)]
Use SHA1_H, not _SHA_H in #ifndef condition.
Jim Meyering [Tue, 2 Dec 2003 09:06:54 +0000 (09:06 +0000)]
.
Jim Meyering [Tue, 2 Dec 2003 09:06:24 +0000 (09:06 +0000)]
renamed to sha1.h
Jim Meyering [Tue, 2 Dec 2003 09:06:18 +0000 (09:06 +0000)]
renamed to sha1.c
Jim Meyering [Tue, 2 Dec 2003 09:05:50 +0000 (09:05 +0000)]
File renamed from sha.h.
Jim Meyering [Tue, 2 Dec 2003 09:05:40 +0000 (09:05 +0000)]
File renamed from sha.c.
Include sha1.h, not sha.h.
Jim Meyering [Tue, 2 Dec 2003 08:59:47 +0000 (08:59 +0000)]
Reflect sha -> sha1 renaming.
Jim Meyering [Tue, 2 Dec 2003 08:57:48 +0000 (08:57 +0000)]
.
Jim Meyering [Tue, 2 Dec 2003 08:57:39 +0000 (08:57 +0000)]
Add FSF Copyright.
Jim Meyering [Tue, 2 Dec 2003 08:55:36 +0000 (08:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Dec 2003 08:55:30 +0000 (08:55 +0000)]
Correct stale references to MD5 and `16 bytes'.
Patch by Ulrich Drepper.
Add FSF Copyright. Remove reference to Scott Miller,
since this file is now nearly identical to md5.h.
Jim Meyering [Tue, 2 Dec 2003 08:24:38 +0000 (08:24 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Dec 2003 08:24:31 +0000 (08:24 +0000)]
(rol) [__GNUC__ && __i386__]: Don't use `asm' code. These
days, gcc-3.x does better all by itself. Patch from Dean Gaudet:
http://mail.gnu.org/archive/html/bug-coreutils/2003-11/msg00144.html
Jim Meyering [Sat, 29 Nov 2003 12:02:53 +0000 (12:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Nov 2003 12:01:51 +0000 (12:01 +0000)]
Include "xalloc.h", for decl of xstrdup.
Jim Meyering [Sat, 29 Nov 2003 11:58:59 +0000 (11:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Nov 2003 11:55:52 +0000 (11:55 +0000)]
(c_strtod): Save and restore original LC_NUMERIC setting,
in case it was different from the environment-derived value.
Patch by Paul Eggert.
Jim Meyering [Thu, 27 Nov 2003 09:43:33 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 09:42:50 +0000 (09:42 +0000)]
.
Jim Meyering [Thu, 27 Nov 2003 08:45:01 +0000 (08:45 +0000)]
Remove new temp file, h-$i.
Jim Meyering [Thu, 27 Nov 2003 08:29:03 +0000 (08:29 +0000)]
(syntax-check-rules): Remove sc_xalloc_h_in_src from here, too.
Jim Meyering [Thu, 27 Nov 2003 08:26:04 +0000 (08:26 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 08:18:45 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 08:17:47 +0000 (08:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 08:17:35 +0000 (08:17 +0000)]
Include "c-strtod.h".
(parse_options): Update xstrtod call to include new argument, c_strtod.
Jim Meyering [Thu, 27 Nov 2003 08:16:38 +0000 (08:16 +0000)]
Include "c-strtod.h".
(main): Update xstrtod call to include new argument, c_strtod.
Jim Meyering [Thu, 27 Nov 2003 08:14:39 +0000 (08:14 +0000)]
Include "c-strtod.h".
(scan_double_arg): Update xstrtod call to include new argument, c_strtod.
Jim Meyering [Thu, 27 Nov 2003 08:02:18 +0000 (08:02 +0000)]
Remove decls of strtod, strtol, strtoul; no longer
needed now that we assume C89. Include "c-strtod.h".
(xstrtod): Call c_strtod, not strtod.
Jim Meyering [Thu, 27 Nov 2003 08:00:12 +0000 (08:00 +0000)]
.
Jim Meyering [Thu, 27 Nov 2003 07:58:32 +0000 (07:58 +0000)]
Tweak mark-up to use @env, not @code in a few places.
Mark new use of LC_NUMERIC.
Jim Meyering [Thu, 27 Nov 2003 07:52:48 +0000 (07:52 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Nov 2003 07:52:45 +0000 (07:52 +0000)]
Parse floating-point operands and options in the C locale.
POSIX requires this for printf, and we might as well be
consistent elsewhere (tail, sleep, seq).
(tail invocation, printf invocation,
sleep invocation, seq invocation): Document this.
Jim Meyering [Thu, 27 Nov 2003 07:48:35 +0000 (07:48 +0000)]
.
Jim Meyering [Thu, 27 Nov 2003 07:48:21 +0000 (07:48 +0000)]
(xstrtod): Accept an extra arg, specifying the conversion function.
Don't include stdlib.h; no longer needed.
Jim Meyering [Thu, 27 Nov 2003 07:47:22 +0000 (07:47 +0000)]
(xstrtod): Accept an extra arg, specifying the conversion function.
Jim Meyering [Thu, 27 Nov 2003 07:46:01 +0000 (07:46 +0000)]
new files, from Paul Eggert
Jim Meyering [Thu, 27 Nov 2003 07:43:11 +0000 (07:43 +0000)]
(libfetish_a_SOURCES): Add c-strtod.c, c-strtod.h.
Jim Meyering [Thu, 27 Nov 2003 07:42:03 +0000 (07:42 +0000)]
Don't include xstrtod.h; it's not needed.
Jim Meyering [Wed, 26 Nov 2003 11:21:28 +0000 (11:21 +0000)]
(Traversing symlinks): Rearrange things.
(chown invocation): Add xrefs to `Traversing symlinks' for -H, -P, -L.
(chgrp invocation): Likewise.
Jim Meyering [Mon, 24 Nov 2003 10:58:20 +0000 (10:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 10:58:08 +0000 (10:58 +0000)]
(Traversing symlinks, Treating / specially): New sections.
(rm invocation, chown invocation, chmod invocation, chgrp invocation):
Describe new options, --preserve-root and --no-preserve-root.
Jim Meyering [Mon, 24 Nov 2003 09:07:34 +0000 (09:07 +0000)]
sync with version from autoconf
Jim Meyering [Mon, 24 Nov 2003 08:06:04 +0000 (08:06 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 08:05:25 +0000 (08:05 +0000)]
Handle another errno variant (HPUX, EPERM).
Jim Meyering [Mon, 24 Nov 2003 08:05:02 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Nov 2003 08:01:57 +0000 (08:01 +0000)]
upgrade to automake-1.7d
Jim Meyering [Sat, 22 Nov 2003 15:10:22 +0000 (15:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 15:08:19 +0000 (15:08 +0000)]
(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.
Jim Meyering [Sat, 22 Nov 2003 14:34:12 +0000 (14:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 14:34:04 +0000 (14:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Nov 2003 14:33:57 +0000 (14:33 +0000)]
(sc_xalloc_h_in_src): Remove rule. Subsumed by...
(sc_system_h_headers): Do this test only if sys2.h exists.
Jim Meyering [Fri, 21 Nov 2003 13:42:54 +0000 (13:42 +0000)]
.
Jim Meyering [Fri, 21 Nov 2003 08:21:28 +0000 (08:21 +0000)]
*** empty log message ***
Jim Meyering [Fri, 21 Nov 2003 08:21:23 +0000 (08:21 +0000)]
(xreadlink): Correct outdated comment.
Jim Meyering [Thu, 20 Nov 2003 08:08:36 +0000 (08:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Nov 2003 08:08:24 +0000 (08:08 +0000)]
Ensure that the bug-reporting address is
included in the --help output for every program.
Jim Meyering [Thu, 20 Nov 2003 08:03:50 +0000 (08:03 +0000)]
(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.
Jim Meyering [Thu, 20 Nov 2003 07:57:33 +0000 (07:57 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Nov 2003 07:57:24 +0000 (07:57 +0000)]
(usage): Output bug-reporting address.
Jim Meyering [Wed, 19 Nov 2003 23:04:20 +0000 (23:04 +0000)]
(usage): Mention that FILE1 and FILE2 must be sorted
on the join fields. Suggestion from Bruce Robertson.
Jim Meyering [Wed, 19 Nov 2003 07:27:07 +0000 (07:27 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Nov 2003 07:26:35 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:35 +0000 (16:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:25 +0000 (16:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:17:00 +0000 (16:17 +0000)]
`od -c -w9999999' could segfault
(dump): Use xnmalloc/free, not alloca.
Jim Meyering [Tue, 18 Nov 2003 11:37:35 +0000 (11:37 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 10:06:19 +0000 (10:06 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 16:13:56 +0000 (16:13 +0000)]
.
Jim Meyering [Mon, 17 Nov 2003 16:13:32 +0000 (16:13 +0000)]
.
Jim Meyering [Mon, 17 Nov 2003 16:13:08 +0000 (16:13 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 16:13:04 +0000 (16:13 +0000)]
On systems without utime and without a utimes function capable of
dealing with a NULL struct utimbuf* argument, this utime replacement
could -- in unusual circumstances -- leak a file descriptor.
Include <unistd.h> and <errno.h>.
(utime_null): Be sure to close `fd' and to preserve errno.
Jim Meyering [Mon, 17 Nov 2003 13:46:34 +0000 (13:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:56 +0000 (21:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:47 +0000 (21:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 18:14:45 +0000 (18:14 +0000)]
.
Jim Meyering [Sun, 16 Nov 2003 14:13:13 +0000 (14:13 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:12:04 +0000 (14:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:11:59 +0000 (14:11 +0000)]
Minor tweak: use mkdir -p.
Jim Meyering [Sun, 16 Nov 2003 14:02:03 +0000 (14:02 +0000)]
.
Jim Meyering [Sun, 16 Nov 2003 12:26:02 +0000 (12:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 12:25:35 +0000 (12:25 +0000)]
Fix read-from-free'd-buffer error detected by valgrind.
(remove_line): Don't return a pointer to data in
a freed buffer. Instead, arrange to free the buffer on the
subsequent call.