Paul Eggert
312acd2aad
Fix typo: missing ).
2004-08-11 22:30:23 +00:00
Paul Eggert
22a64d7a4b
minor porting fixes (e.g., obstack)
2004-08-11 22:26:17 +00:00
Paul Eggert
9af4ab33f0
Do not include error.h. (merge from gnulib).
2004-08-11 22:24:25 +00:00
Paul Eggert
fdb9542df7
Include <inttypes.h> and <stdint.h> if available.
...
(union fooround): Use uintmax_t, not long int.
The rest is a merge from libc:
[defined _LIBC]: Include <shlib-compat.h>.
(_obstack) [defined _LIBC]: Remove after 2.3.4.
2004-08-11 22:24:14 +00:00
Paul Eggert
254e577b86
(settime): Recode to avoid warning with Sun Forte C 6U2.
2004-08-11 22:24:04 +00:00
Paul Eggert
c1dac962eb
(O_DIRECTORY): Define to 0 if the system doesn't define.
2004-08-11 22:23:54 +00:00
Paul Eggert
0518fd8571
Fix porting problem to Reliant Unix.
2004-08-11 17:53:50 +00:00
Paul Eggert
f4364ab87c
(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
...
wmemchr or wmemcpy. Problem reported by Robert Dahlem
for Reliant Unix 5.43.
2004-08-11 17:53:34 +00:00
Paul Eggert
faca6bfc15
Convert to UTF-8.
2004-08-10 22:47:08 +00:00
Paul Eggert
145d804068
Regenerate.
2004-08-10 06:54:15 +00:00
Paul Eggert
1b26801391
Sync with gnulib.
2004-08-10 05:43:11 +00:00
Paul Eggert
f305d3a224
Improve code to work in some cases when files are writeable but not readable.
2004-08-09 23:35:15 +00:00
Paul Eggert
e077b28593
(diropen): New function.
...
(fts_open, fts_read, fts_children, fts_safe_changedir):
Use it, so that the code works even if the directory
is writeable but not readable.
2004-08-09 23:34:15 +00:00
Paul Eggert
1ff6d6ea07
(rpl_chown): Work even if the file is writeable but not readable.
2004-08-09 23:33:53 +00:00
Paul Eggert
6d8737eba8
Change to UTF-8.
2004-08-09 23:26:57 +00:00
Paul Eggert
b05866ea03
Import from gnulib.
2004-08-09 23:26:08 +00:00
Paul Eggert
5d204d4e2f
Regenerate.
2004-08-09 18:51:05 +00:00
Paul Eggert
8ad3011df3
Remove dependency of xalloc on error, etc.
2004-08-09 18:44:46 +00:00
Paul Eggert
4573c9e81c
Finish renaming sha -> sha1.
2004-08-09 18:16:21 +00:00
Paul Eggert
a86c457f64
Merge from gnulib.
2004-08-07 07:16:54 +00:00
Paul Eggert
a3538ea055
Regenerate.
2004-08-05 23:11:21 +00:00
Paul Eggert
d86254a25a
Sync from gnulib.
2004-08-05 23:01:03 +00:00
Paul Eggert
4cf9045aa3
Fixes for OpenBSD 3.4.
2004-08-04 22:51:03 +00:00
Paul Eggert
4e3640a010
(SIZE_MAX): Define after including files, to avoid
...
a collision on OpenBSD 3.4.
2004-08-04 22:08:33 +00:00
Paul Eggert
0e591504c8
(LONGEST_MODIFIER): New macro.
...
(PRIuMAX) [!PRI_MACROS_BROKEN && !defined PRIuMAX]: New macro.
(find_matching_ancestor): Use it for dev_t and ino_t.
2004-08-04 21:58:46 +00:00
Paul Eggert
fade486c60
Sync from gnulib.
2004-08-04 20:58:57 +00:00
Paul Eggert
a617eff5dc
Work around bug in OpenBSD 3.4 sterror_r: it
...
sometimes returns a positive errno value even when it succeeds.
(print_errno_message) [!LIBC]: Fall back on strerror if
__strerror_r fails.
2004-08-04 19:35:24 +00:00
Paul Eggert
126d5f9437
Include limits.h, stdbool.h.
...
(CHAR_BIT): Remove.
(timespec_subtract, xnanosleep): Use bool for booleans.
2004-08-02 23:00:15 +00:00
Paul Eggert
3afb4dad99
unsigned -> unsigned int
2004-08-02 22:59:41 +00:00
Paul Eggert
aebe589261
unsigned -> unsigned int
2004-08-02 22:58:22 +00:00
Paul Eggert
e55f95fe97
Include <stdbool.h>.
...
(yesno): Return bool, not int.
2004-08-02 22:57:37 +00:00
Paul Eggert
8e4b7d7fa1
Include yesno.h first.
...
(yesno): Return bool, not int.
2004-08-02 22:57:13 +00:00
Paul Eggert
eb32ddf3c0
(errno): Remove decl; we now assume C89 or better.
...
(__xstrtol): Rewrite to avoid casts.
2004-08-02 22:56:56 +00:00
Paul Eggert
a4e2377f60
Just include xstrtol.h rather than rolling our own include pattern.
2004-08-02 22:55:59 +00:00
Paul Eggert
dc44675984
Just include xstrtol.h rather than rolling our own include pattern.
2004-08-02 22:55:32 +00:00
Paul Eggert
965de5df36
Log today's int-related changes
2004-08-02 22:55:12 +00:00
Paul Eggert
596f9e22e1
(version_etc_va): Use size_t for sizes.
2004-08-02 22:54:36 +00:00
Paul Eggert
325ec4052e
Include <stdbool.h>.
...
(same_name): Return bool, not int.
2004-08-02 22:54:15 +00:00
Paul Eggert
f8a0187525
(errno): Remove decl; we now assume C89 or better.
...
(same_name): Return bool, not int.
2004-08-02 22:53:41 +00:00
Paul Eggert
7fed0a985b
Rewrite to avoid casts.
2004-08-02 22:52:39 +00:00
Paul Eggert
f9bbf56c51
Include stdbool.h.
...
(quotearg_buffer_restyled): Use bool for booleans.
2004-08-02 22:52:17 +00:00
Paul Eggert
cd24faad5f
nanosleep.c (errno): Remove decl; we now assume C89 or better.
...
Include stdbool.h.
(rpl_nanosleep): Usee bool for booleans.
2004-08-02 22:51:56 +00:00
Paul Eggert
24cdab4d1a
Use Autoconf-suggested pattern for inttypes and stdint.
2004-08-02 22:51:09 +00:00
Paul Eggert
58907a1ee9
Update copyright.
2004-08-02 22:50:47 +00:00
Paul Eggert
c04045506d
Use Autoconf-suggested pattern for inttypes and stdint.
2004-08-02 22:50:29 +00:00
Paul Eggert
75d42c8224
Use Autoconf-suggested pattern for inttypes and stdint.
2004-08-02 22:49:58 +00:00
Paul Eggert
d5905bb653
(hash_string): Rewrite to avoid cast.
2004-08-02 22:49:34 +00:00
Paul Eggert
28730b8b36
Include <stdbool.h>.
...
(hard_locale): Return bool, not int.
2004-08-02 22:49:12 +00:00
Paul Eggert
ecb7230885
hard-locale.c (hard_locale): Return bool, not int.
2004-08-02 22:48:49 +00:00
Paul Eggert
21e7da65ea
Include <stdbool.h>.
...
(getloadavg_initialized): Use bool for booleans.
2004-08-02 22:48:05 +00:00