lib


Log

Author Commit Date CI Message
Jim Meyering 9a828cef 2001-11-02T07:37:19 put `const' back, now that the .m4 test works
Jim Meyering 263dc6ae 2001-11-01T22:16:43 remove const
Jim Meyering 95a83f76 2001-11-01T22:14:26 whoops
Jim Meyering d353e4ae 2001-11-01T17:58:09 *** empty log message ***
Jim Meyering 3ab2c8bb 2001-11-01T17:57:56 (libfetish_a_SOURCES): Add dirfd.h.
Jim Meyering d509f4ad 2001-11-01T17:57:09 .
Jim Meyering 72e2b7bf 2001-11-01T17:44:43 *** empty log message ***
Jim Meyering 25788a5e 2001-11-01T16:57:18 *** empty log message ***
Jim Meyering 7c6a48b9 2001-11-01T15:55:59 *** empty log message ***
Jim Meyering 623af67c 2001-11-01T15:55:53 (hash_print) [TESTING]: Clean up.
Jim Meyering 76230427 2001-10-22T08:02:38 .
Jim Meyering fd1c784c 2001-10-22T08:01:22 (alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall.
Jim Meyering 40d1b479 2001-10-22T06:56:44 *** empty log message ***
Jim Meyering 08b48527 2001-10-22T06:56:31 (uintptr_t): Remove macro and decl; it's config.h's job.
Jim Meyering 4989c1b9 2001-10-21T15:12:39 whoops! fix comment on first line :-)
Jim Meyering 13def31f 2001-10-21T13:39:20 *** empty log message ***
Jim Meyering 0b709a46 2001-10-21T13:39:12 (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls.
Jim Meyering 32dae2b4 2001-10-21T10:55:36 *** empty log message ***
Jim Meyering 282ed205 2001-10-21T10:55:29 (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls.
Jim Meyering 129e2eb3 2001-10-21T09:01:31 *** empty log message ***
Jim Meyering 5df25d58 2001-10-21T09:01:24 (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls.
Jim Meyering c0429114 2001-10-21T07:59:09 *** empty log message ***
Jim Meyering e5bf94ff 2001-10-21T07:59:04 (strerror_r): Do not declare unless !_LIBC. Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. Use strerror_r that is only a macro, even if it is not a function. (strerror): Check for HAVE_DECL_STRERROR before declaring. (private_strerror): Use prototypes, not old-style function definition. (print_errno_message): New function. Support the POSIX 'int'-flavored strerror_r, as well as the traditional char*-flavored one. (error_tail, error, error_at_line): Use it.
Jim Meyering bef400ac 2001-10-11T15:52:22 *** empty log message ***
Jim Meyering bb880dfe 2001-10-11T15:52:17 (argmatch_invalid): Use quotearg_n_style (0, ... and quote_n (1, ... to avoid clobbering a buffer.
Jim Meyering 305e0c3e 2001-10-05T11:45:36 .
Jim Meyering f7782db7 2001-10-05T11:45:25 (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.
Jim Meyering 7aabcfc8 2001-10-05T11:44:30 *** empty log message ***
Jim Meyering b2b2b3ca 2001-09-30T21:28:26 *** empty log message ***
Jim Meyering dbe1ecde 2001-09-30T21:28:15 [MOUNTED_GETFSSTAT]: Include <sys/ucred.h>, for Apple Darwin. Include sys/mount.h and sys/fs_types.h only if available. (FS_TYPE): Define. (read_filesystem_list): Use FS_TYPE.
Jim Meyering 72fd0d3f 2001-09-30T06:26:57 *** empty log message ***
Jim Meyering fcb712da 2001-09-30T06:26:46 (excluded_filename): 0 -> false, since it's a boolean context.
Jim Meyering 55e76454 2001-09-28T19:35:01 *** empty log message ***
Jim Meyering 0f56340c 2001-09-28T19:34:31 (strtol): Do not declare if HAVE_DECL_STRTOL. (strtoul): Do not declare if HAVE_DECL_STRTOUL. (strtoimax, strtoumax): Do not declare if already defined as a macro.
Jim Meyering fbd852c5 2001-09-26T08:27:49 *** empty log message ***
Jim Meyering d94eb3cb 2001-09-26T08:27:42 (USE_UNLOCKED_IO): Define to 1 if not already defined.
Jim Meyering 08ebdda2 2001-09-26T08:22:37 .
Jim Meyering e80d86df 2001-09-26T08:21:55 *** empty log message ***
Jim Meyering fa31d2ea 2001-09-26T08:21:06 remove now-unused tmp/trap junk
Jim Meyering e513784d 2001-09-26T08:20:38 exit from only one place: the end
Jim Meyering 6e7a0d20 2001-09-26T08:19:17 portability tweaks
Jim Meyering 008ec691 2001-09-26T08:13:41 *** empty log message ***
Jim Meyering 620f086b 2001-09-26T08:13:27 (unlocked-io.h): Use $(SHELL).
Jim Meyering 8cafa45d 2001-09-26T08:11:20 .
Jim Meyering 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
Jim Meyering 981421da 2001-09-26T07:55:04 .
Jim Meyering cecb4d0d 2001-09-25T13:01:36 *** empty log message ***
Jim Meyering 1742cb03 2001-09-25T13:01:22 (rpl_gettimeofday): Declare local variable `result'.
Jim Meyering 1b6b2391 2001-09-23T15:47:00 .
Jim Meyering 6e33472e 2001-09-23T08:56:27 *** empty log message ***
Jim Meyering 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.
Jim Meyering 05dc6161 2001-09-22T16:39:57 .
Jim Meyering bedff134 2001-09-22T15:08:51 *** empty log message ***
Jim Meyering f19d1b01 2001-09-22T15:08:35 Update from latest gettext.
Jim Meyering 488cf84c 2001-09-22T13:27:04 .
Jim Meyering 7d1393d7 2001-09-22T13:18:57 .
Jim Meyering 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).
Jim Meyering f8b52ce5 2001-09-17T10:24:27 *** empty log message ***
Jim Meyering 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.
Jim Meyering 0383efbc 2001-09-16T12:43:33 .
Jim Meyering e27f0f10 2001-09-16T12:42:14 *** empty log message ***
Jim Meyering 1f36f4fa 2001-09-04T20:28:35 *** empty log message ***
Jim Meyering 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.
Jim Meyering 2e5208a4 2001-09-04T20:22:47 .
Jim Meyering be403985 2001-09-04T20:21:54 (xreadlink): Update prototype.
Jim Meyering 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.
Jim Meyering 0c306dfb 2001-09-03T18:46:09 *** empty log message ***
Jim Meyering 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.
Jim Meyering 77991e77 2001-09-03T18:32:05 include errno.h etc, too
Jim Meyering 92ee67ae 2001-09-03T18:26:58 *** empty log message ***
Jim Meyering c34c8a63 2001-09-03T18:26:42 tweak comment
Jim Meyering 0bd7218d 2001-09-03T18:25:58 (xreadlink): Preserve errno around `free' during failure.
Jim Meyering 8d7314ae 2001-09-03T18:24:37 update comment re power of 2
Jim Meyering 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.
Jim Meyering 0809f5f9 2001-09-03T07:43:54 *** empty log message ***
Jim Meyering b1d85350 2001-09-03T07:43:44 (xgetcwd): Use HAVE_GETCWD_NULL, not (defined __GLIBC__ && __GLIBC__ >= 2), to decide whether to use getcwd (NULL, 0).
Jim Meyering 16b1a53a 2001-09-02T13:22:33 *** empty log message ***
Jim Meyering 0a3f1560 2001-09-02T13:22:25 Update from GNU libc.
Jim Meyering bc5e45d2 2001-09-01T09:53:58 .
Jim Meyering 7d7fb735 2001-09-01T09:50:48 *** empty log message ***
Jim Meyering c518eb1e 2001-09-01T09:50:21 (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.
Jim Meyering 99a90d56 2001-09-01T07:43:13 .
Jim Meyering ad06081b 2001-09-01T07:40:02 *** empty log message ***
Jim Meyering 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.
Jim Meyering bbe5bbde 2001-09-01T07:29:08 *** empty log message ***
Jim Meyering 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.
Jim Meyering dec57211 2001-09-01T06:13:08 fix typo
Jim Meyering 3a318239 2001-08-31T11:41:46 *** empty log message ***
Jim Meyering 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.
Jim Meyering d408a75e 2001-08-31T10:36:23 *** empty log message ***
Jim Meyering 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.
Jim Meyering bcba7179 2001-08-31T09:39:22 *** empty log message ***
Jim Meyering 6281e7fd 2001-08-31T09:39:10 Include strtoimax.c, not strtouxmax.c.
Jim Meyering 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.
Jim Meyering 2fb2160c 2001-08-31T09:30:02 .
Jim Meyering 4eea6d70 2001-08-31T09:29:44 (libfetish_a_SOURCES): Remove strtoxmax.c.
Jim Meyering 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.
Jim Meyering 021b941c 2001-08-31T09:09:35 Update prototype.
Jim Meyering b89886c6 2001-08-31T08:18:06 *** empty log message ***
Jim Meyering 2fb2cf55 2001-08-31T08:17:45 (strtoimax): New decl.