Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering 5a0dcd18c4 *** empty log message *** 2001-09-19 10:34:47 +00:00
Jim Meyering f3eff573fc (open_next_file): Use SETVBUF, not setbuf.
(skip): Revert part of last change: use lseek, not fseek.
2001-09-19 10:28:09 +00:00
Jim Meyering 18b2abbf6c When --read-bytes=N (-N N) is used, disable input buffering in
the standard I/O library.  Otherwise, od would read more input
than requested.  This could have caused problems when reading
from pipes, character devices, and open file descriptors inherited
from a parent process.

* src/od.c (open_next_file): New function, factored out of...
(skip): Adapt to use open_next_file.
(read_char): Likewise.
(read_block): Likewise.
(main): Likewise.
(dump): Fix an off-by-one error that could have made od fail to
report a read error when reading from a named file (not stdin).
(check_and_close): Account for the fact that in_stream may now be NULL.
(usage): Correct descriptions of -j and -N options.
Patch by Ian Bruce.
2001-09-19 10:19:19 +00:00
Jim Meyering 7a33a02755 Use AC_DEFINE rather than AC_DEFINE_UNQUOTED, whenever the right hand side need not be expanded by the shell. 2001-09-17 21:44:03 +00:00
Jim Meyering 3aafbfb626 . 2001-09-17 21:43:41 +00:00
Jim Meyering 0283d73512 *** empty log message *** 2001-09-17 19:32:52 +00:00
Jim Meyering ebc79b0b6d (jm_FUNC_FNMATCH): Remove test for GNU C
library.  It's not correct, as some older glibcs are buggy.
fnmatch wasn't fixed until glibc 2.2.

Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
special shell magic here.
2001-09-17 19:32:45 +00:00
Jim Meyering b6f0933da1 *** empty log message *** 2001-09-17 10:24:27 +00:00
Jim Meyering d6e1aff5e6 (HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.
2001-09-17 10:24:20 +00:00
Jim Meyering 81c488fe62 *** empty log message *** 2001-09-17 10:21:08 +00:00
Jim Meyering b6e61f0f18 (usage): Fix typo in -g usage.
-H now means --dereference-command-line.
2001-09-17 10:20:50 +00:00
Jim Meyering f04d7b8252 *** empty log message *** 2001-09-17 10:11:42 +00:00
Jim Meyering c3a2a9a1cf (main): Change the `ignoring excess arguments' diagnostic
to list the first one we're ignoring.  Suggestion from Karl Berry.
2001-09-17 10:11:27 +00:00
Jim Meyering 83ab129925 *** empty log message *** 2001-09-16 20:14:25 +00:00
Jim Meyering fc172101b7 *** empty log message *** 2001-09-16 20:11:36 +00:00
Jim Meyering 22e8070d31 (usage): Prefix each line with a space, so that
help2man produces a better stty.1 man page.
2001-09-16 20:10:06 +00:00
Jim Meyering fb84cd1881 (usage): Describe -h option.
From Michael Stone.  http://bugs.debian.org/99272
2001-09-16 19:58:00 +00:00
Jim Meyering 5b2989b22a *** empty log message *** 2001-09-16 19:55:07 +00:00
Jim Meyering 96c32a549f Add note to help people understand that this documentation
may not refer to the (shell built-in) command they're running.
2001-09-16 19:54:53 +00:00
Jim Meyering 4b44b870de Add note to help people understand this documentation
may not refer to the (shell built-in) command they're running.
2001-09-16 19:54:29 +00:00
Jim Meyering de8600a83e *** empty log message *** 2001-09-16 19:49:47 +00:00
Jim Meyering c0e0779f61 tweak line in help output 2001-09-16 16:07:07 +00:00
Jim Meyering 989527ca9e *** empty log message *** 2001-09-16 15:52:41 +00:00
Jim Meyering a73c5cdedd (mv invocation): Describe new option: --reply={yes,no,query}. Fix a few typos. 2001-09-16 15:52:04 +00:00
Jim Meyering 6732d5e87e *** empty log message *** 2001-09-16 15:30:48 +00:00
Jim Meyering d8eba2c4de . 2001-09-16 12:43:54 +00:00
Jim Meyering dd5500c678 . 2001-09-16 12:43:33 +00:00
Jim Meyering e105aad760 *** empty log message *** 2001-09-16 12:42:14 +00:00
Jim Meyering f886ecfdcf . 2001-09-16 12:32:26 +00:00
Jim Meyering 674500658f *** empty log message *** 2001-09-16 12:32:12 +00:00
Jim Meyering 0b0b0c10b9 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro. 2001-09-16 12:32:07 +00:00
Jim Meyering 74ab294e6f (UTILS_FUNC_MKDIR_TRAILING_SLASH): Require it. 2001-09-16 12:31:55 +00:00
Jim Meyering 32317fa2be . 2001-09-16 09:30:07 +00:00
Jim Meyering 17eefced98 *** empty log message *** 2001-09-16 09:28:42 +00:00
Jim Meyering 4d87cd7f5c (digest_check): On systems for which setmode actually
does something, arrange to read the file containing checksum strings
in text mode.  Based on a patch from Chris Faylor.
2001-09-16 09:28:34 +00:00
Jim Meyering 1b86315413 (SET_MODE): Define. 2001-09-16 09:27:58 +00:00
Jim Meyering 5f5eb0cb24 *** empty log message *** 2001-09-16 09:26:10 +00:00
Jim Meyering 00c25e46b5 *** empty log message *** 2001-09-16 09:23:42 +00:00
Jim Meyering 28ae3f3e55 *** empty log message *** 2001-09-16 07:02:38 +00:00
Jim Meyering 02e4c447fb (uniq invocation): The input need not
be sorted.  Try to clarify -d versus -D versus -u.
2001-09-16 07:02:26 +00:00
Jim Meyering fc98e3b53b . 2001-09-15 22:51:06 +00:00
Jim Meyering 6d87de19d3 . 2001-09-15 22:50:05 +00:00
Jim Meyering 8686ed3e79 *** empty log message *** 2001-09-15 21:34:50 +00:00
Jim Meyering ecd73385f0 Check for help2man. 2001-09-15 21:34:44 +00:00
Jim Meyering c0aad8bb11 *** empty log message *** 2001-09-15 21:31:09 +00:00
Jim Meyering 4c8c36c325 renamed from ginstall.x 2001-09-15 18:46:23 +00:00
Jim Meyering db111e12ae (TESTS): Add fail-diag. 2001-09-15 17:08:27 +00:00
Jim Meyering 7161f22f6d *** empty log message *** 2001-09-15 17:07:54 +00:00
Jim Meyering 7088e9294e (EISDIR): Define to 0, if not already defined.
(touch): Give a better diagnostic for e.g., `touch /' by non-root.
Based on a patch from Michael Stone.
Reported by Jeff Sheinberg as Debian bug #101677.
2001-09-15 17:07:24 +00:00
Jim Meyering e1e9b12ead . 2001-09-15 12:53:11 +00:00