Jim Meyering
e8609798de
(fdopendir): Don't change errno when returning non-NULL.
2005-11-23 13:35:09 +00:00
Paul Eggert
1000eb18b6
(rm): Don't assume C99 for-loop syntax.
2005-11-23 04:52:48 +00:00
Jim Meyering
32034e05b7
whoops. Add back decl/definition of n_lengths.
2005-11-22 21:12:28 +00:00
Jim Meyering
8f092ad8e8
*** empty log message ***
2005-11-22 21:03:43 +00:00
Jim Meyering
f076895070
(AD_push): Remove debugging cruft.
2005-11-22 21:03:36 +00:00
Jim Meyering
5ff678924e
tweak comments
2005-11-22 20:05:48 +00:00
Jim Meyering
5db92fc43c
*** empty log message ***
2005-11-22 16:23:21 +00:00
Jim Meyering
43f9368331
.
2005-11-22 16:00:04 +00:00
Jim Meyering
6e4cda39d3
*** empty log message ***
2005-11-22 15:59:38 +00:00
Jim Meyering
8c1debf168
Add lib/euidaccess-stat.c.
2005-11-22 15:59:35 +00:00
Jim Meyering
66878248f6
.
2005-11-22 15:33:39 +00:00
Jim Meyering
b5373161d0
Rewrite. Now, this module is reentrant on systems
...
that provide openat (Solaris), and on systems like Linux+procfs
where our openat emulation code is reentrant. This also fixes a
few low-probability leaks and eliminates some code that could,
in very unusual circumstances, cause rm() (via a callee) to exit.
2005-11-22 15:33:26 +00:00
Jim Meyering
e76200e6fa
*** empty log message ***
2005-11-22 15:32:30 +00:00
Jim Meyering
bc3d6c6e81
Put copyright dates all on one line so the
...
emacs function that updates them works properly.
2005-11-22 15:32:20 +00:00
Jim Meyering
8d8739a0c5
*** empty log message ***
2005-11-22 15:08:13 +00:00
Jim Meyering
ad1df12ba2
(rm): Change expected diagnostic, cannot open directory' to cannot remove',
...
to align with new version of rm.
2005-11-22 15:08:09 +00:00
Jim Meyering
901835b8bf
*** empty log message ***
2005-11-22 15:06:38 +00:00
Jim Meyering
bf1de05827
Ensure that rm now continues removing entries even after certain types of failure.
2005-11-22 15:06:30 +00:00
Jim Meyering
d0a109b244
*** empty log message ***
2005-11-22 15:04:55 +00:00
Jim Meyering
b8616748f2
Rewrite. Now, this module is reentrant on systems
...
that provide openat (Solaris), and on systems like Linux+procfs
where our openat emulation code is reentrant. This also fixes a
few low-probability leaks and eliminates some code that could,
in very unusual circumstances, cause rm() (via a callee) to exit.
2005-11-22 15:04:51 +00:00
Jim Meyering
9c14365b2a
*** empty log message ***
2005-11-22 14:53:55 +00:00
Jim Meyering
d591c30293
(openat_permissive): Declare.
...
(openat_ro): Define.
2005-11-22 14:53:47 +00:00
Jim Meyering
2fa54245e1
(EXPECTED_ERRNO): New macro.
...
(openat_permissive): New function -- used in remove.c rewrite.
(all functions): Set errno just before returning, only if there
was an actual failure.
Use EXPECTED_ERRNO rather than comparing against only ENOTDIR.
2005-11-22 14:52:48 +00:00
Jim Meyering
026769d1ce
add ^lib/euidaccess-stat\.c$
2005-11-21 22:59:36 +00:00
Jim Meyering
2f6048508c
*** empty log message ***
2005-11-20 18:54:09 +00:00
Jim Meyering
a2895948e9
Remove spurious space-before-TAB.
2005-11-20 18:52:15 +00:00
Jim Meyering
b99b6ac9ff
*** empty log message ***
2005-11-20 14:07:13 +00:00
Jim Meyering
8b0e637515
(gl_EUIDACCESS_STAT): New file/macro.
2005-11-20 14:07:09 +00:00
Jim Meyering
75e3f2ecf2
*** empty log message ***
2005-11-20 09:10:35 +00:00
Jim Meyering
800af65fec
.
2005-11-20 08:52:08 +00:00
Jim Meyering
18673b9f2d
*** empty log message ***
2005-11-20 08:51:38 +00:00
Jim Meyering
e88132fa06
New file, mostly from euidaccess.c.
2005-11-20 08:51:10 +00:00
Jim Meyering
c0c83656d2
*** empty log message ***
2005-11-20 08:28:05 +00:00
Jim Meyering
6ec2bc2d61
Require gl_EUIDACCESS_STAT.
2005-11-20 08:26:38 +00:00
Jim Meyering
a1343d67f2
tweak grammar in a comment
2005-11-19 07:49:10 +00:00
Jim Meyering
fd907a33bd
.
2005-11-18 23:12:06 +00:00
Paul Eggert
c7c0e0b0ed
* configure.ac (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC.
2005-11-18 23:03:34 +00:00
Paul Eggert
1314a5e7d3
(AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that
...
we get a standard-conforming compiler. This relies on the new
m4/c.m4 file. Note that it's a bit tricky, since c.m4 doesn't
define AC_PROG_CC_STDC; we are relying on Autoconf 2.59 internals.
m4/c.m4 can go away with Autoconf 2.60 comes out.
2005-11-18 23:03:11 +00:00
Paul Eggert
efe0b59c14
* c.m4: New file.
2005-11-18 23:02:48 +00:00
Paul Eggert
761440da1b
New file, to work around bugs in AIX cc.
...
Problem reported by James Lemley. This file can go away
after Autoconf 2.60 comes out.
2005-11-18 23:02:32 +00:00
Paul Eggert
b9267a07a8
* configure.ac (AM_PROG_CC_C_O): Add.
2005-11-18 19:46:19 +00:00
Paul Eggert
a6a99fdf5d
(AM_PROG_CC_C_O): Add. Needed for CVS Automake.
...
Problem reported by Eric Blake.
2005-11-18 19:45:42 +00:00
Jim Meyering
a46640e980
s/filesystem/file system/ in a comment
2005-11-17 21:17:35 +00:00
Jim Meyering
4ace21e534
s/filesystem/file system/
2005-11-17 21:17:28 +00:00
Jim Meyering
4b4233be05
*** empty log message ***
2005-11-17 20:17:53 +00:00
Jim Meyering
ca7cafb093
(AD_mark_helper): Make a char *' parameter const'.
...
(AD_mark_current_as_unremovable): Likewise, but for a local.
(rm_1): Likewise.
2005-11-17 20:17:47 +00:00
Jim Meyering
8ee6b05308
.
2005-11-17 20:05:46 +00:00
Jim Meyering
dfae63e27b
*** empty log message ***
2005-11-17 20:03:14 +00:00
Jim Meyering
d80dfec1d6
remove commented-out lines
2005-11-17 19:53:07 +00:00
Jim Meyering
e663408a22
Let traps handle removing temporary directories.
2005-11-17 19:52:08 +00:00