Jim Meyering
b311b41561
Remove definition of setlocale.
...
Remove definitions of bindtextdomain and textdomain.
1999-01-02 05:30:07 +00:00
Jim Meyering
0cb6dcf585
Include locale.h and libintl.h, and define `_()'.
...
Mark translatable strings.
1999-01-02 05:27:32 +00:00
Jim Meyering
e213c687aa
*** empty log message ***
1999-01-02 05:17:17 +00:00
Jim Meyering
cb1d4eb4f2
(make_dir): New function, factored out of make_path.
...
(make_path): Use make_dir rather than open-coding it twice.
This effectively reverses the order of the latter pair of stat/mkdir
calls and fixes a race condition bug whereby one of two concurrent
`mkdir -p' processes could fail with EEXIST.
1999-01-02 05:16:57 +00:00
Jim Meyering
45ed22a319
*** empty log message ***
1999-01-02 02:34:47 +00:00
Jim Meyering
977e79ed76
Include readtokens.h.
...
(zeros): Rename global from `rr'.
(getstr): Remove function.
(tsort) Use readtoken instead of getstr.
1999-01-02 02:34:11 +00:00
Jim Meyering
a842553181
*** empty log message ***
1999-01-01 23:48:23 +00:00
Jim Meyering
1f6728404c
*** empty log message ***
1999-01-01 23:46:52 +00:00
Jim Meyering
1b4f931bf4
.
1999-01-01 23:31:36 +00:00
Jim Meyering
2da1b2088f
fix typo in comment
1999-01-01 22:55:53 +00:00
Jim Meyering
b99ab6e97d
(PATH_MAX_IN_DIR) [HAVE_UNISTD_H]: New macro, for max
...
file name characters in a given directory.
(tempname): Make sure the temp file name is unique even if long
file names aren't supported.
1999-01-01 22:51:58 +00:00
Jim Meyering
13e5d17494
(cwrite) [O_BINARY]: Write output in binary mode.
...
(main) [O_BINARY]: Read input in binary mode.
1999-01-01 22:49:44 +00:00
Jim Meyering
f92719d4dc
(bsd_sum_file, sysv_sum_file) [O_BINARY]: Read input in binary mode.
1999-01-01 22:48:51 +00:00
Jim Meyering
e60b747ade
(tail_lines, tail_bytes) [O_BINARY]: Use binary I/O when appropriate.
1999-01-01 22:48:03 +00:00
Jim Meyering
7cb251e782
Add comments about peculiarities of Textutils operation on MS-DOS/MS-Windows.
1999-01-01 22:44:21 +00:00
Jim Meyering
f3ade72018
(wc): Use binary mode for input.
1999-01-01 22:42:36 +00:00
Jim Meyering
59998135d0
(unexpand): Use binary I/O where appropriate.
1999-01-01 22:41:58 +00:00
Jim Meyering
87f9e231c3
(main) [O_BINARY]: Use binary I/O when appropriate.
1999-01-01 22:40:48 +00:00
Jim Meyering
8e7da4a47c
(skip, read_char, read_block) [O_BINARY]: Switch input
...
stream to binary mode.
1999-01-01 22:33:15 +00:00
Jim Meyering
f54c8f6d80
(OPENOPTS) [O_BINARY]: Use binary I/O when non-zero argument.
...
(md5_file) [O_BINARY]: Switch redirected stdin to binary mode.
(main) [O_BINARY]: Use binary reads by default on those systems
which care about the difference.
1999-01-01 22:29:32 +00:00
Jim Meyering
9eedfd2482
(head_bytes, head_lines) [O_BINARY]: Use binary I/O.
1999-01-01 22:28:40 +00:00
Jim Meyering
a498f54f37
(expand): Use binary I/O where appropriate.
1999-01-01 22:27:36 +00:00
Jim Meyering
4394c38352
(cksum) [O_BINARY]: Read redirected stdin in binary mode.
1999-01-01 22:22:02 +00:00
Jim Meyering
7914fb4069
(usage) [O_BINARY]: Describe -B,--binary option.
...
(main) [O_BINARY]: binary_files, binary_output, file_open_mode:
new variables. Add --binary to long_options[]. Switch stdin and
stdout to binary mode unless file contents are not important
anyway. Open files in binary mode when required.
1999-01-01 22:20:23 +00:00
Jim Meyering
e6e8ae14c9
.
1999-01-01 22:11:50 +00:00
Jim Meyering
c704267b26
*** empty log message ***
1999-01-01 21:56:21 +00:00
Jim Meyering
3972420f3b
(parse_options): Use XARGCASEMATCH in place of argmatch.
1999-01-01 21:47:08 +00:00
Jim Meyering
94c2a11f47
*** empty log message ***
1999-01-01 19:31:43 +00:00
Jim Meyering
d15c8cbe43
*** empty log message ***
1999-01-01 19:30:08 +00:00
Jim Meyering
b5c28b7097
Rename globals N and R so they don't shadow locals.
...
(tsort): Rename from `sort'.
1999-01-01 19:29:31 +00:00
Jim Meyering
06adce5358
remove trailing blanks
1999-01-01 19:05:47 +00:00
Jim Meyering
d9ce52992c
from Mark Kettenis
1999-01-01 19:05:05 +00:00
Jim Meyering
83db4858d0
*** empty log message ***
1999-01-01 17:43:50 +00:00
Jim Meyering
21b87a6ab7
(quoting_style_vals): New public array.
1999-01-01 17:43:10 +00:00
Jim Meyering
975daefaad
Add comments.
...
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.
1999-01-01 17:40:08 +00:00
Jim Meyering
3b3e52352c
Add comments.
...
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.
1999-01-01 17:36:43 +00:00
Jim Meyering
aa014b906c
remove leading _ from _ARGMATCH_H_
1999-01-01 17:34:18 +00:00
Jim Meyering
2a5e98c9a4
*** empty log message ***
1999-01-01 07:10:00 +00:00
Jim Meyering
dcaa4b656e
.
1999-01-01 07:09:08 +00:00
Jim Meyering
5c6d6248e9
.
1999-01-01 07:08:54 +00:00
Jim Meyering
f8be5ac8df
*** empty log message ***
1999-01-01 07:06:23 +00:00
Jim Meyering
32acfd66d0
(quotearg_n_options): Make options' parameter be const'.
1999-01-01 07:03:16 +00:00
Jim Meyering
dd16dfb3e3
(quotearg_buffer): Cast -1 to size_t before comparing.
...
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.
1999-01-01 07:02:16 +00:00
Jim Meyering
2d4f0fea3a
(humblock): Use ARGMATCH in place of argmatch.
1999-01-01 06:47:04 +00:00
Jim Meyering
46166ad9b7
(get_version): Use XARGCASEMATCH in place of argmatch & co.
1999-01-01 06:43:04 +00:00
Jim Meyering
bf97e5a0b8
.
1998-12-31 23:24:08 +00:00
Jim Meyering
422a7fdc78
(libfu_a_SOURCES): Remove strcasecmp.c.
...
(BUILT_SOURCES): Add strcasecmp.c and strncasecmp.c.
(EXTRA_DIST): Add strcasecmp.cin.
(strcasecmp.c): New rule.
(strncasecmp.c): New rule.
1998-12-31 22:03:13 +00:00
Jim Meyering
19270e99bc
*** empty log message ***
1998-12-31 21:59:58 +00:00
Jim Meyering
91dc8874b0
(main): Use XARGCASEMATCH in place of argmatch & co.
1998-12-31 21:59:42 +00:00
Jim Meyering
58d6acdfd3
(indicator_style_types): New variable.
...
(format_types): Rename from `formats'.
(color_args): Remove unnecessary `no' string.
(color_types): Remove corresponding `color_never' entry.
(main): Use ARGMATCH_TO_ARGUMENT.
(decode_switches): Use ARGCASEMATCH instead of argmatch code
in each of several cases.
From Akim Demaille.
1998-12-31 21:49:36 +00:00