summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
1999-04-26(utime_null): Don't pass 0666 to open; it's not needed and isn'tJim Meyering
guaranteed to be portable.
1999-04-26(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.Jim Meyering
Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits.
1999-04-26(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):Jim Meyering
Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits. modechange.h now includes sys/types.h. Include xstrtol.h. (isodigit, oatoi): Remove. (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined. (CHMOD_MODE_BITS): New macro. (mode_compile): Convert from octal with xstrtoul, not our own routine.
1999-04-26Include <config.h>, <sys/types.h> for mode_t.Jim Meyering
(struct mode_change): Members affected and value are now mode_t instead of unsigned short.
1999-04-26<config.h>, <sys/types.h>: Include for mode_t.Jim Meyering
(mode_string): Now takes mode_t.
1999-04-26(make_path): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits. (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRWXU): Define if not defined.
1999-04-26(setst, ftypelet, mode_string): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits. (S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined. <config.h>, <sys/types.h>: Include for mode_t. (mode_string): Now takes mode_t.
1999-04-25<inttypes.h>: Include it here instead.Jim Meyering
<config.h>: Include it here too.
1999-04-25Don't include inttypes.h here.Jim Meyering
1999-04-22Guard strong_alias and weak_alias with #ifdef _LIBC.Jim Meyering
1999-04-21.Jim Meyering
1999-04-21Remove the temporary strtoumax replacement;Jim Meyering
we now have a true replacement in strtoumax.c. (__strtol): Always define to strtoumax. (<stdlib.h>): No need to include. (PARAMS): Remove. (my_strtoumax): Move this to strtoumax.c, rename it to strtoumax, and simplify.
1999-04-21Update to glibc 2.1.1 version.Jim Meyering
1999-04-21.Jim Meyering
1999-04-21.Jim Meyering
1999-04-21.Jim Meyering
1999-04-20(my_strtoumax): Fix typo in computingJim Meyering
whether overflow occurred. Improve overflow-detection to use only one conditional branch total, rather than 2N+1 conditional branches for an N-digit number.
1999-04-19*** empty log message ***Jim Meyering
1999-04-18Include xstrtol.h, not xstrtoul.h, since xstrtol.h now defines all theJim Meyering
xstrto... functions.
1999-04-18<stdlib.h>: Include if HAVE_STDLIB_H, since bison 1.27 invokes "free".Jim Meyering
(LookupWord, yylex): Don't pass negative char to ctype macros.
1999-04-18(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.Jim Meyering
1999-04-18(libfu_a_SOURCES): Add xstrtoumax.c.Jim Meyering
(noinst_HEADERS): Remove xstrtoul.h.
1999-04-18(__xstrtol, __strtol, __unsigned): Remove macro decls.Jim Meyering
<inttypes.h>: Include if HAVE_INTTYPES_H. (_DECLARE_XSTRTOL): New macro. (xstrtol, xstrtoul, xstrtoumax): Declare all three functions, so that we need only one include file, not three. (_STRTOL_ERROR): Do not undef, as this is no longer needed. Reword overflow message so that it's independent of type.
1999-04-18(__strtol, __strtol_t, __xstrtol):Jim Meyering
New macros to specify the underlying function, its returned type, and our function. Default to values suitable for xstrtol. Include <ctype.h>, since we use its macros. (ULONG_MAX, LONG_MAX, ISBLANK): Remove: no longer needed. (ISSPACE): New macro. (bkm_scale, bkm_scale_by_power, __xstrtol, main): __unsigned long int -> __strtol_t. (__xstrtol): Depend on whether __strtol_t is an unsigned type, not on whether STRING_TO_UNSIGNED is defined. Skip isspace chars, not isblank chars, to match strtol. When returning LONGINT_INVALID_SUFFIX_CHAR, store the value that we computed into *val.
1999-04-18(STRING_TO_UNSIGNED): Remove.Jim Meyering
(__strtol, __strtol_t, __xstrtol): New macros.
1999-04-15.Jim Meyering
1999-04-11(readtoken, readtokens): Protoize.Jim Meyering
1999-04-07(difftm): Protoize.Jim Meyering
1999-04-07.Jim Meyering
1999-04-06Update from master source in libc, removing %f.Jim Meyering
1999-04-04fix commentsJim Meyering
add FIXME
1999-03-30.Jim Meyering
1999-03-30(make_node_op_equals): New function.Jim Meyering
(mode_append_entry): Likewise. (mode_compile): When none of [ugoa] is specified in an `=OP' change mode request, insert a `=0' entry into the linked list so that all bits are cleared first. Use the new functions.
1999-03-30(rmdir): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-30(rename): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-30(mkdir): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-28(get_date): Reuse tm_isdst of first localtimeJim Meyering
call; this is an improvement on a bug fix suggested by martin@dresden.nacamar.de. Do not assume that localtime and gmtime return non-null. From Paul Eggert.
1999-03-28(mode_compile): Upon allocation failure, freeJim Meyering
everything starting with the head, not the tail.
1999-03-26.Jim Meyering
1999-03-26(libfu_a_SOURCES): Add version-etc.c.Jim Meyering
(noinst_HEADERS): Add version-etc.h.
1999-03-26(parse_long_options): Remove version-, copyright-,Jim Meyering
and author-printing code. Do it via version_etc.
1999-03-26*** empty log message ***Jim Meyering
1999-03-17(is_prime): Return bool rather than int.Jim Meyering
1999-03-15tweak commentsJim Meyering
add curlies use assert(0) in place of abort
1999-03-15Revamp to allow fine-tuning to control when and by howJim Meyering
much the table grows and shrinks. (next_prime): Don't assert. (hash_reset_tuning): New function. (check_tuning): New function. (hash_initialize): Accept and use new tuning parameter. (hash_rehash): Rewrite, updating for tuning. (hash_insert): Honor tuning semantics. (hash_delete): Likewise. From François Pinard.
1999-03-15(struct hash_tuning): Define.Jim Meyering
(struct hash_table) [tuning]: Add member. (hash_initialize): Add `tuning' parameter.
1999-03-15(hash_insert): Update prototype.Jim Meyering
1999-03-15(hash_insert): Remove last parameter and change semantics.Jim Meyering
(hash_insert): Don't increment n_entries unconditionally -- otherwise, we'd do so even when the insertion failed. From François Pinard.
1999-03-13*** empty log message ***Jim Meyering
1999-03-13(base_name): If NAME is all slashes, return `/' (inJim Meyering
conformance with the single unix spec). Reported by Peter Moulder.