|
08ebdda2
|
2001-09-26T08:22:37
|
|
.
|
|
e80d86df
|
2001-09-26T08:21:55
|
|
*** empty log message ***
|
|
fa31d2ea
|
2001-09-26T08:21:06
|
|
remove now-unused tmp/trap junk
|
|
e513784d
|
2001-09-26T08:20:38
|
|
exit from only one place: the end
|
|
6e7a0d20
|
2001-09-26T08:19:17
|
|
portability tweaks
|
|
008ec691
|
2001-09-26T08:13:41
|
|
*** empty log message ***
|
|
620f086b
|
2001-09-26T08:13:27
|
|
(unlocked-io.h): Use $(SHELL).
|
|
8cafa45d
|
2001-09-26T08:11:20
|
|
.
|
|
1235321a
|
2001-09-26T08:11:01
|
|
(unlocked-io.h): Rewrite to use a separate script,
rather than trying to embed it here.
(EXTRA_DIST): Add gen-uio. Remove unlocked-io.hin
|
|
981421da
|
2001-09-26T07:55:04
|
|
.
|
|
cecb4d0d
|
2001-09-25T13:01:36
|
|
*** empty log message ***
|
|
1742cb03
|
2001-09-25T13:01:22
|
|
(rpl_gettimeofday): Declare local variable `result'.
|
|
1b6b2391
|
2001-09-23T15:47:00
|
|
.
|
|
6e33472e
|
2001-09-23T08:56:27
|
|
*** empty log message ***
|
|
55b81b99
|
2001-09-23T08:56:11
|
|
Remove useless parentheses in #if directives.
(MOUNTED) [!defined MOUNTED]: Define to _PATH_MOUNTED, for when
the deprecated MOUNTED symbol is no longer defined in mntent.h.
|
|
05dc6161
|
2001-09-22T16:39:57
|
|
.
|
|
bedff134
|
2001-09-22T15:08:51
|
|
*** empty log message ***
|
|
f19d1b01
|
2001-09-22T15:08:35
|
|
Update from latest gettext.
|
|
488cf84c
|
2001-09-22T13:27:04
|
|
.
|
|
7d1393d7
|
2001-09-22T13:18:57
|
|
.
|
|
94e77b06
|
2001-09-20T14:46:55
|
|
(strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).
|
|
f8b52ce5
|
2001-09-17T10:24:27
|
|
*** empty log message ***
|
|
f9c1fe22
|
2001-09-17T10:24:20
|
|
(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.
|
|
0383efbc
|
2001-09-16T12:43:33
|
|
.
|
|
e27f0f10
|
2001-09-16T12:42:14
|
|
*** empty log message ***
|
|
1f36f4fa
|
2001-09-04T20:28:35
|
|
*** empty log message ***
|
|
c824c60f
|
2001-09-04T20:28:31
|
|
Revert some of the previous change; intead,
fix the HAVE_GETCWD_NULL code to behave more like the
!HAVE_GETCWD_NULL code used to.
Include "xalloc.h".
(xgetcwd): Do not return NULL when memory is exhausted; instead,
invoke xalloc_die.
|
|
2e5208a4
|
2001-09-04T20:22:47
|
|
.
|
|
be403985
|
2001-09-04T20:21:54
|
|
(xreadlink): Update prototype.
|
|
b6f4a765
|
2001-09-04T20:20:16
|
|
(xreadlink): Omit size_t* arg. All uses changed.
Use ssize_t, not int, to store result of readlink.
Check for ssize_t overflow as well as size_t overflow,
as POSIX says the result of readlink is implementation-defined
when ssize_t overflows.
Remove unnecessary cast to char*.
Use free+malloc instead of realloc, as the storage doesn't need
to be preserved and it's clearer and can be more efficient that way.
(SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.
|
|
0c306dfb
|
2001-09-03T18:46:09
|
|
*** empty log message ***
|
|
a601ff2f
|
2001-09-03T18:45:20
|
|
(fnmatch_no_wildcards): Fix confusion between
usage of FNM_CASEFOLD and FNM_LEADING_DIR. The bug was
spotted by Jim Meyering.
|
|
77991e77
|
2001-09-03T18:32:05
|
|
include errno.h etc, too
|
|
92ee67ae
|
2001-09-03T18:26:58
|
|
*** empty log message ***
|
|
c34c8a63
|
2001-09-03T18:26:42
|
|
tweak comment
|
|
0bd7218d
|
2001-09-03T18:25:58
|
|
(xreadlink): Preserve errno around `free' during failure.
|
|
8d7314ae
|
2001-09-03T18:24:37
|
|
update comment re power of 2
|
|
e6995fc5
|
2001-09-03T18:21:53
|
|
Fix the !HAVE_GETCWD_NULL code to behave more
like the HAVE_GETCWD_NULL code.
Include pathmax.h if not HAVE_GETCWD.
Do not include xalloc.h.
(INITIAL_BUFFER_SIZE): New symbol.
Do not use xmalloc / xrealloc, since the caller is responsible for
handling errors. Preserve errno around `free' during failure.
Do not overrun buffer when using getwd.
|
|
0809f5f9
|
2001-09-03T07:43:54
|
|
*** empty log message ***
|
|
b1d85350
|
2001-09-03T07:43:44
|
|
(xgetcwd): Use HAVE_GETCWD_NULL, not (defined __GLIBC__ && __GLIBC__ >= 2),
to decide whether to use getcwd (NULL, 0).
|
|
16b1a53a
|
2001-09-02T13:22:33
|
|
*** empty log message ***
|
|
0a3f1560
|
2001-09-02T13:22:25
|
|
Update from GNU libc.
|
|
bc5e45d2
|
2001-09-01T09:53:58
|
|
.
|
|
7d7fb735
|
2001-09-01T09:50:48
|
|
*** empty log message ***
|
|
c518eb1e
|
2001-09-01T09:50:21
|
|
(libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.
|
|
99a90d56
|
2001-09-01T07:43:13
|
|
.
|
|
ad06081b
|
2001-09-01T07:40:02
|
|
*** empty log message ***
|
|
910664bf
|
2001-09-01T07:39:56
|
|
(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.
|
|
bbe5bbde
|
2001-09-01T07:29:08
|
|
*** empty log message ***
|
|
02e3bf2a
|
2001-09-01T07:28:51
|
|
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.
|
|
dec57211
|
2001-09-01T06:13:08
|
|
fix typo
|
|
3a318239
|
2001-08-31T11:41:46
|
|
*** empty log message ***
|
|
904dc8bf
|
2001-08-31T11:39:16
|
|
(xgetcwd): Reorganize to avoid some duplication.
Use an initial, malloc'd, buffer of length 128 rather than
a statically allocated one of length 1024.
|
|
d408a75e
|
2001-08-31T10:36:23
|
|
*** empty log message ***
|
|
f16f973a
|
2001-08-31T10:36:12
|
|
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.
|
|
bcba7179
|
2001-08-31T09:39:22
|
|
*** empty log message ***
|
|
6281e7fd
|
2001-08-31T09:39:10
|
|
Include strtoimax.c, not strtouxmax.c.
|
|
9a3aebb7
|
2001-08-31T09:37:58
|
|
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.
|
|
2fb2160c
|
2001-08-31T09:30:02
|
|
.
|
|
4eea6d70
|
2001-08-31T09:29:44
|
|
(libfetish_a_SOURCES): Remove strtoxmax.c.
|
|
21d2d10d
|
2001-08-31T09:09:53
|
|
(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.
|
|
021b941c
|
2001-08-31T09:09:35
|
|
Update prototype.
|
|
b89886c6
|
2001-08-31T08:18:06
|
|
*** empty log message ***
|
|
2fb2cf55
|
2001-08-31T08:17:45
|
|
(strtoimax): New decl.
|
|
665d6196
|
2001-08-31T08:16:12
|
|
*** empty log message ***
|
|
4053cdae
|
2001-08-31T08:15:10
|
|
* lib/xstrtol.h: Add copyright notice.
(_DECLARE_XSTRTOL): Improve quality of diagnostic for
LONGINT_INVALID_SUFFIX_CHAR.
|
|
270a64e6
|
2001-08-31T07:52:28
|
|
*** empty log message ***
|
|
3e3c7925
|
2001-08-31T07:51:13
|
|
BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared.
|
|
182f2329
|
2001-08-31T07:49:54
|
|
*** empty log message ***
|
|
ce64c0b2
|
2001-08-31T07:49:39
|
|
Remove '2001' from copyright notice.
|
|
482b6449
|
2001-08-31T07:35:47
|
|
copyright
|
|
2365267f
|
2001-08-31T07:35:37
|
|
Include full-write.h.
|
|
ed1e0a0e
|
2001-08-31T07:34:41
|
|
*** empty log message ***
|
|
594030c4
|
2001-08-31T07:34:13
|
|
(libfetish_a_SOURCES): Add full-write.h.
|
|
227257cc
|
2001-08-31T07:29:05
|
|
Correct credits, as cccp.c no longer
exists and anyway it was so heavily changed from the old cccp
code as to be unrecognizable. Include full-write.h.
(full_write) Return size_t, with short writes meaning failure.
All callers changed. This fixes a bug with large buffers
on 64-bit hosts.
|
|
3ed8146b
|
2001-08-31T06:35:13
|
|
*** empty log message ***
|
|
88cd9b7a
|
2001-08-31T06:34:06
|
|
(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE,EXCLUDE_WILDCARDS): New macros.
(free_exclude): New decl.
(add_exclude, add_exclude_file): Now takes int options arg.
(excluded_filename): No longer requires options arg, as the options
are determined by add_exclude. Now returns bool, not int.
|
|
42a7a591
|
2001-08-31T06:33:42
|
|
Merge 'exclude' changes from tar 1.13.22.
This fixes one or two unlikely storage allocation overflow bugs,
but doesn't change user-visible behavior otherwise.
(bool): Declare, perhaps by including stdbool.h.
(<sys/types.h>): Include only if HAVE_SYS_TYPES_H.
(<stdlib.h>, <string.h>, <strings.h>, <inttypes.h>, <stdint.h>):
Include if available.
(<xalloc.h>): Include
(SIZE_MAX): Define if <stdint.h> or <inttypes.h> doesn't.
(verify): New macro. Use it to verify that EXCLUDE macros do not
collide with FNM macros.
(struct patopts): New struct.
(struct exclude): Use it, as exclude patterns now come with options.
(new_exclude): Support above changes.
(new_exclude, add_exclude_file):
Initial size must now be a power of two to simplify overflow checking.
(free_exclude, fnmatch_no_wildcards): New function.
(excluded_filename): No longer requires options arg, as the options
are determined by add_exclude. Now returns bool, not int.
(excluded_filename, add_exclude):
Add support for the fancy new exclusion options.
(add_exclude, add_exclude_file): Now takes int options arg.
Check for arithmetic overflow when computing sizes.
(add_exclude_file): xrealloc might modify errno, so don't
realloc until after errno might be used.
|
|
d38495fd
|
2001-08-30T19:19:10
|
|
*** empty log message ***
|
|
19d56db8
|
2001-08-30T19:19:02
|
|
(alloca): Arg is of type size_t, not unsigned.
|
|
2dbd8cb6
|
2001-08-27T21:25:15
|
|
#define STRTOUXMAX_UNSIGNED
|
|
82d003f7
|
2001-08-27T21:24:59
|
|
whoops. Don't define anything here. imax is the default
|
|
5ab38554
|
2001-08-27T08:55:04
|
|
.
|
|
af3fdad9
|
2001-08-27T08:54:19
|
|
remove xstrtoxmax.c
|
|
216433e4
|
2001-08-27T08:52:46
|
|
*** empty log message ***
|
|
5748a040
|
2001-08-27T08:52:40
|
|
(libfetish_a_SOURCES): Add strtoxmax.c
|
|
b9b009fa
|
2001-08-27T08:50:19
|
|
Actually remove the definition of N_.
|
|
69fd6485
|
2001-08-27T08:50:04
|
|
(N_): Remove definition.
Revert most of last change.
Instead, simply don't mark the `Copyright...' string for translation.
Based on advice from Paul Eggert.
|
|
2633133b
|
2001-08-27T08:46:16
|
|
*** empty log message ***
|
|
1c52b0ee
|
2001-08-27T08:46:08
|
|
Tweak comment.
|
|
d7caae67
|
2001-08-27T08:44:27
|
|
include strtoxmax.c
|
|
c344dfdc
|
2001-08-27T08:43:54
|
|
renamed to strtoxmax.c
|
|
62781d5d
|
2001-08-27T08:31:30
|
|
renamed from strtouxmax.c
|
|
20c8c9cf
|
2001-08-26T18:26:01
|
|
(version_etc_copyright_fmt): Replace literal year
of copyright with `%s' so translators don't get an untranslated message in 2002.
(COPYRIGHT_YEAR): Define.
(version_etc): Use fprintf rather than fputs.
|
|
3476f92c
|
2001-08-26T10:43:00
|
|
.
|
|
f7bbcd31
|
2001-08-26T10:42:50
|
|
Add xstrtoimax.
|
|
218ec0b7
|
2001-08-26T10:41:57
|
|
*** empty log message ***
|
|
529aec85
|
2001-08-26T10:41:52
|
|
(libfetish_a_SOURCES): Add xstrtoimax.c.
|
|
ab313e19
|
2001-08-26T07:28:44
|
|
*** empty log message ***
|
|
1971b369
|
2001-08-26T07:28:06
|
|
New file, from GNU libc.
|