summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-02Don't use "path" or "filename" to mean "file name".Paul Eggert
2005-06-02Use "file name" when talking about file names, instead of "filename"Paul Eggert
or "path", as per the GNU coding standards. As part of this, rename makepath.c to mkdir-p.c, and path-concat.c to filenamecat.c, and likewise for the .h files.
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert
in comments or local variable names.
2005-06-02(excluded_file_name): Renamed from excluded_filename.Paul Eggert
All uses changed.
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert
in comments or local variable names. (excluded_file_name): Renamed from excluded_filename. All uses changed.
2005-06-02Use "file name" when talking about file names, instead of "filename"Paul Eggert
or "path", as per the GNU coding standards.
2005-06-02(readlink invocation): "path component" ->Paul Eggert
"component", since we don't use the POSIX "path" nomenclature.
2005-06-02Renamed from path-concat.m4.Paul Eggert
(gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed. Rename files from path-concat.c to filenamecat.c, and from path-concat.h to filenamecat.h.
2005-06-02Renamed from path-concat.c.Paul Eggert
(file_name_concat): Renamed from path_concat. All callers changed. [TEST_FILE_NAME_CONCAT]: Renamed from TEST_PATH_CONCAT.
2005-06-02Renamed from path-concat.h. All includers changed.Paul Eggert
(file_name_concat): Renamed from path_concat. All callers changed.
2005-06-02Renamed from makepath.m4.Paul Eggert
(gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed. Rename files from makepath.c to mkdir-p.c, and from makepath.h to mkdir-p.h.
2005-06-02Renamed from makepath.h. All includers changed.Paul Eggert
(make_dir_parents): Renamed from make_path. All callers changed.
2005-06-02Renamed from makepath.c.Paul Eggert
(make_dir_parents): Renamed from make_path. All callers changed.
2005-05-31*** empty log message ***Jim Meyering
2005-05-31(chown_privileges, chown_failure_ok): Mark as `extern'.Jim Meyering
This is a crutch so that `make distcheck's sc_tight_scope rule knows that they really are deliberately declared that way.
2005-05-31Port to Solaris 10's rules for whether programs can chown files.Paul Eggert
2005-05-31(cp_options_init): Use chown_privileges rather than geteuid.Paul Eggert
2005-05-31(re_protect): Remove unnecessary call to geteuid.Paul Eggert
Use chown_failure_ok rather than our own code. (cp_options_init): Use chown_privileges rather than getuid.
2005-05-31Add copyright notice.Paul Eggert
(struct cp_options): Remove myeuid member. Add chown_privileges member. (chown_privileges, chown_failure_ok): New function decls.
2005-05-31Port to Solaris 10's rules for whether programs can chown files.Paul Eggert
[HAVE_PRIV_H]: Include <priv.h>. (DO_CHOWN): Remove. Replaced by chown_failure_ok. All callers changed. (copy_internal): If chown failed, don't worry about what happened to the mode bits; they can't have changed. (chown_privileges, chown_failure_ok): New functions.
2005-05-31* jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.Paul Eggert
2005-05-31(gl_CHECK_ALL_HEADERS): Check for priv.h.Paul Eggert
2005-05-30.Jim Meyering
2005-05-30Regenerate.Paul Eggert
2005-05-30_POSIX_VERSION cleanupPaul Eggert
2005-05-30Include sys/param.h if it exists, not if _POSIX_VERSIONPaul Eggert
isn't defined. Don't include <sys/file.h>; no longer needed. (getegid, geteuid): Remove no-longer-necessary decls.
2005-05-30Don't bother mentioning _POSIX_VERSION in comment.Paul Eggert
2005-05-30(OPENOPTS, TEXT1T01, TEXTCNVT): Remove.Paul Eggert
(digest_file): Use O_BINARY-using expr instead of OPENOPTS.
2005-05-30(getpwnam, getgrnam): Remove decl.Paul Eggert
(getuid, getgid) [!defined _POSIX_VERSION]: Remove decls.
2005-05-30(getpwuid, getgrgid, getuid, getgid, geteuid, getegid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls.
2005-05-30(geteuid) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(getgrnam, getgrgid) [!defined _POSIX_VERSION]:Paul Eggert
Remove decls.
2005-05-30(getgrnam) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(getpwnam, getgrnam, getgrgid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30Include <limits.h> unconditionally, since otherPaul Eggert
files have been getting away with it for years (MORE/BSD 4.3 is extinct now).
2005-05-30(getpwuid, getpwnam, getgrgid, getgrnam)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30(getuid, getgid, getuid, getegid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:Paul Eggert
Define to 256, not 255, as per modern POSIX.
2005-05-28dd seek=N now conforms to POSIX if the output isn't seekable.Paul Eggert
2005-05-28dd seek=N now conforms to POSIX if the output isn't seekable.Paul Eggert
2005-05-28(skip): Return the number of records that were notPaul Eggert
skipped due to encountering EOF. (dd_copy): If the file wasn't seekable and EOF was encountered, write zeros past EOF until the desired offset is reached.
2005-05-28* fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,Paul Eggert
and don't require gt_INTTYPES_PRI.
2005-05-28(gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,Paul Eggert
and don't require gt_INTTYPES_PRI.
2005-05-28fts.c: Don't worry about debugging on pre-C99-comopatible hosts.Paul Eggert
2005-05-28Don't worry about debugging on pre-C99-comopatible hosts;Paul Eggert
the configuration hassle isn't worth it. Include inttypes.h and stdint.h unconditionally if FTS_DEBUG. (LONGEST_MODIFIER, PRIuMAX): Remove.
2005-05-27expr and test now correctly compare integers of unlimited size.Paul Eggert
2005-05-27Include inttostr.h, strnumcmp.h.Paul Eggert
(whitespace, digit, digit_value, integer_expected_error): Remove. (is_int): Remove; replaced by... (find_int): New function. (binary_operator): Don't let integers overflow in comparisons; return the correct answer instead. Simplify the code. (unary_operator): Convert the integer ourself, since find_int no longer does so.
2005-05-27Refactor so that others can use large-integerPaul Eggert
comparison functions. Include "strnumcmp.h". (NEGATION_SIGN, NUMERIC_ZERO, fraccompare): Remove; moved to strnumcmp. (decimal_point): Now int, to simplify converison overhead with new API. All uses changed. (thousands_sep): Now -1 if there isn't one, as per new API. All uses changed. (numcompare): Move contents to strnumcmp module, except for skipping blanks.
2005-05-27Include strnumcmp.h, xstrtol.h.Paul Eggert
(looks_like_integer): New function. (toarith): Use it. Also, use xstrtoimax rather than rolling our own diagnostics. (eval2): Don't look for trouble if !evaluate; this simplifies things. Compare numbers using string comparison, so that overflow is not possible.
2005-05-27Break integer-in-string comparison code out from src/sort.Paul Eggert