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
Jim Meyering
2fb1f177d9
(strtoimax): New decl.
2001-08-31 08:17:45 +00:00
Jim Meyering
dc1f8d9a16
*** empty log message ***
2001-08-31 08:16:12 +00:00
Jim Meyering
2adb484d90
* lib/xstrtol.h: Add copyright notice.
...
(_DECLARE_XSTRTOL): Improve quality of diagnostic for
LONGINT_INVALID_SUFFIX_CHAR.
2001-08-31 08:15:10 +00:00
Jim Meyering
46abc467c6
*** empty log message ***
2001-08-31 07:52:28 +00:00
Jim Meyering
b1828eec81
BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared.
2001-08-31 07:51:13 +00:00
Jim Meyering
a6ad856b3b
*** empty log message ***
2001-08-31 07:49:54 +00:00
Jim Meyering
8a7b2f0191
Remove '2001' from copyright notice.
2001-08-31 07:49:39 +00:00
Jim Meyering
06392556ec
*** empty log message ***
2001-08-31 07:46:38 +00:00
Jim Meyering
222973731a
Include full-write.h.
...
(full_write): Remove decl; not needed.
2001-08-31 07:46:28 +00:00
Jim Meyering
30cc300814
copyright
2001-08-31 07:45:28 +00:00
Jim Meyering
722e2f0957
Include full-write.h.
...
(full_write): Remove decl; not needed.
(simple_cat, cat): Don't assume read and write size fits in int.
2001-08-31 07:45:12 +00:00
Jim Meyering
4f982cb6f5
*** empty log message ***
2001-08-31 07:42:37 +00:00
Jim Meyering
3f25540d1e
(full_write): Remove decl; not needed.
2001-08-31 07:42:30 +00:00
Jim Meyering
7de89daf4d
*** empty log message ***
2001-08-31 07:37:47 +00:00
Jim Meyering
4337731793
copyright
2001-08-31 07:35:47 +00:00
Jim Meyering
04b726d04d
Include full-write.h.
2001-08-31 07:35:37 +00:00
Jim Meyering
16dc8023ae
*** empty log message ***
2001-08-31 07:34:41 +00:00