]> git.ipfire.org Git - thirdparty/coreutils.git/log
thirdparty/coreutils.git
22 years agoFix printf POSIX compatibility bug reported by Ben Harris in
Jim Meyering [Mon, 21 Apr 2003 17:59:21 +0000 (17:59 +0000)] 
Fix printf POSIX compatibility bug reported by Ben Harris in
<http://mail.gnu.org/archive/html/bug-coreutils/2003-04/msg00070.html>.

* doc/coreutils.texi (printf invocation): It's \NNN in the format,
\0NNN in the %b operand.
* src/printf.c (usage): Likewise.
(print_esc): New arg OCTAL0 to specify whether \0NNN or \NNN
is desired.  All uses changed.  Behave like Bash printf if %b
operand uses \NNN where the initial N is not 0.

22 years ago*** empty log message ***
Jim Meyering [Mon, 21 Apr 2003 16:47:02 +0000 (16:47 +0000)] 
*** empty log message ***

22 years agoAdd tests for the printf fixes of 2003-04-20.
Jim Meyering [Mon, 21 Apr 2003 16:46:56 +0000 (16:46 +0000)] 
Add tests for the printf fixes of 2003-04-20.

22 years ago*** empty log message ***
Jim Meyering [Mon, 21 Apr 2003 15:13:50 +0000 (15:13 +0000)] 
*** empty log message ***

22 years agoNew version, now that this file is now on the list in ../Makefile.cfg.
Jim Meyering [Mon, 21 Apr 2003 15:13:43 +0000 (15:13 +0000)] 
New version, now that this file is now on the list in ../Makefile.cfg.

22 years ago(cvs_files): Add $(srcdir)/config/depcomp to the list.
Jim Meyering [Mon, 21 Apr 2003 15:12:46 +0000 (15:12 +0000)] 
(cvs_files): Add $(srcdir)/config/depcomp to the list.

22 years agoremove SPCs before TAB
Jim Meyering [Mon, 21 Apr 2003 15:09:23 +0000 (15:09 +0000)] 
remove SPCs before TAB

22 years ago*** empty log message ***
Jim Meyering [Thu, 17 Apr 2003 07:36:32 +0000 (07:36 +0000)] 
*** empty log message ***

22 years agoRemove uses of PROTOTYPE macro.
Jim Meyering [Thu, 17 Apr 2003 07:36:24 +0000 (07:36 +0000)] 
Remove uses of PROTOTYPE macro.

22 years ago*** empty log message ***
Jim Meyering [Wed, 16 Apr 2003 22:16:56 +0000 (22:16 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 16 Apr 2003 22:16:36 +0000 (22:16 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 16 Apr 2003 21:54:45 +0000 (21:54 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 16 Apr 2003 21:43:07 +0000 (21:43 +0000)] 
*** empty log message ***

22 years agoregenerate, using new ../Makefile.am.in
Jim Meyering [Tue, 15 Apr 2003 22:21:43 +0000 (22:21 +0000)] 
regenerate, using new ../Makefile.am.in

22 years agoregenerate, using new ../Makefile.am.in
Jim Meyering [Tue, 15 Apr 2003 22:21:07 +0000 (22:21 +0000)] 
regenerate, using new ../Makefile.am.in

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 Apr 2003 22:18:58 +0000 (22:18 +0000)] 
*** empty log message ***

22 years agoUse $(VAR) rather than @VAR@, now that we can rely on automake to
Jim Meyering [Tue, 15 Apr 2003 22:18:12 +0000 (22:18 +0000)] 
Use $(VAR) rather than @VAR@, now that we can rely on automake to
emit a definition for each substituted variable.
Remove definition of PERL.

22 years agoremove SPCs before TAB
Jim Meyering [Tue, 15 Apr 2003 17:04:18 +0000 (17:04 +0000)] 
remove SPCs before TAB

22 years agoremove SPCs before TAB
Jim Meyering [Tue, 15 Apr 2003 16:12:44 +0000 (16:12 +0000)] 
remove SPCs before TAB

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 Apr 2003 16:11:41 +0000 (16:11 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 Apr 2003 06:27:50 +0000 (06:27 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 Apr 2003 06:27:18 +0000 (06:27 +0000)] 
*** empty log message ***

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:26:49 +0000 (06:26 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 Apr 2003 06:23:27 +0000 (06:23 +0000)] 
*** empty log message ***

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:22:54 +0000 (06:22 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:22:33 +0000 (06:22 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:21:52 +0000 (06:21 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:21:29 +0000 (06:21 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:19:03 +0000 (06:19 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years agoRemove (or replace-with-TAB(s) to retain alignment)
Jim Meyering [Tue, 15 Apr 2003 06:18:05 +0000 (06:18 +0000)] 
Remove (or replace-with-TAB(s) to retain alignment)
each sequence of spaces before a TAB character.

22 years ago*** empty log message ***
Jim Meyering [Sun, 13 Apr 2003 09:11:18 +0000 (09:11 +0000)] 
*** empty log message ***

22 years ago(is_empty_dir): Don't closedir (NULL).
Jim Meyering [Sun, 13 Apr 2003 09:10:50 +0000 (09:10 +0000)] 
(is_empty_dir): Don't closedir (NULL).

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Apr 2003 19:54:00 +0000 (19:54 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Apr 2003 19:52:38 +0000 (19:52 +0000)] 
*** empty log message ***

22 years agoadd test corresponding to today's too-many-newlines fix
Jim Meyering [Sat, 12 Apr 2003 19:52:33 +0000 (19:52 +0000)] 
add test corresponding to today's too-many-newlines fix

22 years agoGiving nl an invalid STYLE argument (in --header-numbering=STYLE (-h),
Jim Meyering [Sat, 12 Apr 2003 19:51:36 +0000 (19:51 +0000)] 
Giving nl an invalid STYLE argument (in --header-numbering=STYLE (-h),
--body-numbering=STYLE (-b), or --footer-numbering=STYLE (-f)) or
FORMAT (--number-format=FORMAT (-n)) would not give a useful diagnostic.

(main): Fix those problems and remove literal quote marks
(e.g., "`%s'") from format string; instead use "%s" in each format
string and `quote (optarg)' as the corresponding argument.
Also, diagnose all invalid command line options before failing.

22 years ago(proc_text): Fix a bug introduced on 2001-11-10,
Jim Meyering [Sat, 12 Apr 2003 18:44:53 +0000 (18:44 +0000)] 
(proc_text): Fix a bug introduced on 2001-11-10,
for textutils-2.0.17, that would make nl output extra newlines
in some cases.

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Apr 2003 13:03:01 +0000 (13:03 +0000)] 
*** empty log message ***

22 years ago(TESTS): Add readlink.
Jim Meyering [Sat, 12 Apr 2003 13:02:57 +0000 (13:02 +0000)] 
(TESTS): Add readlink.

22 years ago*** empty log message ***
Jim Meyering [Sat, 12 Apr 2003 13:02:34 +0000 (13:02 +0000)] 
*** empty log message ***

22 years agoA few tests of the --canonicalize option.
Jim Meyering [Sat, 12 Apr 2003 13:02:13 +0000 (13:02 +0000)] 
A few tests of the --canonicalize option.

22 years agoRemove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
Jim Meyering [Fri, 11 Apr 2003 14:06:02 +0000 (14:06 +0000)] 
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 14:05:51 +0000 (14:05 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 12:55:58 +0000 (12:55 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 12:54:22 +0000 (12:54 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 12:51:41 +0000 (12:51 +0000)] 
*** empty log message ***

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:46:24 +0000 (12:46 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:44:41 +0000 (12:44 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:44:23 +0000 (12:44 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:42:39 +0000 (12:42 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:42:15 +0000 (12:42 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:41:44 +0000 (12:41 +0000)] 
Remove SPC in SPC-TAB sequence.
Remove trailing blanks.
filter though cppi

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:39:58 +0000 (12:39 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:38:19 +0000 (12:38 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years agoRemove SPC in SPC-TAB sequence.
Jim Meyering [Fri, 11 Apr 2003 12:37:58 +0000 (12:37 +0000)] 
Remove SPC in SPC-TAB sequence.

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 12:36:43 +0000 (12:36 +0000)] 
*** empty log message ***

22 years agoInclude <stdlib.h> unconditionally.
Jim Meyering [Fri, 11 Apr 2003 12:36:31 +0000 (12:36 +0000)] 
Include <stdlib.h> unconditionally.

22 years agoInclude <string.h> and <stdlib.h> unconditionally.
Jim Meyering [Fri, 11 Apr 2003 12:21:59 +0000 (12:21 +0000)] 
Include <string.h> and <stdlib.h> unconditionally.

22 years agoRemove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
Jim Meyering [Fri, 11 Apr 2003 12:20:35 +0000 (12:20 +0000)] 
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.

22 years agoRemove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
Jim Meyering [Fri, 11 Apr 2003 12:15:21 +0000 (12:15 +0000)] 
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.

22 years ago.
Jim Meyering [Fri, 11 Apr 2003 12:03:38 +0000 (12:03 +0000)] 
.

22 years ago(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.
Jim Meyering [Fri, 11 Apr 2003 11:59:11 +0000 (11:59 +0000)] 
(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 11:56:44 +0000 (11:56 +0000)] 
*** empty log message ***

22 years agoRemove use of PARAMS.
Jim Meyering [Fri, 11 Apr 2003 11:56:41 +0000 (11:56 +0000)] 
Remove use of PARAMS.

22 years ago(PARAMS): Remove definitions and uses.
Jim Meyering [Fri, 11 Apr 2003 11:55:33 +0000 (11:55 +0000)] 
(PARAMS): Remove definitions and uses.

22 years agoduh
Jim Meyering [Fri, 11 Apr 2003 11:49:23 +0000 (11:49 +0000)] 
duh

22 years ago(xalloc-check): Rename from header-check.
Jim Meyering [Fri, 11 Apr 2003 11:45:23 +0000 (11:45 +0000)] 
(xalloc-check): Rename from header-check.

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 11:42:48 +0000 (11:42 +0000)] 
*** empty log message ***

22 years agoInclude error.h after system.h, not before.
Jim Meyering [Fri, 11 Apr 2003 11:42:39 +0000 (11:42 +0000)] 
Include error.h after system.h, not before.

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 10:52:04 +0000 (10:52 +0000)] 
*** empty log message ***

22 years agoRemove anachronistic casts of xmalloc,
Jim Meyering [Fri, 11 Apr 2003 10:51:56 +0000 (10:51 +0000)] 
Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.

22 years agoinclude xalloc.h
Jim Meyering [Fri, 11 Apr 2003 09:16:32 +0000 (09:16 +0000)] 
include xalloc.h

22 years agodo not cast xmalloc return value
Jim Meyering [Fri, 11 Apr 2003 09:16:02 +0000 (09:16 +0000)] 
do not cast xmalloc return value

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 09:15:14 +0000 (09:15 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 09:11:18 +0000 (09:11 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 21:41:08 +0000 (21:41 +0000)] 
*** empty log message ***

22 years ago(wrapf): Declare with format attribute.
Jim Meyering [Thu, 10 Apr 2003 21:41:03 +0000 (21:41 +0000)] 
(wrapf): Declare with format attribute.

22 years ago.
Jim Meyering [Thu, 10 Apr 2003 19:33:03 +0000 (19:33 +0000)] 
.

22 years ago.
Jim Meyering [Thu, 10 Apr 2003 19:32:34 +0000 (19:32 +0000)] 
.

22 years ago(check-texinfo): Check for uses of non-zero. I prefer to spell it `nonzero'.
Jim Meyering [Thu, 10 Apr 2003 19:32:23 +0000 (19:32 +0000)] 
(check-texinfo): Check for uses of non-zero. I prefer to spell it `nonzero'.

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:31:16 +0000 (19:31 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:29:49 +0000 (19:29 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:27:53 +0000 (19:27 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:15:06 +0000 (19:15 +0000)] 
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:11:11 +0000 (19:11 +0000)] 
*** empty log message ***

22 years ago(fs.h): New rule to generate fs.h from stat.c.
Jim Meyering [Thu, 10 Apr 2003 19:11:07 +0000 (19:11 +0000)] 
(fs.h): New rule to generate fs.h from stat.c.
(BUILT_SOURCES): Add fs.h, now that it's generated.
(EXTRA_DIST): Add extract-magic.

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:09:43 +0000 (19:09 +0000)] 
*** empty log message ***

22 years agoadd comment
Jim Meyering [Thu, 10 Apr 2003 19:09:30 +0000 (19:09 +0000)] 
add comment

22 years ago(human_fstype) [__linux__]: Append each hex constant from
Jim Meyering [Thu, 10 Apr 2003 19:07:34 +0000 (19:07 +0000)] 
(human_fstype) [__linux__]: Append each hex constant from
fs.h in a comment after the corresponding `case S_MAGIC_...:' statement.

22 years agonow it's automatically generated
Jim Meyering [Thu, 10 Apr 2003 19:06:22 +0000 (19:06 +0000)] 
now it's automatically generated

22 years agoNew script to extract fs.h definitions from stat.c.
Jim Meyering [Thu, 10 Apr 2003 19:05:43 +0000 (19:05 +0000)] 
New script to extract fs.h definitions from stat.c.

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 18:07:00 +0000 (18:07 +0000)] 
*** empty log message ***

22 years ago(human_fstype): Handle Linux's devpts.
Jim Meyering [Thu, 10 Apr 2003 18:06:56 +0000 (18:06 +0000)] 
(human_fstype): Handle Linux's devpts.

22 years ago(S_MAGIC_DEVPTS): New magic for Linux's devpts.
Jim Meyering [Thu, 10 Apr 2003 18:06:23 +0000 (18:06 +0000)] 
(S_MAGIC_DEVPTS): New magic for Linux's devpts.

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 17:03:30 +0000 (17:03 +0000)] 
*** empty log message ***

22 years ago(canonicalize_file_name): NUL-terminate the result.
Jim Meyering [Thu, 10 Apr 2003 17:03:26 +0000 (17:03 +0000)] 
(canonicalize_file_name): NUL-terminate the result.

22 years ago(canonicalize_file_name): Always free `extra_buf' before returning.
Jim Meyering [Thu, 10 Apr 2003 16:54:19 +0000 (16:54 +0000)] 
(canonicalize_file_name): Always free `extra_buf' before returning.

22 years ago(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Jim Meyering [Thu, 10 Apr 2003 16:47:35 +0000 (16:47 +0000)] 
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Otherwise, `readlink --canonical /no-such-file' would exhaust
virtual memory on some systems (e.g. Solaris).

22 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 16:41:17 +0000 (16:41 +0000)] 
*** empty log message ***

22 years ago(readlink invocation): Tweak description a little.
Jim Meyering [Thu, 10 Apr 2003 16:41:14 +0000 (16:41 +0000)] 
(readlink invocation): Tweak description a little.