Jim Meyering
501ee2ebd6
(format_vals): New array.
...
(main): Use XARGMATCH in place of argmatch.
1999-01-02 19:35:18 +00:00
Jim Meyering
e159d72704
*** empty log message ***
1999-01-02 19:33:33 +00:00
Jim Meyering
a31aa355b3
tsort docs
1999-01-02 19:32:14 +00:00
Jim Meyering
69834c7c98
(strcasecmp.c strncasecmp.c): Remove rules.
1999-01-02 19:31:19 +00:00
Jim Meyering
bfea519d18
.
1999-01-02 19:30:32 +00:00
Jim Meyering
51282eaf75
*** empty log message ***
1999-01-02 19:30:05 +00:00
Jim Meyering
1e25b6e3d3
Adapt to use new interface to XARGMATCH.
1999-01-02 19:29:47 +00:00
Jim Meyering
38acb920eb
.
1999-01-02 19:28:42 +00:00
Jim Meyering
8b3cbe63d8
(get_version): Adapt to use new interface to XARGMATCH.
1999-01-02 19:28:31 +00:00
Jim Meyering
c7c2516a4d
(XARGMATCH): Don't return a value; instead, modify a parameter.
...
Add a `Die_stmt' parameter.
Add parentheses.
1999-01-02 18:33:08 +00:00
Jim Meyering
fa7427c2ea
(__xargmatch_internal): Remove now-unused function.
...
(argmatch_to_argument): Add `const' attribute to first parameter.
1999-01-02 18:32:50 +00:00
Jim Meyering
c39158b8ec
*** empty log message ***
1999-01-02 16:36:25 +00:00
Jim Meyering
041b69340d
use XARGMATCH, not XARGCASEMATCH
1999-01-02 16:35:55 +00:00
Jim Meyering
f4db32ef36
Add #ifdefs so it can be used for strncasecmp, too.
1999-01-02 15:55:52 +00:00
Jim Meyering
b966f347ee
*** empty log message ***
1999-01-02 15:55:44 +00:00
Jim Meyering
49f27cd70e
*** empty log message ***
1999-01-02 12:45:50 +00:00
Jim Meyering
2bb9d3c528
Move inclusion of assert.h to follow that of stdio.h.
...
Some losing systems require this.
Use STREQ macro instead of strcmp in a few places.
1999-01-02 05:54:07 +00:00
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