Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-08-02 | (errno): Remove decl; we now assume C89 or better. | Paul Eggert | |
2004-07-07 | Don'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-07 | (canonicalize_filename_mode): Remove do-while(0) loop. | Jim Meyering | |
Replace each corresponding `break' stmt with `continue'. | |||
2004-07-06 | Include "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 | Include "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-04 | (canonicalize_file_name): Assume that path_concat never returns NULL. | Jim Meyering | |
2004-06-19 | Remove all S_IS* and S_IF* definitions. | Jim Meyering | |
Instead, just include "stat-macros.h". | |||
2004-06-01 | (canonicalize_file_name): Update use of xreadlink. | Jim Meyering | |
2004-03-29 | [HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration. | Jim Meyering | |
2003-05-02 | (canonicalize_file_name) [!HAVE_RESOLVEPATH]: | Jim Meyering | |
A memory-allocation error could result in heap corruption. Fix it by also updating `dest' when rpath may be changed by xrealloc. | |||
2003-04-11 | Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values. | Jim Meyering | |
2003-04-10 | (canonicalize_file_name): NUL-terminate the result. | Jim Meyering | |
2003-04-10 | (canonicalize_file_name): Always free `extra_buf' before returning. | Jim Meyering | |
2003-04-10 | (canonicalize_file_name): Return NULL immediately if resolvepath fails. | Jim Meyering | |
Otherwise, `readlink --canonical /no-such-file' would exhaust virtual memory on some systems (e.g. Solaris). | |||
2003-04-10 | (canonicalize_file_name): Remove stray semicolon | Jim Meyering | |
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g., Solaris systems. | |||
2003-01-20 | Include "path-concat.h". | Jim Meyering | |
2003-01-11 | Don't test HAVE_ERRNO_H. It's not necessary. | Jim Meyering | |
Don't test HAVE_STDDEF_H. It's not necessary. Use definition of PTR_INT_TYPE from obstack.h. | |||
2003-01-11 | From Dmitry Levin. | Jim Meyering | |