Age | Commit message (Collapse) | Author | |
---|---|---|---|
1996-04-03 | Include assert.h (disabled). | Jim Meyering | |
(path_concat): New function. (do_copy): Use path_concat instead of open-coding part of its functionality in two places. This has the additional benefit of avoiding forming destination names like `D//file' when the destination directory D includes a trailing slash -- as would happen when cp is used like this: mkdir D; touch file D/file; cp -i file D/ Reported by François Pinard. | |||
1996-03-31 | . | Jim Meyering | |
1996-03-31 | (quote_filename): Use ISGRAPH and ISPRINT in place of | Jim Meyering | |
ASCII-centric tests against literals. (length_of_file_name_and_frills): Likewise. | |||
1996-03-31 | Rip out color support. | Jim Meyering | |
1996-03-29 | . | Jim Meyering | |
1996-03-28 | Move usage to precede main. | Jim Meyering | |
Say `too few arguments' if that's why we display usage. Protoize. Include error.h. Update copyright. | |||
1996-03-28 | from Roland | Jim Meyering | |
1996-03-28 | (cksum): Use format "%lu %ld" (instead of "%10lu %8ld") | Jim Meyering | |
to be POSIX compliant. From Stephen Gildea <gildea@x.org>. | |||
1996-03-24 | Update FSF's address. | Jim Meyering | |
1996-03-24 | Update FSF's address. | Jim Meyering | |
1996-03-24 | Update FSF's address. | Jim Meyering | |
1996-03-24 | Include xstrtod.h. | Jim Meyering | |
(scan_double_arg): Use xstrtod rather than strtod directly. | |||
1996-03-24 | Make parameters const where appropriate. | Jim Meyering | |
Rename global FROM to START. (print_numbers): Rewrite loops to avoid incrementing. Instead, use `x = first + i * increment' paradigm. Otherwise, with inexact increment, you could miss the last value. | |||
1996-03-24 | Protoize and reorder functions. | Jim Meyering | |
1996-03-24 | (main): Reformat if-block a little. | Jim Meyering | |
Declare index I to be of type size_t to avoid warning from gcc -Wall. | |||
1996-03-24 | Call error with EXIT_FAILURE (rather than `1') as first actual parameter. | Jim Meyering | |
1996-03-24 | Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1. | Jim Meyering | |
This doesn't change `error (1' calls. | |||
1996-03-24 | [SORT_FAILURE]: New macro. | Jim Meyering | |
Be careful to exit with 1 only when -c is used and the input is not properly sorted. In all other cases, use SORT_FAILURE as required by POSIX. (main): Change some `error (1, ...' to use SORT_FAILURE. Upon successful termination, exit with EXIT_SUCCESS instead of `0'. Replace all uses of `2' (as exit code) with SORT_FAILURE. | |||
1996-03-22 | Include assert.h, but disable assertions. | Jim Meyering | |
(process_line_count): Replace if-abort with a slightly relaxed assertion. Before, `echo |csplit - 1 1' would abort. Reported by Samuli.Karkkainen@hut.fi. (parse_patterns): Disallow uses like `csplit FILE 0' with zero line number, `csplit FILE 2 1' with decreasing line numbers, and warn about uses like `csplit FILE 3 3' that have equal line numbers. | |||
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |
1996-03-21 | (main): Declare to return int, not void. From Peter Seebach | Jim Meyering | |
<seebs@taniemarie.solon.com>. | |||
1996-03-16 | Don't include version.h. | Jim Meyering | |
(main): Use PACKAGE_VERSION instead of version_string. | |||
1996-03-16 | Don't include version.h. | Jim Meyering | |
(main): Use PACKAGE_VERSION instead of version_string. | |||
1996-03-16 | Change @VERSION@ to @PKG_VERSION@. | Jim Meyering | |
1996-03-16 | Don't include version.h. | Jim Meyering | |
(main): Use PACKAGE_VERSION instead of version_string. | |||
1996-03-16 | (read_utmp): Declare n_read to be of type size_t rather than int. | Jim Meyering | |
1996-03-16 | (validate_path): Cast path_max to size_t before | Jim Meyering | |
comparing with strlen(path). | |||
1996-03-16 | Remove __P-protected prototype for basename. | Jim Meyering | |
Reported by François Pinard. (remove_suffix): Move to precede use. Remove prototype. Declare formal parameter SUFFIX to be const. | |||
1996-03-12 | (main): Initialize for internationalized message support: | Jim Meyering | |
call setlocale, bindtextdomain, and textdomain. | |||
1996-03-12 | [_]: Don't define this away. | Jim Meyering | |
1996-03-12 | (main): Initialize for internationalized message support: call setlocale, | Jim Meyering | |
bindtextdomain, and textdomain. | |||
1996-03-12 | Add definitions and includes for NLS. | Jim Meyering | |
1996-03-11 | (write_bytes): Renamed from xfwrite. | Jim Meyering | |
Remove SIZE parameter. It was always 1. Update all callers. Rename NELEM parameter to N_BYTES and change its type to size_t. | |||
1996-03-09 | (star_digits_closebracket): Declare formal param, IDX, and local I to | Jim Meyering | |
be of type size_t (rather than int) to avoid warnings from gcc -Wall. | |||
1996-03-09 | (memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall. | Jim Meyering | |
1996-03-09 | (main): Initialize for internationalized message support: call setlocale, | Jim Meyering | |
bindtextdomain, and textdomain. | |||
1996-03-09 | (copy): Comment change to avoid overwriting source with backup. | Jim Meyering | |
1996-03-08 | (main): Tell read_filesystem_list that it should determine file system type | Jim Meyering | |
when the user specifies --print-type or -T. From Michael Rendell <michael@cs.mun.ca> | |||
1996-03-07 | (print_entry): Use STRUCT_UTMP, not `struct utmp'. | Jim Meyering | |
1996-03-06 | (usage): Reorder --time and --help so --help is the latter (just | Jim Meyering | |
before --version) to be consistent with other usage functions. | |||
1996-03-05 | (main): Exit after processing --version. | Jim Meyering | |
1996-03-02 | (WINDOWS_SETFILEMODE_BINARY): New macro. | Jim Meyering | |
(skip) [_WIN32 && _O_BINARY]: Use it. (read_char): Likewise. (read_block): Likewise. Based on changes by Gary Newman <gnewman@shore.net>. | |||
1996-03-02 | (docolon): Don't use deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizes | Jim Meyering | |
non-BRE \?, \+, and \|. Instead, use RE_SYNTAX_POSIX_MINIMAL_BASIC. | |||
1996-02-29 | General cleanup. Use xstrtoul, not atoi. | Jim Meyering | |
Change output format. Allow inputs as large as ULONG_MAX. Allow more than one command line argument. | |||
1996-02-29 | (wrapf) [!__STDC__]: Indent by one space the first line of the pre-ANSI | Jim Meyering | |
function definition so ansi2knr doesn't munge it. | |||
1996-02-29 | (eval6): Cast strlen to int to avoid warning from gcc -Wall. | Jim Meyering | |
1996-02-27 | (copy): Remove bogus (now that we're using full_write) increment of w_partial. | Jim Meyering | |
Change sense of the tests (though they're equivalent) that check the value returned by full_write. making it clearer where errno is valid. full_write always writes the full amount or fails. | |||
1996-02-25 | . | Jim Meyering | |