1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 06:57:33 +02:00
Commit Graph

235 Commits

Author SHA1 Message Date
Jim Meyering
56c8261d7e (maintainer-clean): Rename from realclean.
(.PHONY): New dependencies.
[.c.o]: Remove -I. since safe-l?stat.h is no longer used.
1995-05-13 13:55:56 +00:00
Jim Meyering
c093a8e789 (make_path): Use stat, not SAFE_STAT.
Use strchr, not index.  Adjust defines accordingly.
1995-05-13 13:30:10 +00:00
Jim Meyering
7ce06ceca7 (parse_user_spec): Use strchr, not index.
[!HAVE_STRING_H]: Define strchr in terms of index, not the other way around.
1995-05-13 13:25:42 +00:00
Jim Meyering
8a7a1fda12 (rmdir): Use stat, not safe_stat. 1995-05-13 13:20:19 +00:00
Jim Meyering
eec5824b1a (rename): Use stat, not safe_stat.
(rename): Compare src and dest inode numbers rather than src
inode and dest *dev* when determining whether src and dest refer
to the same file.  From marc@math.cornell.edu (Marc Parmet).
1995-05-13 13:19:07 +00:00
Jim Meyering
b3fc4e375f (mkdir): Use stat, not safe_stat. 1995-05-13 13:13:04 +00:00
Jim Meyering
5a69bc6e5f Undef __P before defining.
Guard definition with simpler `#if __STDC__'.
1995-05-13 13:10:38 +00:00
Jim Meyering
e8bfedbcd4 (isdir): Usage stat, not safe_stat. 1995-05-13 13:07:54 +00:00
Jim Meyering
627abb8251 (statfs): Use stat, not safe_stat. 1995-05-13 13:06:46 +00:00
Jim Meyering
4198f93479 (eaccess_stat): Make statp and path arguments const.
(euidaccess): Make statp argument const.  Use stat, not safe_stat.
1995-05-13 13:05:35 +00:00
Jim Meyering
26abb25bd0 Remove unnecessary definitions for r?index.
Update definitions for ISDIGIT.
1995-05-13 13:02:08 +00:00
Jim Meyering
d931bb8005 Remove safe-l?stat.[ch]in and related rules. 1995-05-13 12:57:46 +00:00
Jim Meyering
e5be6fdf8a (argmatch): Include sys/types.h and declare length argument with type size_t. 1995-05-13 12:55:49 +00:00
Jim Meyering
143415e6b8 (basename): Make arg const. 1995-05-13 12:52:57 +00:00
Jim Meyering
821c7fe59e merge with 1.11.g 1995-05-10 14:22:19 +00:00
Jim Meyering
843193374f Use __-protected versions of format' and printf' only with gcc-2.7 and later. 1995-04-27 17:04:23 +00:00
Jim Meyering
732fb15b45 merge with 1.11.f 1995-04-27 06:06:46 +00:00
Jim Meyering
00c3a48bd7 (REGEX_FREE): Add back the `while (0)' hack
Put back ifdefs to protect unnecessary decl.
1995-04-27 05:23:35 +00:00
Jim Meyering
1fa0e4dfd6 Latest from RMS. 1995-04-27 04:54:07 +00:00
Jim Meyering
14755ac891 (EMACS_INT): Define it to int. (BIG KLUDGE) 1995-04-26 17:19:13 +00:00
Jim Meyering
9c5392e4af (REGEX_FREE): Define to `while (0) /* empty */' rather than nothing.
Otherwise, some uses got warnings about empty if-clause.

Declare failure_stack_ptr only #ifdef REL_ALLOC.
1995-04-26 17:18:27 +00:00
Jim Meyering
fd3bfce0cc New version from FSF. 1995-04-26 17:02:38 +00:00
Jim Meyering
1b51c7e73b Protect format and printf with __*__. 1995-04-24 16:25:29 +00:00
Jim Meyering
af8e117d0d Fix mostly per Franc,ois' suggestions. 1995-04-22 05:54:18 +00:00
Jim Meyering
a87015327e Update and add copyright. 1995-04-21 17:29:15 +00:00
Jim Meyering
c70ee3bf4a merge with 1.11.d 1995-03-21 01:43:35 +00:00
Jim Meyering
f371bb0b80 sync from FSF 1995-03-20 15:09:56 +00:00
Jim Meyering
4b72e436e6 . 1995-03-20 14:26:41 +00:00
Jim Meyering
cb715fe584 . 1995-03-12 18:21:38 +00:00
Jim Meyering
e71dcd4c81 Undef __P before defining it. 1995-03-12 18:06:08 +00:00
Jim Meyering
91f5d65874 Make source const. 1995-03-12 15:26:36 +00:00
Jim Meyering
e677aefec1 Update from glibc. 1995-03-12 15:26:09 +00:00
Jim Meyering
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'.
1995-02-28 13:54:33 +00:00
Jim Meyering
b53cae8492 Always include system headers, but define-away any putenv prototype. 1995-02-28 12:08:03 +00:00
Jim Meyering
861ff7f26c Remove sys-dependent cruft and define-away getopt in system headers
instead.
1995-02-28 12:06:57 +00:00
Jim Meyering
44416660ae update from FSF 1995-02-16 20:25:54 +00:00
Jim Meyering
a40b092725 (SOURCES): Add memcmp.c, memcpy.c, and memset.c. 1995-02-11 14:11:36 +00:00
Jim Meyering
b4994dc3fe . 1995-02-11 14:02:02 +00:00
Jim Meyering
1976546062 . 1995-01-27 19:32:16 +00:00
Jim Meyering
fedcb63136 (get_fs_usage, statfs): Use safe_read, and safe_stat rather than
bare read and stat.
1995-01-27 17:20:54 +00:00
Jim Meyering
7ccb88fbc5 Declare errno if it's not defined.
Rename SAFE_STAT to safe_stat.
1995-01-27 17:16:56 +00:00
Jim Meyering
0fd3803567 Declare errno if it's not defined. 1995-01-27 17:16:19 +00:00
Jim Meyering
b284f343cb (DEFS): Remove -Dlint.
(DISTFILES): Add error.h.
1995-01-27 17:09:18 +00:00
Jim Meyering
5dabd0cdec Rename SAFE_STAT to safe_stat. 1995-01-27 17:07:36 +00:00
Jim Meyering
fbf807583e Rename SAFE_STAT to safe_stat. 1995-01-27 17:05:42 +00:00
Jim Meyering
e6e3d524da Rename SAFE_STAT to safe_stat. 1995-01-27 17:05:11 +00:00
Jim Meyering
b4cde80810 . 1995-01-27 15:35:17 +00:00
Jim Meyering
85bb215ab8 (basename): Use strrchr, not rindex.
[!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
1995-01-27 15:23:48 +00:00
Jim Meyering
b38a5a7a17 . 1995-01-27 15:01:25 +00:00
Jim Meyering
4ecaaf1fa7 . 1995-01-27 15:00:54 +00:00