Commit Graph
14506 Commits
Author SHA1 Message Date
Jim Meyering 24d1484e1c (buggy_lseek_support): Remove function.
(skip_via_lseek) [__linux__]: New function.
(skip): Use skip_via_lseek, not buggy_lseek_support.
2001-12-11 11:40:50 +00:00
Jim Meyering efc6e85c74 . TEXTUTILS-2_0_19 2001-12-10 00:17:05 +00:00
Jim Meyering a988aefd03 Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
(initbuffer): Don't cast xmalloc return value to char*.
(readline): Reword comment.
Don't cast xrealloc return value to char*
Return NULL, not 0.
2001-12-10 00:13:36 +00:00
Jim Meyering a49772f23b *** empty log message *** 2001-12-09 22:57:15 +00:00
Jim Meyering ea1f6ec04b *** empty log message *** 2001-12-09 22:56:52 +00:00
Jim Meyering 0b072ba82c (posix_time_parse): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.
2001-12-09 22:56:16 +00:00
Jim Meyering 0928d79889 (mode_compile): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.
2001-12-09 22:54:19 +00:00
Jim Meyering 6994cb9650 (xreadlink): Add cast to avoid a warning. 2001-12-09 22:46:53 +00:00
Jim Meyering 5b34b167f9 (readtoken): Declare an index to be of type unsigned
to avoid a pedantic warning.
2001-12-09 22:39:02 +00:00
Jim Meyering 923091ff96 Don't include assert.h.
(getstr): Remove warning-evoking assertions.
Return -1 if offset parameter is out of bounds.
Change the type of a local from int to size_t.
2001-12-09 22:08:19 +00:00
Jim Meyering 26061de96f (my_strftime_localtime_r): Include this function
definition in the `#if ! HAVE_TM_GMTOFF' block.
2001-12-09 21:02:43 +00:00
Jim Meyering 102ad5c8ff *** empty log message *** 2001-12-09 21:01:23 +00:00
Jim Meyering bb0d2464f8 Remove declarations of xmalloc and xrealloc.
Include xalloc.h instead.
2001-12-09 21:01:15 +00:00
Jim Meyering 2de5b90948 *** empty log message *** 2001-12-09 10:27:44 +00:00
Jim Meyering d85b445409 *** empty log message *** 2001-12-08 20:44:05 +00:00
Jim Meyering 707c2dc263 *** empty log message *** 2001-12-08 20:42:13 +00:00
Jim Meyering 7f8213c31e *** empty log message *** 2001-12-08 20:41:53 +00:00
Jim Meyering e1958d172e (wget_files): Remove ansi2knr.c, since it's
no longer available at that location.
2001-12-08 20:41:46 +00:00
Jim Meyering 7f0947ae50 *** empty log message *** 2001-12-08 19:19:19 +00:00
Jim Meyering dcfb371a6b tweak to align with libc 2001-12-08 06:57:58 +00:00
Jim Meyering acca325884 (join invocation): tweak wording 2001-12-05 14:14:43 +00:00
Jim Meyering 3e729d218d *** empty log message *** 2001-12-04 21:38:54 +00:00
Jim Meyering 56117f587b *** empty log message *** 2001-12-04 21:37:37 +00:00
Jim Meyering 568ec722bb *** empty log message *** 2001-12-04 17:55:12 +00:00
Jim Meyering a95d10ec54 Don't use diff's -u option. It's not portable.
Besides, with GNU diff one can use the DIFF_OPTIONS envvar.
2001-12-04 17:55:08 +00:00
Jim Meyering 8f730b8a46 (usage): Don't split translatable strings in the middle of a sentence. 2001-12-03 16:07:50 +00:00
Jim Meyering 2f8490672b *** empty log message *** 2001-12-03 16:07:23 +00:00
Jim Meyering 99fbca4eba (usage): Merge lone "\n" into adjacent string. 2001-12-03 15:56:48 +00:00
Jim Meyering f05581b361 (usage): Merge lone "\n" into adjacent string. 2001-12-03 15:56:24 +00:00
Jim Meyering 5444831241 *** empty log message *** 2001-12-02 22:47:09 +00:00
Jim Meyering 1e40feefae *** empty log message *** FILEUTILS-4_1_3 2001-12-02 22:27:01 +00:00
Jim Meyering f3ac2e7839 Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
2001-12-02 22:26:57 +00:00
Jim Meyering 01f0361e79 *** empty log message *** 2001-12-02 20:18:43 +00:00
Jim Meyering 33c85ae850 *** empty log message *** 2001-12-02 20:16:28 +00:00
Jim Meyering db5fd4aaae *** empty log message *** 2001-12-02 20:10:31 +00:00
Jim Meyering f4df046ab6 (TESTS): Add recursive. 2001-12-02 20:10:25 +00:00
Jim Meyering 93da1d6e5b use diff -u 2001-12-02 20:09:27 +00:00
Jim Meyering 3e947ade15 *** empty log message *** 2001-12-02 20:08:14 +00:00
Jim Meyering 800c8d7882 *** empty log message *** 2001-12-02 20:05:56 +00:00
Jim Meyering 7afc9d1829 (touch): Extend the change of 2001-09-15 to work on
systems for which errno is set to EPERM in that case.  Thus, e.g.,
`touch /' by non-root gives a better diagnostic on systems like SunOS4.
2001-12-02 20:05:33 +00:00
Jim Meyering 15295aaf8a *** empty log message *** 2001-12-02 19:59:49 +00:00
Jim Meyering 4542868aea Don't declare getenv, thus reverting the change of 2001-11-18.
It's no longer necessary, now that stdlib.h is always included.
2001-12-02 19:59:39 +00:00
Jim Meyering 3287aaae94 *** empty log message *** 2001-12-02 17:47:34 +00:00
Jim Meyering 86eb6a1aac *** empty log message *** 2001-12-02 17:47:01 +00:00
Jim Meyering 4a2b55cc60 [!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue. 2001-12-02 17:46:54 +00:00
Jim Meyering 73711e47bb *** empty log message *** 2001-12-02 07:50:04 +00:00
Jim Meyering e03be48b10 Don't emulate dd's skip=N for *all* character devices; lseek works
just fine on non-tape character devices like /dev/mem and /dev/kmem.

(buggy_lseek_support) [__linux__]: Emulate `skip=N'
behavior using reads, not lseek for Linux tape devices (major == 9).
Kernel lseek support for tapes is broken, up to and including
linux-2.4.16.  Reported by Herbert Xu.
2001-12-02 07:49:46 +00:00
Jim Meyering b8efd17fe8 (emit-upload-commands): Fix typo: s/distdir/PACKAGE/. 2001-12-02 06:49:33 +00:00
Jim Meyering d7b3fa5629 . TEXTUTILS-2_0_18 2001-12-01 19:52:31 +00:00
Jim Meyering 8572927454 (po-check): Check for uses of _() not just in .c files, but also in .h files. 2001-12-01 17:56:23 +00:00