summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-07-12Regenerate.Paul Eggert
2004-07-12printf now uses long double.Paul Eggert
2004-07-12New file.Paul Eggert
2004-07-12(vstrtold): Renamed from vstrtod.Paul Eggert
Now returns long double. All uses changed. (print_direc): Use "L" length modifier when printing floating point numbers, since we're now printing long double.
2004-07-12(gl_PREREQ): Add gl_C_STRTOLD.Paul Eggert
2004-07-12New file.Paul Eggert
2004-07-12(c_strtold): New decl.Paul Eggert
2004-07-12Include <config.h> first.Paul Eggert
(C_STRTOD, DOUBLE, STRTOD): New macros. (c_strtod): Use them.
2004-07-12(libfetish_a_SOURCES): Add c-strtold.c.Paul Eggert
2004-07-08.Jim Meyering
2004-07-08*** empty log message ***Jim Meyering
2004-07-08printf cleanup, to avoid undefined behavior, to add support forJim Meyering
formats that Bash supports, and to support wide integers like Bash does. Add tests for the above.
2004-07-08*** empty log message ***Jim Meyering
2004-07-08printf cleanup, to avoid undefined behavior, to add support forJim Meyering
formats that Bash supports, and to support wide integers like Bash does. (UNSPECIFIED): Remove. All uses now replaced by booleans, so that we don't reserve any values for precision or width (like Bash). (STRTOX): Use prototype, not K&R-style definition. (vstrtoimax): Renamed from xstrtol (to avoid confusion with xstrtol in ../lib), with type change to intmax_t. All uses changed. (vstrtoumax): Renamed from xstrtoul, with type change to uintmax_t. All uses changed. (vstrtod): Renamed from xstrtod. All uses changed. (print_direc): Use boolean arg instead of special value to indicate a missing precision or width. LENGTH no longer includes length modifiers or conversion character. New arg CONVERSION now specifies conversion character. Use intmax_t-width formatting for integers (like Bash). Add support for C99 %a, %A, %F (like Bash). Add support for field width with %c (POSIX requires this). Add a FIXME for lack of support for field width and precision for %b. Add support for '\'', '0' flags. Check for invalid combinations of flags, field width, precision, and conversion, to prevent use of undefined behavior. Allow multiple length modifiers, for formats like "%lld" (like Bash). Add support for C99 'j', 't', 'z' length modifiers (like Bash). In error message, output entire invalid conversion specification, instead of merely outputting % followed by the conversion char.
2004-07-07*** empty log message ***Jim Meyering
2004-07-07Don't infloop when MAXSYMLINKS is not defined.Jim Meyering
Detect symlink loops much earlier (albeit lazily) on systems with MAXSYMLINKS defined to a large value. Include "cycle-check.h". (canonicalize_filename_mode): Don't try to detect loops by counting symlink-hops. Instead, use the cycle-check module.
2004-07-07Include stdbool.h.Jim Meyering
Forward-declare `struct stat'.
2004-07-07*** empty log message ***Jim Meyering
2004-07-07(canonicalize_filename_mode): Remove do-while(0) loop.Jim Meyering
Replace each corresponding `break' stmt with `continue'.
2004-07-06.Jim Meyering
2004-07-06.Jim Meyering
2004-07-06Include "stat-macros.h".Jim Meyering
(canonicalize_filename_mode): Remove #ifdef S_ISLNK, now that S_ISLNK is guaranteed to be defined (via stat-macros.h).
2004-07-06*** empty log message ***Jim Meyering
2004-07-06(libfetish_a_SOURCES): Add canonicalize.c unconditionally.Jim Meyering
2004-07-06(canonicalize_mode_t): New type.Jim Meyering
2004-07-06Include "file-type.h".Jim Meyering
(canonicalize_filename_mode): New function, based on canonicalize_file_name, supports three canonicalize modes. (canonicalize_file_name) [!HAVE_CANONICALIZE_FILE_NAME && !HAVE_RESOLVEPATH]: Use it.
2004-07-06*** empty log message ***Jim Meyering
2004-07-06(AC_FUNC_CANONICALIZE_FILE_NAME): Do not add canonicalize.c here.Jim Meyering
2004-07-06*** empty log message ***Jim Meyering
2004-07-06(readlink invocation): Document newJim Meyering
"readlink -f" behaviour and new canonicalize options, -e and -m.
2004-07-06.Jim Meyering
2004-07-06renamed from ../misc/readlineJim Meyering
2004-07-06.Jim Meyering
2004-07-06From Dmitry V. LevinJim Meyering
2004-07-06(SUBDIRS): Add readlink.Jim Meyering
2004-07-06(AC_CONFIG_FILES): Add tests/readlink/Makefile.Jim Meyering
2004-07-06(TESTS): Remove basic readlink test.Jim Meyering
2004-07-06renamed to ../readlink/rl-1Jim Meyering
2004-07-06Change "readlink -f" to be more compatible with prior implementations.Jim Meyering
Add more canonicalize options, -e and -m. Add comprehensive tests for all readlink modes. (longopts): Add new options. (usage): Document them. (canonicalize_fname): New proxy function. (main): Handle new options.
2004-07-05*** empty log message ***Jim Meyering
2004-07-05(path_concat): Improve comment. From Paul Eggert.Jim Meyering
2004-07-04*** empty log message ***Jim Meyering
2004-07-04(mempcpy): Don't define if a system header defines it.Jim Meyering
Don't include stdio.h, stdlib.h, unistd.h, strdup.h. (longest_relative_suffix): New function. (path_concat): Use it. Assume first argument is not NULL. Port to DOS. Omit redundant separators. Report an error instead of returning NULL. Use mempcpy instead of memcpy. (xpath_concat): Remove: not declared or used.
2004-07-04*** empty log message ***Jim Meyering
2004-07-04(copy_internal): Add a FIXME comment.Jim Meyering
2004-07-04(canonicalize_file_name): Assume that path_concat never returns NULL.Jim Meyering
2004-07-04*** empty log message ***Jim Meyering
2004-07-04(main): Don't pass NULL first argument to path_concat.Jim Meyering
This cleans up the semantics a bit, as we no longer try to open the same file twice.
2004-07-04(movefile): Assume path_concat returns non-NULL.Jim Meyering
2004-07-04(do_copy): Assume path_concat returns non-NULL.Jim Meyering
(make_path_private): 2nd arg is now size_t, not int, to avoid problem when path_concat dir name is longer than 2 GiB (!).