1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-25 19:47:20 +02:00
Commit Graph

4907 Commits

Author SHA1 Message Date
Jim Meyering b0cee61e23 *** empty log message *** 2005-12-14 20:37:24 +00:00
Jim Meyering bd78a76886 (libcoreutils_a_SOURCES): Remove fprintftime.c
and fprintftime.h.  Now they're pulled in via the .m4 file.
2005-12-14 20:37:06 +00:00
Paul Eggert 23b2b5c660 * Makefile.am (stdbool.h): Resurrect the 'sed' that goes along
with '#if !@HAVE_BOOL@".
2005-12-14 00:09:23 +00:00
Paul Eggert a6caba2509 (stdbool.h): Resurrect the 'sed' that goes along with '#if !@HAVE_BOOL@". 2005-12-14 00:08:54 +00:00
Paul Eggert 4170c66d45 (_Bool): Resurrect the "#if !@HAVE__BOOL@" check, to
work around compilers that have a (possibly-broken) _Bool but lack
a working <stdbool.h>.
2005-12-13 19:42:27 +00:00
Paul Eggert 5ea987eade * lib/stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
* m4/stat-time.m4 (gl_STAT_TIME): Likewise.
2005-12-07 18:22:05 +00:00
Paul Eggert 19af464ef3 Mention reporters for "none" and "proc" mounts. 2005-12-05 17:46:22 +00:00
Jim Meyering 5e36a5a28f *** empty log message *** 2005-12-04 22:00:18 +00:00
Jim Meyering 6a33c69c49 (EXPECTED_ERRNO): Add ENOSYS, for Solaris 8.
Paul Eggert reported that unlink/rmdir vs. e.g., /proc/self/fd/N/FILE
fails with ENOSYS.  This makes openat revert to using save-cwd.c
functions in that case.
2005-12-04 22:00:14 +00:00
Jim Meyering b3e300393e . 2005-12-03 23:19:58 +00:00
Jim Meyering e4f62b9fcf *** empty log message *** 2005-12-02 07:49:12 +00:00
Paul Eggert 76bebf24a5 Import from gnulib. 2005-12-02 00:42:52 +00:00
Jim Meyering 46679371cb *** empty log message *** 2005-11-30 13:05:08 +00:00
Jim Meyering 798f577bec Include openat-priv.h.
Remove definitions of macros defined therein.
2005-11-30 13:04:26 +00:00
Jim Meyering 07c80bab50 Define macros used by mkdirat.c and openat.c. 2005-11-30 13:03:21 +00:00
Jim Meyering 48a8638c23 *** empty log message *** 2005-11-30 12:40:12 +00:00
Jim Meyering 29a3f2f810 (mkdirat): Declare. 2005-11-30 12:40:09 +00:00
Jim Meyering 3f23bf599c *** empty log message *** 2005-11-30 12:39:30 +00:00
Jim Meyering 2e72b76fd3 (mkdirat): New file and function. 2005-11-30 12:39:14 +00:00
Paul Eggert fc0fa751c4 Log today's changes. 2005-11-26 07:53:39 +00:00
Paul Eggert 1e20020bb8 (ME_DUMMY): "none" and "proc" file systems are dummies
too.
2005-11-26 07:52:11 +00:00
Paul Eggert 45ad3543a9 Include <limits.h>.
(dev_from_mount_options)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]:
New function.  It no longer assumes "dev=" has the System V meaning
on Linux (since it doesn't).  It also parses "dev=" more carefully.
(read_file_system_list)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]: Use it.
MOUNTED_GETMNTENT2 is new here; the code didn't used to look for
dev= in that case.
2005-11-26 07:43:50 +00:00
Paul Eggert 128bc21842 (MOSTLYCLEANFILES): Clean stdbool.h-t, not stdbool.ht. 2005-11-26 06:58:34 +00:00
Paul Eggert b7fa297fa5 (stdbool.h): Fix typo in previous change. 2005-11-26 06:55:22 +00:00
Paul Eggert dedcfff69c (stdbool.h): Just copy stdbool_.h; no need to sed any more. 2005-11-26 06:54:17 +00:00
Paul Eggert 6771c1b415 Simplify greatly, under the assumption that these
days most people use C99-compatible compilers to debug, so it's
not worth worrying about catering to older compilers for that.
This works around some porting problems with HP-UX compilers.
(false, true) [defined __BEOS__]: Don't #undef; no longer needed.
(_Bool): typedef to bool if C++ or BeOS, and #define to signed char
otherwise.
2005-11-26 06:37:31 +00:00
Paul Eggert c63680e87b (gettime) [!defined OK_TO_USE_1S_CLOCK]:
Report an error at compile-time if only a 1-second nominal clock
resolution is found.
2005-11-26 06:30:35 +00:00
Paul Eggert 757d7a8eb5 Add buffer-lcm. 2005-11-24 06:49:10 +00:00
Paul Eggert ef774a082b (libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h. 2005-11-24 06:48:55 +00:00
Paul Eggert 79eb35c4e5 Initial version 2005-11-24 06:48:36 +00:00
Paul Eggert 325619eb0d Initial version, from diffutils 2005-11-24 06:48:03 +00:00
Jim Meyering 1aab378857 tweak grammar in comments 2005-11-23 13:36:48 +00:00
Jim Meyering 694b9b330a *** empty log message *** 2005-11-23 13:35:15 +00:00
Jim Meyering e8609798de (fdopendir): Don't change errno when returning non-NULL. 2005-11-23 13:35:09 +00:00
Jim Meyering 66878248f6 . 2005-11-22 15:33:39 +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 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 a1343d67f2 tweak grammar in a comment 2005-11-19 07:49:10 +00:00
Paul Eggert 8645d522c0 Don't bother with #pragma STDC FENV_ACCESS ON, as
coreutils no longer futzes with rounding modes.
2005-11-15 18:30:28 +00:00
Jim Meyering db5eb389ad Use #if !, not #ifndef, for AC_CHECK_DECLS. 2005-11-14 14:51:24 +00:00
Jim Meyering 6b869921fa *** empty log message *** 2005-11-14 14:51:21 +00:00
Jim Meyering 13e06b3243 *** empty log message *** 2005-11-13 14:07:11 +00:00
Jim Meyering dcd8aa97f2 Include <config.h>, required for possible replacement of mkstemp. 2005-11-13 14:07:06 +00:00
Jim Meyering 3fd87d8e73 *** empty log message *** 2005-11-12 10:16:50 +00:00
Jim Meyering 716377a20a *** empty log message *** 2005-11-12 10:06:34 +00:00