Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 701b698712 *** empty log message *** 2001-09-02 14:20:39 +00:00
Jim Meyering 2a36dfaa48 *** empty log message *** 2001-09-02 14:14:01 +00:00
Jim Meyering 7d70c84f7d *** empty log message *** 2001-09-02 14:13:07 +00:00
Jim Meyering cd8327ce2d *** empty log message *** 2001-09-02 13:22:33 +00:00
Jim Meyering 79a41c2f8b Update from GNU libc. 2001-09-02 13:22:25 +00:00
Jim Meyering 60d1eabd0c *** empty log message *** 2001-09-01 16:24:32 +00:00
Jim Meyering be53392f0a (show_point): Use canonicalize_file_name, if possible.
[HAVE_RESOLVEPATH], [!HAVE_RESOLVEPATH]: Use malloc, not alloca,
so that these two paths also produce `resolved' in malloc'd storage.
Free that memory when done with it.
2001-09-01 16:24:19 +00:00
Jim Meyering d9025b763b *** empty log message *** 2001-09-01 16:13:09 +00:00
Jim Meyering fadaa762b5 (jm_MACROS): Check for canonicalize_file_name. 2001-09-01 16:12:45 +00:00
Jim Meyering 5c46e766b0 (get_link_name): Restore error-handling that was removed by preceding delta. 2001-09-01 13:26:41 +00:00
Jim Meyering 678bbca816 *** empty log message *** 2001-09-01 10:02:07 +00:00
Jim Meyering fa207c2942 Include "xreadlink.h".
(get_link_name): Don't use PATH_MAX.
Rewrite to use xreadlink.
2001-09-01 09:58:04 +00:00
Jim Meyering 9e2ed8d97a . 2001-09-01 09:53:58 +00:00
Jim Meyering 4c419b468b *** empty log message *** 2001-09-01 09:53:48 +00:00
Jim Meyering 31555f918c *** empty log message *** 2001-09-01 09:50:48 +00:00
Jim Meyering 1d9ccbf010 (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h. 2001-09-01 09:50:21 +00:00
Jim Meyering 1db0824586 . 2001-09-01 07:43:13 +00:00
Jim Meyering 4d9bd13285 *** empty log message *** 2001-09-01 07:40:02 +00:00
Jim Meyering 6fd75407f4 (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it
doesn't conflict with sparc-sun-solaris2.7's definition in
/usr/include/sys/int_types.h.
2001-09-01 07:39:56 +00:00
Jim Meyering 1d07c58db8 *** empty log message *** 2001-09-01 07:29:08 +00:00
Jim Meyering 847d1c0da7 Use ""', not <>' to #include non-system header files.
(fnmatch_no_wildcards): Rewrite not to use function names, strcasecmp
and strncasecmp as r-values.  Unixware didn't have declarations.
2001-09-01 07:28:51 +00:00
Jim Meyering 414d5f13be fix typo 2001-09-01 06:13:08 +00:00
Jim Meyering 985cae59cb *** empty log message *** 2001-08-31 11:41:46 +00:00
Jim Meyering 72ee797c44 (xgetcwd): Reorganize to avoid some duplication.
Use an initial, malloc'd, buffer of length 128 rather than
a statically allocated one of length 1024.
2001-08-31 11:39:16 +00:00
Jim Meyering 73caa61683 *** empty log message *** 2001-08-31 10:36:23 +00:00
Jim Meyering ee65e66c6c Don't include pathmax.h.
Include stdlib.h and unistd.h if available.
Include xalloc.h.
(xmalloc, xstrdup, free): Remove decls.
(xgetcwd): Don't assume sizes fit in unsigned.
Check for overflow when computing sizes.
Simplify reallocation code.
2001-08-31 10:36:12 +00:00
Jim Meyering 48f3734b37 *** empty log message *** 2001-08-31 10:22:11 +00:00
Jim Meyering df08b15a80 (jm_MACROS):Don't require jm_AC_HEADER_INTTYPES_H. 2001-08-31 10:21:56 +00:00
Jim Meyering 8d10649023 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
Update comment.
2001-08-31 10:20:17 +00:00
Jim Meyering c346a4e4cf (jm_AC_PREREQ_XSTRTOUMAX):
Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
since they are needed to parse the include file even if we need
only xstrtoumax.  Simplify logic behind the args to AC_REPLACE.
2001-08-31 10:18:21 +00:00
Jim Meyering 9b27320468 (jm_AC_PREREQ_XSTRTOIMAX):
Quote first arg of AC_DEFUN.
Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
since they are needed to parse the include file even if we need
only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
2001-08-31 10:14:52 +00:00
Jim Meyering d25d599163 (AC_PREREQ): Bump to 2.52.
(jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
All uses removed.
(jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
Move AC_REQUIRE to next-to-top level, to avoid confusion.
Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
2001-08-31 10:12:12 +00:00
Jim Meyering 5dc16bf67a Remove, as it duplicates inttypes.m4. 2001-08-31 10:05:52 +00:00
Jim Meyering dea4390e10 . 2001-08-31 10:04:15 +00:00
Jim Meyering d77adba2d7 *** empty log message *** 2001-08-31 09:55:52 +00:00
Jim Meyering b6c2910a61 (bool): Remove typedef, now that it's in system.h.
(TRUE): Define to `true', not 1.
(FALSE): Define to `false', not 0.
2001-08-31 09:55:26 +00:00
Jim Meyering 023c594b9b *** empty log message *** 2001-08-31 09:45:04 +00:00
Jim Meyering d50c8903f9 *** empty log message *** 2001-08-31 09:39:22 +00:00
Jim Meyering b51a19058f Include strtoimax.c, not strtouxmax.c. 2001-08-31 09:39:10 +00:00
Jim Meyering c1845ef979 Renamed from strtoxmax.c, removing the old strtoimax.c.
Also, make the following further changes to make this file's
configuration more similar to that of strtol.c:
(UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED.  All uses changed.
(strtoumax, uintmax_t, strtoull, strtol): Remove.
(intmax_t, strtoimax, strtol, strtoll): New macros, if UNSIGNED.
(strtoimax): Renamed from strtoumax.  All uses of unsigned values
changed to signed values.

And make the following changes as well:
Fix copyright notice, as 1999 was missing.
(verify): New macro.
(strtoimax): Check sizes at compile-time, not run-time.
Prefer strtol to strtoll if both work.
(main): Remove; it was not that useful and was a pain to maintain.
2001-08-31 09:37:58 +00:00
Jim Meyering ed3076c1e3 . 2001-08-31 09:30:02 +00:00
Jim Meyering 436ab156b1 (libfetish_a_SOURCES): Remove strtoxmax.c. 2001-08-31 09:29:44 +00:00
Jim Meyering ca9bd98b2a (copy_dir): Remove st_size argument. 2001-08-31 09:19:40 +00:00
Jim Meyering b20df0057f (count_entry): Remove st_size argument. 2001-08-31 09:18:13 +00:00
Jim Meyering d7c291117c (change_dir_mode): Remove statp arg; no longer needed. 2001-08-31 09:16:54 +00:00
Jim Meyering 56478b94ae (change_dir_owner): Remove statp arg; no longer needed. 2001-08-31 09:15:59 +00:00
Jim Meyering 3b7a24cc92 Do not include savedir.h; not used. 2001-08-31 09:11:04 +00:00
Jim Meyering 2c63fed0e8 (savedir): Remove size parameter, as POSIX says that
a directory's st_size can have an arbitrary value, so the old
usage could waste an arbitrary amount of memory.  All uses
changed.
2001-08-31 09:09:53 +00:00
Jim Meyering fab23e172d Update prototype. 2001-08-31 09:09:35 +00:00
Jim Meyering 45f197087d *** empty log message *** 2001-08-31 08:18:06 +00:00