Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-05 | * regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun | Paul Eggert | |
reported by Andreas Schwab. | |||
2006-05-25 | (small_open, large_open): New macros. | Paul Eggert | |
(__open, __open64) [!_LIBC]: Remove. (__gen_tempname): Use small_open and large_open instead of __open and __open64. This fixes a portability bug on HP-UX 11.11i reported by Simon Wing-Tang in <http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>. | |||
2006-05-23 | Fix misspelling. | Paul Eggert | |
2006-05-23 | Note problem with string.h. | Paul Eggert | |
2006-05-23 | filemode.c: Don't include <string.h>. | Paul Eggert | |
2006-05-23 | Don't include <string.h>; this include was | Paul Eggert | |
inadvertantly put into the previous patch. | |||
2006-05-22 | * filemode.c (setst): Remove. | Paul Eggert | |
(strmode): Rewrite to avoid setst. This makes the code shorter, (arguably) clearer, and the generated code is a bit smaller on my Debian GNU/Linux stable x86 host. | |||
2006-05-22 | Document the internals better. Most of this change | Paul Eggert | |
was written by Bruno Haible. | |||
2006-05-20 | *** empty log message *** | Jim Meyering | |
2006-05-20 | (fts_open): Fail with EINVAL if a caller violates this rule: | Jim Meyering | |
Either FTS_LOGICAL or FTS_PHYSICAL must be provided to the fts_open() function. | |||
2006-05-19 | Sync nanosleep from gnulib. | Paul Eggert | |
2006-05-15 | *** empty log message *** | Jim Meyering | |
2006-05-15 | (xfts_open): Always use FTS_CWDFD. | Jim Meyering | |
2006-05-15 | *** empty log message *** | Jim Meyering | |
2006-05-15 | Avoid the expense of an fstat, when possible. | Jim Meyering | |
(O_NOFOLLOW, STREQ): Define. (diropen_fd): Remove function. Merge it into sole caller... (diropen): ...here. Use O_NOFOLLOW when appropriate. (fts_safe_changedir): Call fstat for dev/inode check, only if the previous open/openat call may have opened the wrong directory. | |||
2006-05-15 | *** empty log message *** | Jim Meyering | |
2006-05-15 | Restore the parts of fts that were removed on 2006-01-17, so that | Jim Meyering | |
it's easier for legacy applications designed for the version of fts in glibc or BSD to convert to this more robust version. Add a new mode, FTS_CWDFD, by which to enable the improved (openat- based -- aka no-chdir) semantics. * fts_.h (FTS_CWDFD): Define. Callers must use this fts_open option to enable the more robust behavior. (FTS_OPTIONMASK): Widen accordingly. * fts.c: Restore removed code, reverting the default behavior. | |||
2006-05-11 | *** empty log message *** | Jim Meyering | |
2006-05-11 | (sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley. | Jim Meyering | |
2006-05-06 | . | Jim Meyering | |
2006-05-04 | *** empty log message *** | Jim Meyering | |
2006-05-03 | Include "same-inode.h". | Jim Meyering | |
2006-04-25 | (get_date): When adding relative date, start with the | Paul Eggert | |
initial time, not with the result of the first mktime call. | |||
2006-04-17 | Document filemode changes. | Paul Eggert | |
2006-04-17 | Don't undef S_ISDOOR, since it's never buggy. | Paul Eggert | |
(S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed. (S_ISPORT, S_ISWHT): New macros, if not already defined. | |||
2006-04-17 | (HAVE_DECL_STRMODE): Include <string.h> for strmode. | Paul Eggert | |
(strmode): Renamed from mode_string. (filemodestring): New decl. | |||
2006-04-17 | Include "filemode.h" first, to test the interface. | Paul Eggert | |
Assume that filemode.h includes sys/types.h and sys/stat.h. (HAVE_ST_DM_MODE): New macro, moved here from ls.c. (ftypelet): Reorder to put common cases first, for efficiency. Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility to do 'M'. (strmode): Renamed from mode_string, and now stores 12 bytes instead of 10, for compatibility with FreeBSD. All callers changed. (filemodestring): Now stores 12 bytes instead of 10, and sets file types that can't be deduced solely from st_mode. First arg is now a const pointer. | |||
2006-04-17 | *** empty log message *** | Jim Meyering | |
2006-04-17 | *** empty log message *** | Jim Meyering | |
2006-04-17 | (openat_needs_fchdir) [defined __OPENAT_PREFIX]: | Paul Eggert | |
Turn this into a macro that always returns true. | |||
2006-04-15 | (futimens): glibc futimesat messes up if /proc isn't mounted. | Paul Eggert | |
2006-04-14 | *** empty log message *** | Jim Meyering | |
2006-04-14 | remove SPACEs before TAB | Jim Meyering | |
2006-04-14 | *** empty log message *** | Jim Meyering | |
2006-04-14 | (fts_open): Don't allocate parent if *argv==NULL. Patch from glibc. | Jim Meyering | |
2006-04-14 | (fts_build): Free `head' before returning NULL, in two places, | Jim Meyering | |
to avoid leaks. Patch from glibc. | |||
2006-04-14 | (fts_build): Remove just-#if-0'd code and the code that | Jim Meyering | |
declares and sets cderrno. | |||
2006-04-14 | (fts_build): #if-0-out a block of unused code. Patch via glibc. | Jim Meyering | |
2006-04-13 | Don't use wchar_t or wctype_t; update comment. | Paul Eggert | |
2006-04-13 | (RE_DUP_MAX): Update comment to match current implementation. | Paul Eggert | |
2006-04-13 | (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N | Paul Eggert | |
is not defined. Problem reported by Mark D. Baushke via Derek R. Price. | |||
2006-04-12 | Port to Interix. | Paul Eggert | |
2006-04-12 | Include <inttypes.h> and <stdint.h> if they exist. | Paul Eggert | |
2006-04-12 | Don't include <inttypes.h> or <stdint.h>, since | Paul Eggert | |
fsusage.h now does that. Include fsusage.h first, to test interface. Prefer statvfs if it works, since it's blessed by POSIX. Attempt at most one method (the old code could have generated decls that didn't conform to C89, not that this was ever exercised). | |||
2006-04-10 | remove useless spaces before TABs | Jim Meyering | |
2006-04-10 | Import latest regex module from gnulib. | Paul Eggert | |
2006-03-26 | . | Jim Meyering | |
2006-03-26 | *** empty log message *** | Jim Meyering | |
2006-03-26 | (base_name): New semantics - malloc the result. | Jim Meyering | |
Preserve // when it is special. Preserve relative files that look like drive letters. (base_len): Preserve // when it is special. (last_component): New method, similar to old base_name semantics. | |||
2006-03-26 | (dir_len): Determine when drive letters need a subsequent slash. | Jim Meyering | |
Preserve // when it is special. (dir_name): Don't append dot when drive letter is absolute. [TEST_DIRNAME]: Move into a full-blown gnulib test. |