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

Commit Graph

  • 69f39255bc Rename SAFE_STAT and SAFE_LSTAT to lower case names. Jim Meyering 1995-01-27 17:03:21 +00:00
  • b4cde80810 . Jim Meyering 1995-01-27 15:35:17 +00:00
  • 85bb215ab8 (basename): Use strrchr, not rindex. [!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex. Jim Meyering 1995-01-27 15:23:48 +00:00
  • b38a5a7a17 . Jim Meyering 1995-01-27 15:01:25 +00:00
  • 4ecaaf1fa7 . Jim Meyering 1995-01-27 15:00:54 +00:00
  • 428920f8fc . Jim Meyering 1995-01-27 14:41:51 +00:00
  • 4e2a9fa5f2 . Jim Meyering 1995-01-27 05:39:25 +00:00
  • 1a41e74d32 . Jim Meyering 1995-01-27 05:37:03 +00:00
  • 66444bdafb Remove/rewrite some comments. Jim Meyering 1995-01-27 05:36:14 +00:00
  • b554fee401 . Jim Meyering 1995-01-27 05:22:23 +00:00
  • 293530a4c8 . Jim Meyering 1995-01-25 04:32:58 +00:00
  • 8b285f6be9 * fmt.c (copy_rest): Replace ||' with &&'. Before, a paragraph not followed by a newline would be followed by data copied from uninitialized storage. Repeat by `printf abc|fmt|od -ac'. Reported by Franc,ois Pinard. Jim Meyering 1995-01-25 04:32:15 +00:00
  • 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. Jim Meyering 1995-01-25 04:19:46 +00:00
  • 41fc246374 Don't use legal' when you mean valid'. Jim Meyering 1995-01-17 13:57:22 +00:00
  • cfaf788606 Fix typo: seperator -> separator. Jim Meyering 1995-01-12 05:03:08 +00:00
  • 98b530a36d Remove FIXMEs. (get_width_format): Use stub function if not all of the needed math functions are available. From Ulrich. (main): Give reason for failure. Jim Meyering 1995-01-08 20:20:19 +00:00
  • 9485d96553 See log in textutils/lib/. Jim Meyering 1995-01-08 19:33:34 +00:00
  • f30ca710d9 . Jim Meyering 1995-01-08 19:30:12 +00:00
  • 4ad4a00de4 Add some FIXME comments. Jim Meyering 1994-12-31 18:38:23 +00:00
  • 81f671740e Include "system.h". Don't explicitly include headers that it includes. Use error, not `fprintf (stderr'. Jim Meyering 1994-12-31 18:32:47 +00:00
  • d6b36e21cb Minor indentation change. (usage): Change wording a little. Jim Meyering 1994-12-31 18:17:34 +00:00
  • 47d3dc6fc3 From Ulrich Drepper. Jim Meyering 1994-12-31 18:04:40 +00:00
  • d4ba41692f . Jim Meyering 1994-12-31 17:56:47 +00:00
  • a872332ad9 . Jim Meyering 1994-12-31 17:55:01 +00:00
  • e8bb8dff6a . Jim Meyering 1994-12-31 17:54:33 +00:00
  • e0c2f72ee5 . Jim Meyering 1994-12-31 17:53:04 +00:00
  • 60d3ac3f15 . Jim Meyering 1994-12-31 17:51:57 +00:00
  • e50ceb339f still checking Jim Meyering 1994-12-31 17:46:31 +00:00
  • 6a8f231a9c checking whether cvs lock works Jim Meyering 1994-12-31 17:43:19 +00:00
  • 029da0400b (print_factors): Increase size of FACTOR array to 128. Jim Meyering 1994-12-31 17:39:22 +00:00
  • 3de797b535 Indent. Add deactivated assertions. Jim Meyering 1994-12-31 17:33:56 +00:00
  • 14842c9a59 Use readtoken. Jim Meyering 1994-12-31 15:28:51 +00:00
  • 652d4c6cd6 . Jim Meyering 1994-12-27 13:39:54 +00:00
  • 59097c0922 Include "error.h" rather than simply declaring `void error ();'. Jim Meyering 1994-12-27 13:36:22 +00:00
  • dcb4b37240 * dd.c (skip): Use safe_read instead of read. (copy): Use full_write instead of write. From Bruno Haible. Jim Meyering 1994-12-27 13:12:52 +00:00
  • 410e779e8d * sync.c (main): Make error message accurate. Jim Meyering 1994-12-27 13:08:05 +00:00
  • d7cd6fb738 Write file name instead of filename. Jim Meyering 1994-12-27 05:28:58 +00:00
  • ca39edc494 . Jim Meyering 1994-12-27 02:50:40 +00:00
  • 2ea2c7bf78 [member]: Use strchr instead of index. Jim Meyering 1994-12-27 02:47:50 +00:00
  • b772193f4b . Jim Meyering 1994-12-27 02:46:10 +00:00
  • c84154eb28 * test.c (term): Running `./test \( a -o b' got a seg fault. From Klaus.Reichl@aut.alcatel.at. Jim Meyering 1994-12-27 00:33:03 +00:00
  • 72bb9e6307 Rearrange to accept a user-specified set of suffix chars (must be a subset of master list), each with a hard-coded value. Jim Meyering 1994-12-22 05:10:32 +00:00
  • 7c141b258d (main): Update xstrtol calls to be consistent with new decl. Jim Meyering 1994-12-22 05:08:40 +00:00
  • 2999aefb84 . Jim Meyering 1994-12-20 05:26:56 +00:00
  • a9f1783e20 * src/*.c: Include "error.h" instead of simply declaring `void error ();'. Jim Meyering 1994-12-20 05:26:44 +00:00
  • 6bb619d33c Begin overhaul. Jim Meyering 1994-12-20 05:24:13 +00:00
  • 0477175963 . Jim Meyering 1994-12-20 05:10:42 +00:00
  • eaa5cc3f91 . Jim Meyering 1994-12-20 05:05:55 +00:00
  • 735c6a9adc (test_stat, binary_operator): Use safe_stat instead of SAFE_STAT. (unary_operator): Use safe_lstat instead of SAFE_LSTAT. Jim Meyering 1994-12-20 04:51:10 +00:00
  • 6d59e126b5 (print_entry): Use safe_stat instead of SAFE_STAT. Jim Meyering 1994-12-20 04:50:25 +00:00
  • bb705c7c3e (dir_ok): Use safe_stat instead of SAFE_STAT. Jim Meyering 1994-12-20 04:49:55 +00:00
  • 398dbbb832 (numerous functions): Give char* filename arguments the const attribute. Jim Meyering 1994-12-20 04:27:35 +00:00
  • 90a33c19fe . Jim Meyering 1994-12-20 04:23:49 +00:00
  • 3205d087e2 . Jim Meyering 1994-12-20 04:17:23 +00:00
  • a09358fc2c . Jim Meyering 1994-12-20 04:15:30 +00:00
  • c5811b6a26 (main): Use safe_stat, not SAFE_STAT. Jim Meyering 1994-12-20 04:03:28 +00:00
  • 73d8d0a43f Include "error.h" instead of simply declaring void error ();'. (main): Don't advance optarg past leading sign -- otherwise, we'd be making tail accept invalid options like -+1'. (tail_file): Fix call to error with %s in format, but no corresponding argument. Jim Meyering 1994-12-16 05:45:57 +00:00
  • 7323b7d9f2 Include "error.h" instead of simply declaring `void error ();'. Jim Meyering 1994-12-16 05:42:47 +00:00
  • 8d6c6946dd Include "error.h" instead of simply declaring `void error ();'. Jim Meyering 1994-12-16 05:41:05 +00:00
  • 029fcaa913 (main): Use %lu, not %d for unsigned long. (my_strtoul, uint_fatal_error): Remove functions. Use xstrtoul and STRTOL_FATAL_ERROR instead. Jim Meyering 1994-12-16 05:32:30 +00:00
  • bebb9b3286 (main): Move to end. (factor, do_stdin): Declare static. Jim Meyering 1994-12-13 05:42:44 +00:00
  • 3ae9a27c25 (docolon): Zero out re_buffer and re_regs before using them. From H.J. Lu <hjl@nynexst.com>. Jim Meyering 1994-12-13 04:42:23 +00:00
  • 0050411112 . Jim Meyering 1994-12-12 17:49:55 +00:00
  • 5bfdd91cdf . Jim Meyering 1994-12-12 00:00:28 +00:00
  • 88442ad885 sort.c (main): Fix interpretation of field offsets when specified via -k option. They were being interpreted as zero-indexed. POSIX says they are 1-based indices. (keycompare): Don't ignore characters at the end of words when otherwise they compare equal. Both from Rik Faith <faith@cs.unc.edu>. Jim Meyering 1994-12-12 00:00:22 +00:00
  • f46511eb69 * (<most functions>): Change the type of n_units/n_lines/n_bytes to off_t because n_bytes is used as the option to fseek and off_t may be long long (e.g. on BSD4.4). The only place where a 32-bit limit is imposed is in the string-to-integer converstion of xstrtol. (main): Use xstrtol instead of manual string to integer conversion. Jim Meyering 1994-12-11 23:53:54 +00:00
  • cfa6527373 . Jim Meyering 1994-12-11 23:44:07 +00:00
  • 0e168c7d03 (get_format_width, get_format_prec): Use ISDIGIT instead of comparisons against '0' and '9'. Jim Meyering 1994-12-11 23:43:21 +00:00
  • 9c5d0aa7a6 [ULONGMAX]: Define it. [LONGMAX]: Define in terms of ULONGMAX instead of as a 32-bit constant. Jim Meyering 1994-12-11 23:31:12 +00:00
  • 5b66c03ac0 . Jim Meyering 1994-12-11 23:13:08 +00:00
  • 5dd4159e77 (safe_read): Get this function from gcc's cccp.c. Jim Meyering 1994-12-10 22:00:12 +00:00
  • b3d3591aed . Jim Meyering 1994-12-10 06:04:53 +00:00
  • fb5c9e690f . Jim Meyering 1994-12-10 05:48:14 +00:00
  • e737fe145f . Jim Meyering 1994-12-10 05:46:18 +00:00
  • abdf594b85 No longer include <ctype.h>. [isascii, ISDIGIT]: Remove definitions. Jim Meyering 1994-12-10 05:45:52 +00:00
  • 33c44e1d1b No longer include <ctype.h>. Remove IS* macros. Jim Meyering 1994-12-10 05:45:02 +00:00
  • ec27c85596 No longer include <ctype.h>. Jim Meyering 1994-12-10 05:43:18 +00:00
  • 36a504f605 (copy, make_path_private): Use strr?chr instead of r?index. Jim Meyering 1994-12-10 05:41:52 +00:00
  • c95989d148 (parse_conversion, scan_args): Use strr?chr instead of r?index. Jim Meyering 1994-12-10 05:41:16 +00:00
  • 06f4d47a29 (remove_parents): Use strr?chr instead of r?index. Jim Meyering 1994-12-10 05:39:59 +00:00
  • 7f58bbba88 * [!HAVE_STRING_H]: Define strchr to index and strrchr to rindex instead of the other way around. * Include <ctype.h> and define IS* macros. Jim Meyering 1994-12-10 05:25:15 +00:00
  • 651ccf648d No longer include <ctype.h>. Jim Meyering 1994-12-10 05:21:29 +00:00
  • 2a242b8989 New chapter by Arnold Robbins via Karl. Jim Meyering 1994-12-07 14:17:04 +00:00
  • f445de3b86 . Jim Meyering 1994-12-04 21:15:54 +00:00
  • 12042b2fa2 Use strr?chr instead of r?index. Jim Meyering 1994-12-04 21:15:46 +00:00
  • 06084cb7e8 Get putenv.c from /copies (derived from glibc). Hack it to work with SGI's __environ junk. Jim Meyering 1994-12-04 21:08:50 +00:00
  • 96dd28efa2 . Jim Meyering 1994-12-04 20:56:35 +00:00
  • 3b0ea78aef . Jim Meyering 1994-12-04 20:55:30 +00:00
  • be4a8a192a . Jim Meyering 1994-12-04 20:53:43 +00:00
  • fec974e60e (DISTFILES): Add getdate.texi. Jim Meyering 1994-12-04 20:52:46 +00:00
  • 5150ebf157 Mods from Karl to include getdate.texi. Jim Meyering 1994-12-04 20:50:57 +00:00
  • 9a102f76c8 . Jim Meyering 1994-12-04 20:48:11 +00:00
  • 1d6dc36be9 (du_files): Handle very low-probability fchdir failure (when errno != 0 && errno != EINVAL). Jim Meyering 1994-12-03 20:38:20 +00:00
  • 9f715b2bdb (du_files): Variable name changes. Jim Meyering 1994-12-03 20:29:28 +00:00
  • 103e83b65e (du_files): Work around SunOS restriction that fchdir doesn't work when accounting is enabled -- modelled after djm's find.c mods. Jim Meyering 1994-12-03 20:26:33 +00:00
  • f55a29ab93 (checkfp): Initialize keybeg and keylim fields. Before, this command perl -e 'print join ("\n", (1..513)), "\n";'|sort -cs -n failed on SunOS 4 systems. From Robert H. de Vries <robert@and.nl>. Jim Meyering 1994-12-02 16:54:56 +00:00
  • 97f9755aeb (xfclose): Report failed fflush. Otherwise, failed write to stdout could be missed because of subsequent clearerr. (main): Include filename in a couple error messages. Add missing %s in an error format string. Jim Meyering 1994-12-02 16:49:47 +00:00
  • f2fc6e9054 name changes: number->n_lines|n_bytes Jim Meyering 1994-11-30 20:54:21 +00:00
  • 04b546bdb9 Make some globals static' and/or const'. (LEN_STR_PAIR): New macro. (decode_switches): Only ignore invalid TABSET value instead of dying. (parse_ls_color): Use error, not fprintf. (print_type_indicator): Remove dcls of two unused variables. Jim Meyering 1994-11-28 06:00:56 +00:00
  • f214bd45dc indent Jim Meyering 1994-11-28 04:38:27 +00:00