summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-04-24.Jim Meyering
2003-04-24(tsort): Remove unnecessary test of have_read_stdin.Jim Meyering
(main): Minor syntactic clean-up.
2003-04-24(tsort): Fail if the input contains an odd number of tokens.Jim Meyering
2003-04-24add localedir.hJim Meyering
2003-04-21(print_esc): Tweak spelling of new variable.Jim Meyering
2003-04-21Fix printf POSIX compatibility bug reported by Ben Harris inJim Meyering
<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.
2003-04-17Remove uses of PROTOTYPE macro.Jim Meyering
2003-04-13(is_empty_dir): Don't closedir (NULL).Jim Meyering
2003-04-12Giving nl an invalid STYLE argument (in --header-numbering=STYLE (-h),Jim Meyering
--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.
2003-04-12(proc_text): Fix a bug introduced on 2001-11-10,Jim Meyering
for textutils-2.0.17, that would make nl output extra newlines in some cases.
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
Remove trailing blanks. filter though cppi
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-11Include <stdlib.h> unconditionally.Jim Meyering
2003-04-11duhJim Meyering
2003-04-11Include error.h after system.h, not before.Jim Meyering
2003-04-11Remove anachronistic casts of xmalloc,Jim Meyering
xrealloc, and xcalloc return values and of xrealloc's first argument.
2003-04-11include xalloc.hJim Meyering
2003-04-11do not cast xmalloc return valueJim Meyering
2003-04-10(wrapf): Declare with format attribute.Jim Meyering
2003-04-10.Jim Meyering
2003-04-10(fs.h): New rule to generate fs.h from stat.c.Jim Meyering
(BUILT_SOURCES): Add fs.h, now that it's generated. (EXTRA_DIST): Add extract-magic.
2003-04-10add commentJim Meyering
2003-04-10(human_fstype) [__linux__]: Append each hex constant fromJim Meyering
fs.h in a comment after the corresponding `case S_MAGIC_...:' statement.
2003-04-10now it's automatically generatedJim Meyering
2003-04-10New script to extract fs.h definitions from stat.c.Jim Meyering
2003-04-10(human_fstype): Handle Linux's devpts.Jim Meyering
2003-04-10(S_MAGIC_DEVPTS): New magic for Linux's devpts.Jim Meyering
2003-04-09(line_bytes_split): Arg is of type size_t, sinceJim Meyering
that's all that is supported for now. (main): Check for overflow in obsolescent line count option.
2003-04-09(bytes_split): Use size_t temporary (rather thanJim Meyering
uintmax_t original) in remaining computations. From Paul Eggert.
2003-04-09Handle command line option arguments larger than 2^31.Jim Meyering
This allows e.g., splitting into files of size 2GB and larger, and running split --lines=N with N=2^31 or more. But for --line-bytes=N, the restriction that N <= SIZE_MAX remains (for now), due to the way it is implemented. Include "inttostr.h". (bytes_split, lines_split, line_bytes_split, main): Use uintmax_t, not size_t, for file sizes. (main): Give a better diagnostic for option arguments == 0. Use umaxtostr to print file sizes.
2003-04-09(lines_split): Rename local, nlines -> n_lines.Jim Meyering
2003-04-08(usage): Mention that --directory (-d) works only on some systems.Jim Meyering
2003-04-08(main): Use STDIN_FILENO, not literal `0'.Jim Meyering
2003-04-08(main): Rename local variable: s/accum/n_units/.Jim Meyering
2003-04-08also change NCHARS, in comments, to N_BYTESJim Meyering
2003-04-08Rename local variables: nchars -> n_bytes.Jim Meyering
2003-04-07Add #include directives for Ultrix 4.4.Jim Meyering
Based on a suggested change from Bert Deknuydt.
2003-04-05.Jim Meyering
2003-04-05*** empty log message ***Jim Meyering
2003-04-05Make `kill -t' output signal descriptions (not `?') on Tru64.Jim Meyering
(sys_siglist): Also check for __sys_siglist.
2003-04-04(PERL): Remove unnecessary definition.Jim Meyering
2003-04-04Because of inappropriate (but POSIX-mandated) behavior of rename,Jim Meyering
`mv a b' would not remove `a' in some unusual cases. Work around this by unlinking `a' when necessary. (same_file_ok): Add an output parameter. Set it in the offending case. (copy_internal): When necessary, unlink SRC_PATH and inform caller.
2003-04-04Clean up rules for automatically generated sources:Jim Meyering
(dircolors.h, wheel-size.h, wheel.h, false.c): Make each generated file be read-only. Add each file name to BUILT_SOURCES separately. (MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).