1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-24 02:08:57 +03:00

Commit Graph

  • 1b51c7e73b Protect format and printf with __*__. Jim Meyering 1995-04-24 16:25:29 +00:00
  • af8e117d0d Fix mostly per Franc,ois' suggestions. Jim Meyering 1995-04-22 05:54:18 +00:00
  • a87015327e Update and add copyright. Jim Meyering 1995-04-21 17:29:15 +00:00
  • 775493dedd . Jim Meyering 1995-04-21 06:24:54 +00:00
  • 27f19ab42b . Jim Meyering 1995-04-21 04:22:00 +00:00
  • 586c892910 (add_tabstop): Give correct size when reallocating tab_list buffer. From Geoff Odhner (geoff@franklin.com). Jim Meyering 1995-04-21 04:12:33 +00:00
  • f9834f6bee . Jim Meyering 1995-04-19 03:58:38 +00:00
  • 5e1b1dabb2 . Jim Meyering 1995-04-15 13:15:02 +00:00
  • 93b95d2b78 (next_file_name): Don't reuse X as an index. Declare new variable I instead. Jim Meyering 1995-04-14 04:29:41 +00:00
  • 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. Jim Meyering 1995-04-14 04:27:46 +00:00
  • 9f888b86b8 Remove block of redundant comments describing options. (usage): Remove reference to -l option. It's not valid. Jim Meyering 1995-04-14 04:23:22 +00:00
  • 364c21f831 . Jim Meyering 1995-04-04 21:19:44 +00:00
  • d71f5443c9 . Jim Meyering 1995-04-03 13:53:18 +00:00
  • 1beb8c40f3 . Jim Meyering 1995-04-03 13:52:54 +00:00
  • 09dec6f72f (fold_file): Declare offset_out size_t. Jim Meyering 1995-03-25 21:09:34 +00:00
  • 42357adff5 (set_fields): Declare index unsigned. Jim Meyering 1995-03-25 21:08:36 +00:00
  • ebaf614a13 Declare as unsigned int' all variables that were just unsigned'. (make_filename): Change type of arg to unsigned int. (split_file): Change type of indices to unsigned int. Jim Meyering 1995-03-24 23:40:41 +00:00
  • 80fab638f1 merge with 1.11.e Jim Meyering 1995-03-21 03:50:10 +00:00
  • 5ddea12690 . Jim Meyering 1995-03-21 03:45:22 +00:00
  • 107da866a6 (usage): Add ellipsis after `[OPTION]'. Use FILE, not deprecated PATH. From Karl Berry. Jim Meyering 1995-03-21 03:45:15 +00:00
  • 88650610c1 . Jim Meyering 1995-03-21 01:58:18 +00:00
  • c70ee3bf4a merge with 1.11.d Jim Meyering 1995-03-21 01:43:35 +00:00
  • 429a8df30a . Jim Meyering 1995-03-20 15:10:37 +00:00
  • f371bb0b80 sync from FSF Jim Meyering 1995-03-20 15:09:56 +00:00
  • 4b72e436e6 . Jim Meyering 1995-03-20 14:26:41 +00:00
  • 6ac40b721e version.texi: Put only version number in VERSION definition. Jim Meyering 1995-03-17 04:07:19 +00:00
  • 16c1678f6d . Jim Meyering 1995-03-17 04:05:46 +00:00
  • b94687cecb Detect when -N argument is too large to fit in an off_t. Jim Meyering 1995-03-16 21:54:02 +00:00
  • 4976b0c0c2 . Jim Meyering 1995-03-12 18:31:55 +00:00
  • cb715fe584 . Jim Meyering 1995-03-12 18:21:38 +00:00
  • 858157b65b . Jim Meyering 1995-03-12 18:12:18 +00:00
  • f8b678f7c8 Better but-reporting instructions. wc tweak: lines->newlines. Jim Meyering 1995-03-12 18:07:15 +00:00
  • e71dcd4c81 Undef __P before defining it. Jim Meyering 1995-03-12 18:06:08 +00:00
  • ae50e4b6fc . Jim Meyering 1995-03-12 18:00:33 +00:00
  • 91f5d65874 Make source const. Jim Meyering 1995-03-12 15:26:36 +00:00
  • e677aefec1 Update from glibc. Jim Meyering 1995-03-12 15:26:09 +00:00
  • 1423198343 add 1995 to Copyright dates Jim Meyering 1995-03-10 04:15:06 +00:00
  • 0d6850348c add 1995 to Copyright dates Jim Meyering 1995-03-09 22:33:05 +00:00
  • eba8aab7f2 add 1995 to Copyright dates Jim Meyering 1995-03-09 22:20:59 +00:00
  • c2c77cdc0f . Jim Meyering 1995-03-06 14:20:34 +00:00
  • d307cc738a from Karl Berry Jim Meyering 1995-03-06 14:11:41 +00:00
  • 6e811f30ac (SET_REGS_MATCHED): Enclose if-stmt in do {...} while(0)' instead of using trailing else' -- otherwise, gcc -Wall complains of `empty body in an else-statement'. Jim Meyering 1995-02-28 13:54:33 +00:00
  • 40f6e92067 (wc): oops. Add missing dcl of stats. Jim Meyering 1995-02-28 12:50:35 +00:00
  • b53cae8492 Always include system headers, but define-away any putenv prototype. Jim Meyering 1995-02-28 12:08:03 +00:00
  • 861ff7f26c Remove sys-dependent cruft and define-away getopt in system headers instead. Jim Meyering 1995-02-28 12:06:57 +00:00
  • 9ac5e4ef97 (color_indicator[0]): Add missing `['. Jim Meyering 1995-02-27 16:37:54 +00:00
  • 2b4f9ff609 . Jim Meyering 1995-02-27 14:54:45 +00:00
  • 7cdef7f19f . Jim Meyering 1995-02-27 14:51:30 +00:00
  • e9c2895a55 (userid_compare): K&R'ify function definition. Jim Meyering 1995-02-27 14:47:40 +00:00
  • 30d09ddbed (correct_password): Use memset instead of bzero. Jim Meyering 1995-02-27 14:09:10 +00:00
  • 617dbb12c2 (main, set_window_size): Use memset instead of bzero. Jim Meyering 1995-02-27 14:07:58 +00:00
  • 5d49fcbeaa Remove \n's from error format strings. (main): Let `seq 1 1' work. Invoke usage always with 1 when failing. Jim Meyering 1995-02-27 14:05:43 +00:00
  • 788bd6716f (docolon): Use memset instead of bzero. Jim Meyering 1995-02-27 06:01:27 +00:00
  • 829c226954 (batch_convert): Remove any trailing newline from offending line before including it in the invalid date' error from date -f'. Reported by Franc,ois Pinard. Jim Meyering 1995-02-27 06:00:14 +00:00
  • 06b585059b (wc): Put back test for S_ISREG. On some systems lseek returns zero for non-regular files (esp ttys on SunOS) even when it fails. Jim Meyering 1995-02-27 00:07:35 +00:00
  • 0988b76df5 . Jim Meyering 1995-02-26 19:05:34 +00:00
  • 8467987e4b . Jim Meyering 1995-02-26 05:09:04 +00:00
  • 5f40ddc1a1 . Jim Meyering 1995-02-24 04:31:04 +00:00
  • 6812f61900 (restore_cwd): Test whether fchdir return value is non-zero, not negative. Be consistent! Jim Meyering 1995-02-23 21:14:12 +00:00
  • aeebbd038c (save_cwd) [!HAVE_FCHDIR]: Avoid a core dump via abort() which occurred because cwd->desc was uninitialed. (restore_cwd) [!HAVE_FCHDIR]: Remove unnecessary redefinition of fchdir. Both from Bruno Haible. Jim Meyering 1995-02-23 21:12:11 +00:00
  • 875eafd489 (count_entry): Fix bug in polarity of safe-stat status test. Jim Meyering 1995-02-21 05:19:03 +00:00
  • 03daea30a6 (save_cwd, restore_cwd): New functions. (main): Use them instead of in-line versions. (count_entry): Use them here instead of relying on chdir ("..") -- but only when necessary. Before, with --dereference (-L), traversing a symlink caused failure because chdir ("..") didn't work as expected. Reported by Bruno Haible. Jim Meyering 1995-02-21 05:01:08 +00:00
  • 44416660ae update from FSF Jim Meyering 1995-02-16 20:25:54 +00:00
  • 695dd11003 (wc): Fix off-by-one error when counting lines. Jim Meyering 1995-02-16 00:10:49 +00:00
  • e1453c467f . Jim Meyering 1995-02-11 14:15:09 +00:00
  • a40b092725 (SOURCES): Add memcmp.c, memcpy.c, and memset.c. Jim Meyering 1995-02-11 14:11:36 +00:00
  • b4994dc3fe . Jim Meyering 1995-02-11 14:02:02 +00:00
  • 4ef39a33cb (copy): Use memset, not bzero. (copy_simple): Use memcpy, not bcopy. Jim Meyering 1995-02-11 13:58:11 +00:00
  • b743f8afc3 Remove index/rindex and bcmp/bcopy/bzero references. Separate errno declaration from STDC_HEADERS. Jim Meyering 1995-02-11 13:53:39 +00:00
  • f299c4e0f6 . Jim Meyering 1995-02-11 13:36:02 +00:00
  • 79c16924de Fix example in comment. Jim Meyering 1995-02-11 13:21:46 +00:00
  • a3d2e589ed (wc): Eliminate fstat call -- using lseek is sufficient. Detect/handle case in which CURR position > EOF. Jim Meyering 1995-02-10 05:53:54 +00:00
  • 15d9f70d1a (wc): Handle separately the cases in which words need not be counted. Suggested by Karl Heuer. (wc): Use memchr.c instead. Jim Meyering 1995-02-10 05:34:27 +00:00
  • d131ddcf1f (wc): Add a separate loop for counting only lines or lines and bytes. From Karl Heuer. Jim Meyering 1995-02-09 17:15:17 +00:00
  • 05d1bec3e5 (wc): Don't overcount the number of bytes when reading from a regular file on stdin with file pointer not at BOF. From Karl Heuer. Jim Meyering 1995-02-09 17:05:43 +00:00
  • b968f43e95 . Jim Meyering 1995-01-29 05:34:15 +00:00
  • 5695b2f051 (parse_old_offset): Use strchr, not index. Jim Meyering 1995-01-29 05:33:05 +00:00
  • faed18c267 (extract_regexp): Use strrchr, not rindex. Jim Meyering 1995-01-29 05:32:10 +00:00
  • 8c3911c2b4 . Jim Meyering 1995-01-28 14:07:41 +00:00
  • a6f7c6d0c7 . Jim Meyering 1995-01-28 13:23:10 +00:00
  • 6be15c9af0 (substr): Don't allocate a byte for trailing NUL in result since the result needn't be NUL-terminated. Don't NUL terminate it. Jim Meyering 1995-01-28 13:22:53 +00:00
  • 7fc638a948 (pipe_lines, pipe_bytes): Use memcpy instead of bcopy. Jim Meyering 1995-01-28 13:22:25 +00:00
  • 3cd9e1dd23 (append_equiv_class): Use memcpy instead of bcopy. (card_of_complement, set_initialize): Use memset, not bzero. Jim Meyering 1995-01-28 13:15:35 +00:00
  • af7e99c091 (tac): Use memmove instead of bcopy. (output): Use memcpy instead of bcopy. Jim Meyering 1995-01-28 13:09:42 +00:00
  • 9646d48630 (main): Use memset, not bzero. (line_bytes_split): Use memmove instead of bcopy. Jim Meyering 1995-01-28 13:06:29 +00:00
  • 849868e342 (checkfp, mergefps): Use memcpy instead of bcopy. (fillbuf): Use memmove instead of bcopy. Jim Meyering 1995-01-28 13:04:27 +00:00
  • 197bc3fd5a (decode_format_string): Use memmove instead of bcopy. [EQUAL_BLOCKS]: Use memcmp, not bcmp. (dump): Use memset, not bzero. Jim Meyering 1995-01-28 13:02:44 +00:00
  • 392dd54529 (fold_file): Use memmove instead of bcopy. Jim Meyering 1995-01-28 13:00:10 +00:00
  • 3794d3b8ad . Jim Meyering 1995-01-28 04:58:03 +00:00
  • 42a6a38712 (isopen, isclose, isperiod): Use strchr, not index. (flush_paragraph): Use memmove instead of bcopy. Jim Meyering 1995-01-28 04:57:45 +00:00
  • 45f162ad7a (load_buffer): Use memcpy rather than bcopy. Jim Meyering 1995-01-28 04:47:03 +00:00
  • 9a915d886e (cat): Use memmove rather than bcopy. Jim Meyering 1995-01-28 04:45:19 +00:00
  • 1976546062 . Jim Meyering 1995-01-27 19:32:16 +00:00
  • fedcb63136 (get_fs_usage, statfs): Use safe_read, and safe_stat rather than bare read and stat. Jim Meyering 1995-01-27 17:20:54 +00:00
  • 7ccb88fbc5 Declare errno if it's not defined. Rename SAFE_STAT to safe_stat. Jim Meyering 1995-01-27 17:16:56 +00:00
  • 0fd3803567 Declare errno if it's not defined. Jim Meyering 1995-01-27 17:16:19 +00:00
  • b284f343cb (DEFS): Remove -Dlint. (DISTFILES): Add error.h. Jim Meyering 1995-01-27 17:09:18 +00:00
  • 5dabd0cdec Rename SAFE_STAT to safe_stat. Jim Meyering 1995-01-27 17:07:36 +00:00
  • fbf807583e Rename SAFE_STAT to safe_stat. Jim Meyering 1995-01-27 17:05:42 +00:00
  • e6e3d524da Rename SAFE_STAT to safe_stat. Jim Meyering 1995-01-27 17:05:11 +00:00