Jim Meyering
f0b2494fa6
*** empty log message ***
2005-10-23 15:59:09 +00:00
Jim Meyering
441c8bd865
from David Madore
2005-10-23 15:58:59 +00:00
Jim Meyering
00ba9322af
Remove no-longer-relevant comment.
2005-10-23 15:55:30 +00:00
Jim Meyering
e2cfa48b0f
from David Madore
2005-10-23 15:53:55 +00:00
Jim Meyering
1e12a6ad1e
*** empty log message ***
2005-10-20 14:20:41 +00:00
Jim Meyering
a4667affc0
(mode_compile): Reject an invalid mode string that
...
starts with an octal digit. From Andreas Gruenbacher.
2005-10-20 14:20:34 +00:00
Paul Eggert
2ec133706a
(make_dir_parents): Don't report an error if an
...
intermediate directory is in a read-only file system.
2005-10-13 19:05:13 +00:00
Jim Meyering
76890ff048
*** empty log message ***
2005-10-08 09:06:16 +00:00
Jim Meyering
40bf0efd47
(rpl_openat): Use the promoted type (int), not mode_t,
...
as second argument to va_arg. Otherwise, some versions of gcc
warn that `if this code is reached, the program will abort'.
2005-10-08 09:05:08 +00:00
Jim Meyering
f754c25d4c
*** empty log message ***
2005-10-07 22:07:36 +00:00
Jim Meyering
82ee4b140c
Merge from gnulib.
...
(SIZE_MAX): New macro, if not already defined.
2005-10-07 22:07:27 +00:00
Jim Meyering
a9ede5e986
.
2005-10-07 19:42:03 +00:00
Jim Meyering
3614c42902
*** empty log message ***
2005-10-05 14:54:20 +00:00
Jim Meyering
05e1975d08
(libcoreutils_a_DEPENDENCIES): Remove definition.
...
Once it's gone, automake generates an equivalent one.
2005-10-05 14:54:17 +00:00
Jim Meyering
d3b8165328
Merge from gnulib.
2005-10-05 09:09:33 +00:00
Jim Meyering
df2b4d3451
*** empty log message ***
2005-10-05 09:09:27 +00:00
Jim Meyering
ed558df65b
*** empty log message ***
2005-10-04 15:51:25 +00:00
Jim Meyering
4dffc10f08
Merge from gnulib.
...
Include sys/types.h before other headers.
2005-10-04 15:51:20 +00:00
Paul Eggert
ca7be84526
Import getdelim.c from gnulib (to fix unused var warnings) then
...
apply the following fixes:
Include getdelim.h first. Include <limits.h>.
(SSIZE_MAX): New macro, if not already defined.
(getdelim): Fix buffer overrun on 64-bit hosts with lines longer
than 2 GiB.
2005-10-02 22:49:49 +00:00
Jim Meyering
4a6b465285
*** empty log message ***
2005-10-01 09:49:40 +00:00
Jim Meyering
8050751a86
Protect #include's of sys/socket.h and netdb.h.
...
Only define struct addrinfo if !HAVE_STRUCT_ADDRINFO. Protect
AI_* and EAI_* definitions. Protect function declarations.
2005-10-01 09:49:36 +00:00
Jim Meyering
f9c10dab98
*** empty log message ***
2005-09-30 15:21:26 +00:00
Jim Meyering
03866dcfb9
(fdopendir): Do not define if HAVE_FDOPENDIR.
2005-09-30 15:19:47 +00:00
Jim Meyering
5230885d13
(fdopendir): Do not define if HAVE_FDOPENDIR.
...
Remove AT_FDCWD test.
Do not consume the fd unless successful.
2005-09-30 15:19:24 +00:00
Paul Eggert
c683e67618
"they wants" -> "they want"
2005-09-29 17:24:21 +00:00
Paul Eggert
63e88f7cef
Rely on gettimeofday failure too.
2005-09-29 17:22:19 +00:00
Paul Eggert
37016136c9
(settime): If settimeofday fails, give up right away.
2005-09-29 17:21:44 +00:00
Paul Eggert
346afb38ab
* settime.c (settime): Fix { typo in previous patch. Also, don't
...
bother returning ENOSYS; just let stime return whatever errno it
wants to return.
2005-09-29 17:19:58 +00:00
Paul Eggert
8c871e2391
(settime): Fix { typo in previous patch. Also, don't
...
boether returning ENOSYS; just let stime return whatever errno it
wants to return.
2005-09-29 17:19:30 +00:00
Paul Eggert
96e3593902
* xtime.h (XTIME_PRECISION): Now of type int, not long long int.
2005-09-29 16:51:58 +00:00
Paul Eggert
970dc8e4a8
(XTIME_PRECISION): Now of type int, not long long int,
...
so that the code works even with ancient cpp. Portability problem
with GCC 2.7.2.1 reported by Thomas M.Ott.
2005-09-29 16:51:40 +00:00
Jim Meyering
6204a2d1bd
*** empty log message ***
2005-09-29 13:13:53 +00:00
Jim Meyering
33b113c638
(settime): Move the HAVE_STIME block `up' into an #elif
...
block, so that we don't even try to compile it if settimeofday is
available. This works around a compilation failure on OSF1 V5.1,
due to stime requiring a `long int*' while tv_sec is `int'.
2005-09-29 13:13:49 +00:00
Jim Meyering
b2d2351330
*** empty log message ***
2005-09-27 08:59:54 +00:00
Jim Meyering
4e8e195401
*** empty log message ***
2005-09-27 08:59:04 +00:00
Jim Meyering
0ffc4a7d84
[HAVE_CONFIG_H]: Include <config.h>.
2005-09-27 08:58:55 +00:00
Jim Meyering
52e05089cc
[HAVE_CONFIG_H]: Include <config.h> conditionally,
...
to be consistent with gnulib.
2005-09-27 08:44:07 +00:00
Jim Meyering
3cf3a44bbd
Change #ifdef<TAB>HAVE_CONFIG_H to #ifdef HAVE_CONFIG_H.
2005-09-27 08:33:47 +00:00
Jim Meyering
9346282a5d
*** empty log message ***
2005-09-27 08:21:35 +00:00
Jim Meyering
2d7c20c891
Include <config.h> here, now that strnumcmp-in.h no longer includes it.
2005-09-27 08:21:28 +00:00
Paul Eggert
80065b498b
utimens.c portability fixes.
2005-09-26 23:01:25 +00:00
Paul Eggert
a6c8a8e6d4
Include unistd.h, for dup2.
...
(futimens): Fix typo: HAVE_FUTIMESAT was misspelled in an #if.
(futimens) [! HAVE_FUTIMESAT]: If !file, set errno before returning -1.
2005-09-26 23:01:00 +00:00
Jim Meyering
2c5def0462
.
2005-09-25 17:01:54 +00:00
Jim Meyering
0e5662fd54
.
2005-09-25 12:54:04 +00:00
Jim Meyering
23b9299247
Protect against multiple inclusion.
2005-09-25 06:14:33 +00:00
Paul Eggert
7ee48d8ffb
Support having a null PATH if the file descriptor is nonnegative.
2005-09-25 06:09:22 +00:00
Paul Eggert
4f001e7a13
(ENOSYS): Define if not already defined.
...
(ftimens): Support having a null PATH if the file descriptor
is nonnegative.
2005-09-25 06:08:45 +00:00
Paul Eggert
443ddc13e6
Upgrade regex_internal.h patch.
2005-09-25 04:18:54 +00:00
Paul Eggert
793ffcaac0
(__GNUC_PREREQ, always_inline, inline, pure):
...
Remove.
(__attribute): Define to empty unless GCC 3.1 or later.
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()). It also
simplifies other tests, since we really don't want to bother with
worrying about which ancient version of GCC supported what.
Original problem reported by Yoann Vandoorselaere, with part of
the fix suggested by Derek Price.
2005-09-25 04:18:39 +00:00
Paul Eggert
545dd954d9
* Makefile.am (libcoreutils_a_SOURCES): Remove mbchar.c.
2005-09-24 23:14:21 +00:00