summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-08-02(EXT): Use size_t for sizes, not ptrdiff_t, so that we don't havePaul Eggert
to worry about wraparound.
2004-08-02fnmatch_loop.c (EXT, FCT): Use bool when appropriate.Paul Eggert
(FCT): Use size_t, not unsigned int, for sizes. (EXT): Use ptrdiff_t, not int, for a variable that has to store a size-related quantity but might go negative. ptrdiff_t is good enough here, since in practice the value can't exceed SIZE_MAX/2.
2004-08-02Include <stdbool.h>.Paul Eggert
(errno): Remove decl; we now assume C89 or better.
2004-08-02(strip_trailing_slashes): Now returns bool.Paul Eggert
2004-08-02(dir_name): Use bool when appropriate.Paul Eggert
2004-08-02Include <stdbool.h>.Paul Eggert
(strip_trailing_slashes): Now returns bool.
2004-08-02(argmatch, __xargmatch_internal, argmatch_invalid):Paul Eggert
Use ptrdiff_t, not int, when counting arguments, to allow more than INT_MAX arguments. Use bool when appropriate.
2004-08-02(argmatch, __xargmatch_internal, argmatch_invalid):Paul Eggert
Use ptrdiff_t, not int, when counting arguments, to allow more than INT_MAX arguments.
2004-08-02Install safe-read fix for blocksizes greater than 2**31.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
(safe_rw): Don't work around Tru64 bug unless the bug symptoms manifest themselves. This allows us to do proper reads and writes on other hosts, e.g., "dd" with a block size greater than 2**31.
2004-08-02Regenerate.Paul Eggert
2004-08-02Regenerate.Paul Eggert
2004-08-02Initial revisionPaul Eggert
2004-08-02uintptr_t and uint32_t port to Solaris 8.Paul Eggert
2004-08-02(ptr_align): Use size_t; in practice, this is just asPaul Eggert
good as uintptr_t in checking for alignments, and has fewer configuration hassles.
2004-08-02(UINT_MAX_32_BITS): Remove.Paul Eggert
(word32): Remove. All uses changed to uint32_t. (isaac_seed_data): Remove unnecessary cast.
2004-08-02(hash_int) [!defined UINTPTR_MAX]: Use size_t instead of uintptr_t.Paul Eggert
2004-08-02Initial revision.Paul Eggert
2004-08-02(gl_MD5): Require gl_AC_TYPE_UINT32_T.Paul Eggert
2004-08-02(gl_CHECK_ALL_TYPES):Paul Eggert
Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE on uintptr_t. Require gl_AC_TYPE_UINT32_T.
2004-08-02(UNALIGNED_P): Use size_t; in practice, this is just asPaul Eggert
good as uintptr_t in checking for alignments, and has fewer configuration hassles.
2004-08-02Don't include inttypes.h or stdint.h.Paul Eggert
(UNALIGNED_P): Remove. (__memrchr): Use size_t, not uintptr_t, to test alignment.
2004-08-02Don't include inttypes.h or stdint.h.Paul Eggert
(UNALIGNED_P): Remove. (__memchr): Use size_t, not uintptr_t, to test alignment.
2004-08-02Don't include <limits.h>. Include <inttypes.h> if available,Paul Eggert
as it defines symbols like UINT32_MAX on Solaris 8. (md5_uint32): Assume uint32_t exists; Autoconf will define it otherwise (if the host has a 32-bit unsigned type, anyway).
2004-08-02(UNALIGNED_P): Use size_t; in practice, this is just asPaul Eggert
good as uintptr_t in checking for alignments, and has fewer configuration hassles.
2004-08-01Fix typo: down -> done.Paul Eggert
2004-08-01* src/Makefile.am (localedir.h): Make it readonly.Paul Eggert
2004-08-01(localedir.h): Make it readonly; thisPaul Eggert
undoes part of the 2004-07-27 patch.
2004-07-30Improve comment for first_same_file.Paul Eggert
2004-07-30sort, system.h, tr int cleanupPaul Eggert
2004-07-30(to_uchar): Remove; now in system.h.Paul Eggert
(is_char_class_member): Use bool when appropriate.
2004-07-30(errno, CHAR_BIT): Remove decls;Paul Eggert
no longer needed now we assume C89 or better. Include <inttypes.h> before <stdint.h>, as it's the Autoconf-recommended pattern. (to_uchar): New inline function, moved here from tr.c. Use full names for int types, e.g. "long int" rather than "long".
2004-07-30(UCHAR): Remove; all uses changed to to_uchar.Paul Eggert
(IS_THOUSANDS_SEP): Use bool when appropriate. (numcompare, main): Use char, not int, when the value is always a char. (numcompare): Remove "register"; compilers are smart enough these days.
2004-07-30makepath int cleanupPaul Eggert
2004-07-30mkdir.c int cleanup.Paul Eggert
2004-07-30(create_parents, main): Use bool when appropriate.Paul Eggert
(main): Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
2004-07-30(make_path, make_dir): Use bool, not int, since we're not setting errno.Paul Eggert
Use mode_t for modes, not int. All uses changed. (errno): Remove decl; no longer needed since we assume C89.
2004-07-30Include <stdbool.h>.Paul Eggert
(make_path, make_dir): Use bool, not int, since we're not setting errno. Use mode_t for modes, not int. All uses changed.
2004-07-30modechange.c now uses bool.Paul Eggert
2004-07-30int cleanups for chmod, rm, cp, install, mkfifo.Paul Eggert
2004-07-30(main): Use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1.Paul Eggert
2004-07-30(right_justify), full_filename_, AD_pop_and_chdir,Paul Eggert
AD_push, prompt, remove_dir): Use bool when appropriate. (top_dir, pop_dir, full_filename_): Use size_t for sizes.
2004-07-30(rm_option_init, main): Use bool when appropriate.Paul Eggert
(main): Use EXIT_SUCCESS, EXIT_FAILURE instead of 0, 1.
2004-07-30(remove_trailing_slashes, rm_option_init,Paul Eggert
cp_option_init, do_move, movefile, main): Likewise. * src/remove.c (right_justify), full_filename_, AD_pop_and_chdir, AD_push, prompt, remove_dir): Likewise.
2004-07-30(isdir, change_timestamps, change_attributes,Paul Eggert
copy_file, install_file_to_path, install_file_in_dir, install_file_in_file, strip_files, dir_arg, cp_option_init, main, change_attributes, change_timestamps): Likewise.
2004-07-30(struct dir_attr, flag_path, remove_trailing_slashes,Paul Eggert
re_protect, make_path_private, target_directory_operand, do_copy, cp_option_init, decode_preserve_arg, main): Use bool when appropriate. (target_directory_operand): Do not clear *NEW_DST if stat succeeds. It's not necessary in that case, as *NEW_DST is always false already. (do_copy): Rewrite slightly to avoid need for "unreachable" comment. (main): Use EXIT_SUCCESS, EXIT_FAILURE instead of 0, 1.
2004-07-30(remember_created): Use bool when appropriate.Paul Eggert
2004-07-30(remember_created): Use bool when appropriate.Paul Eggert
2004-07-30(copy_internal, is_ancestor, copy_dir, copy_reg,Paul Eggert
same_file_ok, seen_file, copy_internal, valid_options, copy): Use bool when appropriate.
2004-07-30(struct cp_options): Use bool when appropriate.Paul Eggert