Jim Meyering
a40376f4c5
.
2005-09-23 20:14:20 +00:00
Jim Meyering
886979b6fc
*** empty log message ***
2005-09-23 20:14:01 +00:00
Jim Meyering
d3e8a40be3
Use `verify' to ensure that our hard-coded
...
bytes_to_*_digits arrays are long enough. Of course, 17+-byte
integral types aren't on the near horizon, but just in case...
(MAX_INTEGRAL_TYPE_SIZE): Move definition to precede new first use.
(bytes_to_oct_digits, bytes_to_signed_dec_digits):
(bytes_to_unsigned_dec_digits, bytes_to_hex_digits): Change base
type from `char' to the clearer `unsigned int'.
2005-09-23 20:13:49 +00:00
Jim Meyering
b726021672
*** empty log message ***
2005-09-23 20:00:19 +00:00
Jim Meyering
4b17e15531
(gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
...
now that it's no longer required by getaddrinfo.m4.
2005-09-23 19:59:07 +00:00
Paul Eggert
a169837d87
not needed, since socklen is a prerequisite module.
2005-09-23 19:40:04 +00:00
Paul Eggert
b9830cafa1
* lib/utimens.c (futimens): Use futimesat if available.
...
Prefer it to futimes since it doesn't have the futimes bug.
* m4/utimens.m4 (gl_UTIMENS): Check for futimesat.
2005-09-23 19:18:27 +00:00
Paul Eggert
d6ed244c5a
Fix typo in comment.
2005-09-23 17:52:22 +00:00
Paul Eggert
ef999bc74a
(GL_CONCAT0, GL_CONCAT): Remove.
...
(verify): Don't use the __LINE__ trick, as it doesn't work in general.
Instead, declare a function that returns a pointer to an array,
and use verify_type__ to declare the size of the array.
Problem and germ of a solution reported by Bruno Haible.
2005-09-23 17:47:15 +00:00
Jim Meyering
6137da3427
*** empty log message ***
2005-09-23 14:50:22 +00:00
Jim Meyering
185069538b
*** empty log message ***
2005-09-23 14:48:21 +00:00
Jim Meyering
434de88614
from gnulib
2005-09-23 14:48:14 +00:00
Jim Meyering
ee0d6b604c
(gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
2005-09-23 14:47:58 +00:00
Jim Meyering
a6821efce3
*** empty log message ***
2005-09-23 12:44:07 +00:00
Jim Meyering
81d380e377
Include <config.h>. Otherwise builds with strict
...
C89 (e.g., Sun's /opt/SUNWspro/bin/c89) would fail due to the use
of `inline'.
2005-09-23 12:42:45 +00:00
Paul Eggert
769a736867
(gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
2005-09-23 05:13:15 +00:00
Paul Eggert
9fd31b8beb
* lib/getaddrinfo.c [HAVE_NETINET_IN_H]: Include <netinet/in.h>.
...
Problem reported by Eric Blake.
(getaddrinfo): Initialize se so that it's not garbage.
Redo internal storage allocation so that it doesn't make unportable
assumptions about alignment.
Fix a memory leak.
2005-09-23 05:12:50 +00:00
Jim Meyering
fc6f1f7f9c
.
2005-09-22 09:47:36 +00:00
Jim Meyering
3117f633cc
*** empty log message ***
2005-09-22 07:10:17 +00:00
Paul Eggert
9bbbf30543
Regenerate.
2005-09-22 07:07:36 +00:00
Paul Eggert
ca9acc01a6
Sync from gnulib.
2005-09-22 07:06:16 +00:00
Paul Eggert
211a8d5cb0
Include canon-host.h rather than declaring canon_host ourselves.
2005-09-22 07:01:24 +00:00
Paul Eggert
144c6536d0
Include canon-host.h rather than declaring
...
canon_host ourselves.
2005-09-22 07:01:07 +00:00
Paul Eggert
3779124b3f
Include strcase.h.
2005-09-22 07:00:49 +00:00
Paul Eggert
b58dc08a58
(gl_PREREQ): Require gl_FUNC_GETLINE rather than
...
AM_FUNC_GETLINE. Require gl_FUNC_GETPASS_GNU rather than
gl_FUNC_GETPASS. Require gl_MBCHAR and gl_MBITER.
2005-09-22 07:00:24 +00:00
Paul Eggert
e5801001a3
no longer needed.
...
(gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
sys/timeb.h, unistd.h. No longer needed.
2005-09-22 06:59:55 +00:00
Paul Eggert
5a02b1d907
(_gl_DECL_HEADERS): Don't bother checking for
...
standard C headers, or for headers we no longer use.
2005-09-22 06:59:24 +00:00
Paul Eggert
cab86383b8
(libcoreutils_a_SOURCES): Add getaddrinfo.h,
...
mbchar.c, mbchar.h, mbuiter.h, strcase.h, strlen1.c, strnlen1.h,
strstr.h.
2005-09-22 06:58:56 +00:00
Paul Eggert
b52d569ca1
(EEXIST, ENOTEMPTY): Remove unused macros.
2005-09-22 06:56:21 +00:00
Paul Eggert
eba2793d11
Nontrivial sync from gnulib.
2005-09-22 06:44:26 +00:00
Paul Eggert
da6ced8651
Add getline.h, getpass.c
2005-09-22 06:43:48 +00:00
Paul Eggert
75b92233d8
(GL_CONCAT): Remove.
...
Include "verify.h" instead.
(ARGMATCH_CONSTRAINT, ARGMATCH_ASSERT): Remove.
(ARGMATCH_VERIFY): Rewrite in terms of new verify macros.
2005-09-22 06:39:14 +00:00
Paul Eggert
99eda9943e
(X2NREALLOC, X2REALLOC): Moved here from
...
../lib/xalloc.h, with args properly parenthesized, and using
verify_expr rather than the old VERIFY_EXPR.
2005-09-22 06:33:40 +00:00
Paul Eggert
fe4ed6c408
(VERIFY_EXPR, X2NREALLOC, X2REALLOC): Remove.
...
The latter two macros are moving to ../src/system.h for now.
This reverts this file to the gnulib version.
2005-09-22 06:32:52 +00:00
Paul Eggert
8cec6716df
Remove; no longer used.
2005-09-22 06:26:54 +00:00
Paul Eggert
3833e2bc34
New file, from gnulib.
2005-09-22 06:22:44 +00:00
Paul Eggert
0ed6bb9a65
Add getaddrinfo.h, getdelim.h, mbchar.h,
...
mbuiter.h, strcase.h, strnlen.h, strnlen1.h.
2005-09-22 06:22:31 +00:00
Paul Eggert
2d0c5eefd0
Sync from gnulib.
2005-09-22 06:05:39 +00:00
Paul Eggert
5a43b499b1
Sort.
2005-09-22 05:47:40 +00:00
Paul Eggert
0adb008b03
(ENOSYS): Define to EEXIST if not defined.
...
(make_dir_parents): Treat ENOSYS like EEXIST.
2005-09-22 05:42:26 +00:00
Jim Meyering
08c07f2a1c
.
2005-09-21 17:07:09 +00:00
Jim Meyering
3ed1ba12da
.
2005-09-21 16:43:17 +00:00
Jim Meyering
cfda132680
*** empty log message ***
2005-09-21 14:05:50 +00:00
Jim Meyering
a559a19405
Require that this test be run as non-root.
...
Otherwise, it fails due to the fact that the chmod 0 . doesn't
affect root.
2005-09-21 14:05:45 +00:00
Jim Meyering
7ac0294e28
*** empty log message ***
2005-09-20 17:48:07 +00:00
Jim Meyering
d6b83b2f9b
(write_protected_non_symlink): Change comment to agree with the code.
2005-09-20 17:48:02 +00:00
Jim Meyering
b0ecfaf324
*** empty log message ***
2005-09-20 13:51:20 +00:00
Jim Meyering
5205b73810
(fdopendir): Be sure to close the supplied
...
file descriptor before returning. This makes our replacement
implementation a little closer to Solaris's, where fdopendir
ties the file descriptor to the returned DIR* pointer.
2005-09-20 13:51:01 +00:00
Jim Meyering
3fcdbfdfda
tweak
2005-09-20 13:24:29 +00:00
Jim Meyering
ea66df2090
*** empty log message ***
2005-09-19 15:45:09 +00:00