1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-10 19:56:39 +02:00
Commit Graph

66 Commits

Author SHA1 Message Date
Jim Meyering e298f1f300 (usage): Alphabetize options like sort -f would. 1996-11-23 22:06:55 +00:00
Jim Meyering 5582e6dad3 change bug-reporting address 1996-11-03 03:16:27 +00:00
Jim Meyering b8e689dc67 change bug-reporting address 1996-11-02 20:44:15 +00:00
Jim Meyering 630b771f1b (main): update --version output again 1996-10-04 04:25:46 +00:00
Jim Meyering 3361bd2bca (main): update --version output to conform to coding standard 1996-10-04 04:15:08 +00:00
Jim Meyering c609ba2d13 (usage): Tell where to report bugs. 1996-09-02 15:34:25 +00:00
Jim Meyering e549af7279 (OFF_T_MAX): Remove definition.
(main): Compare against LONG_MAX rather than OFF_T_MAX.
1996-07-17 03:13:54 +00:00
Jim Meyering 03cc8c8ca3 [OFF_T_MAX]: Use (unsigned long)1' rather than (off_t)1'
so the left operand of the << isn't signed.
From Kaveh Ghazi.
1996-07-16 05:14:00 +00:00
Jim Meyering 53e41464fd (decode_one_format): Use %lu (not %d) printf formats
corresponding to unsigned long, SIZE.
1996-05-31 00:51:48 +00:00
Jim Meyering 090a56eb9c (decode_one_format): Take another parameter.
Give a specific diagnostic for invalid format spec here rather
than an overly general one from caller's caller.
(decode_format_string): Update caller.
(main): Don't give diagnostic here when decode_format_string fails.
Remove assertions that could fail on some Crays because they don't
have a two-byte type.
Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.
1996-05-30 05:09:56 +00:00
Jim Meyering 59d334f4d4 update Copyright years for 1996 1996-04-24 04:50:53 +00:00
Jim Meyering c07d15973c (decode_one_format): Use printf's L modifier for long doubles,
not `l'.  From Eric Backus.
1996-04-21 21:07:13 +00:00
Jim Meyering 5beebbd8da Include <values.h>.
[!BITSPERBYTE]: Define.
[OFF_T_MAX]: Use BITSPERBYTE, not 8, and cast the result to off_t.
1996-04-21 14:17:13 +00:00
Jim Meyering 47f70113d4 Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.
This doesn't change `error (1' calls.
1996-03-24 14:58:01 +00:00
Jim Meyering 4229a555fc Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 22:30:54 +00:00
Jim Meyering 715765a548 (main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
1996-03-09 20:19:13 +00:00
Jim Meyering 815b5ca1d5 (WINDOWS_SETFILEMODE_BINARY): New macro.
(skip) [_WIN32 && _O_BINARY]: Use it.
(read_char): Likewise.
(read_block): Likewise.
Based on changes by Gary Newman <gnewman@shore.net>.
1996-03-02 05:45:45 +00:00
Jim Meyering 7956c15081 s/non-zero/nonzero/g 1995-11-27 03:09:18 +00:00
Jim Meyering 77469b714b (*format_address): Tweak dcl. 1995-11-15 22:16:30 +00:00
Jim Meyering 849a1c46cf (skip): Cast fseek's offset argument to `long'.
Erik Bennett <bennett@cvo.oneworld.com> reported that this is
necessary on BSDI systems.  And if offset doesn't fit in a long,
then try using lseek instead.
1995-11-11 22:08:16 +00:00
Jim Meyering acb7c4ee48 Add __P in dcl of format_address function. 1995-11-11 03:28:38 +00:00
Jim Meyering 6f6a35a9a1 Indent cpp directives. 1995-10-19 22:38:39 +00:00
Jim Meyering a42c7fe2d1 Prootize. 1995-10-18 03:45:44 +00:00
Jim Meyering 9a12d05216 (decode_one_format): Remove spurious semicolon. 1995-09-27 15:58:18 +00:00
Jim Meyering 92c50e7f52 Annotate localizable strings with _(...). From Franc,ois. 1995-08-07 14:57:29 +00:00
Jim Meyering c20ee98ac8 (dump): Convert to use smaller -- but seemingly equivalent -- patch. 1995-07-12 03:06:03 +00:00
Jim Meyering 67718aff76 (dump): Correct loop-termination criterion.
Before, running `printf 1234| ./od --width=4 --read-bytes=4'
printed output for 8 bytes -- the last four were garbage.
This happened only when the dump limit, N, was specified (with
--read-bytes=N) and N was a multiple of bytes_per_block
(usually 16, but 4 in this example).  From Andreas Schwab.
1995-07-07 04:46:03 +00:00
Jim Meyering 6ebaf82426 merge with 1.12 1995-06-18 19:33:31 +00:00
Jim Meyering 7cdc7a0bd9 (usage): Include one- or two-line synopsis in --help output.
From Karl Berry.
1995-05-13 18:34:54 +00:00
Jim Meyering 73daf89227 (write_block): Declare index I as unsigned int, not int.
(get_lcm): Likewise.
(dump_strings): Likewise.
(main): Likewise.
(dump): Cast BYTES_PER_BLOCK to off_t in MIN expression.
(dump_strings): Declare bufsize to be of type size_t, not int.
1995-04-14 04:27:46 +00:00
Jim Meyering b94687cecb Detect when -N argument is too large to fit in an off_t. 1995-03-16 21:54:02 +00:00
Jim Meyering eba8aab7f2 add 1995 to Copyright dates 1995-03-09 22:20:59 +00:00
Jim Meyering 5695b2f051 (parse_old_offset): Use strchr, not index. 1995-01-29 05:33:05 +00:00
Jim Meyering 197bc3fd5a (decode_format_string): Use memmove instead of bcopy.
[EQUAL_BLOCKS]: Use memcmp, not bcmp.
(dump): Use memset, not bzero.
1995-01-28 13:02:44 +00:00
Jim Meyering 851162a0da Rename macros with FP_ prefix. Use FLOAT_ instead.
AIX-2.2.1 declares a typedef, FP_DOUBLE, that conflicted.
Be careful to use off_t instead of explicit `unsigned long'.
Otherwise, systems like 4.4BSD lose on calls to fseek that
expect off_t (which is long long on that system).
(parse_old_offset): Use xstrtoul
(main): Likewise.
1995-01-25 04:19:46 +00:00
Jim Meyering 029fcaa913 (main): Use %lu, not %d for unsigned long.
(my_strtoul, uint_fatal_error): Remove functions.  Use xstrtoul
and STRTOL_FATAL_ERROR instead.
1994-12-16 05:32:30 +00:00
Jim Meyering 544baf5482 merge with 1.9.1h 1994-10-19 03:39:33 +00:00
Jim Meyering 6a76abbf9c . 1994-10-19 02:45:36 +00:00
Jim Meyering 3994e55f58 . 1994-10-02 22:11:44 +00:00
Jim Meyering 85842e28eb . 1994-04-13 17:12:17 +00:00
Jim Meyering 8bf5a6ed18 . 1994-03-25 23:38:00 +00:00
Jim Meyering 8c26c6bbba merge with 1.9.1 1993-11-15 15:58:21 +00:00
Jim Meyering c7ebcc8326 merge with 1.8.1a 1993-10-30 15:57:46 +00:00
Jim Meyering 3bc2827212 merge with 1.8h 1993-10-24 20:00:39 +00:00
Jim Meyering 6d920eca0c merge with 1.8g 1993-10-24 19:04:12 +00:00
Jim Meyering b869639f46 merge with 1.8d+ 1993-10-23 15:37:19 +00:00
Jim Meyering d1df8c198d merge with 1.8d 1993-10-21 22:08:53 +00:00
Jim Meyering 712109716a merge with 1.8a 1993-10-05 18:29:39 +00:00
Jim Meyering 6587c39b3a merge with 1.5.2 1993-05-22 05:06:39 +00:00
Jim Meyering 9a96f7c461 merge with 1.5 1993-05-07 03:09:55 +00:00