summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-04-17(HAVE_DECL_STRMODE): Include <string.h> for strmode.Paul Eggert
(strmode): Renamed from mode_string. (filemodestring): New decl.
2006-04-17Include "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-14remove SPACEs before TABJim 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 thatJim 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-13Don'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_I18NPaul Eggert
is not defined. Problem reported by Mark D. Baushke via Derek R. Price.
2006-04-12Port to Interix.Paul Eggert
2006-04-12Include <inttypes.h> and <stdint.h> if they exist.Paul Eggert
2006-04-12Don't include <inttypes.h> or <stdint.h>, sincePaul 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-10remove useless spaces before TABsJim Meyering
2006-04-10Import 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.
2006-03-26(FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4.Jim Meyering
[FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a drive prefix. (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE. (last_component): New method.
2006-03-26(strip_trailing_slashes): Use last_component, not base_name.Jim Meyering
Strip redundant slashes from ///.
2006-03-26(file_name_concat): s/base_name/last_component/Jim Meyering
2006-03-26(check_extension, numbered_backup): s/base_name/last_component/Jim Meyering
2006-03-26(same_name): s/base_name/last_component/Jim Meyering
2006-03-19*** empty log message ***Jim Meyering
2006-03-19Work even in a chroot where d_ino values for entries in "/"Jim Meyering
don't match the stat.st_ino values for the same names. (__getcwd): When no d_ino value matches the target inode number, iterate through all entries again, using lstat instead. Reported by Kenshi Muto in http://bugs.debian.org/355810.
2006-03-19(__getcwd): Clarify a comment.Jim Meyering
Use memcpy in place of a call to strcpy.
2006-03-17regex fixes for future POSIX and --without-included-regex.Paul Eggert
2006-03-17(regoff_t) [defined _REGEX_LARGE_OFFSETS]:Paul Eggert
Typedef to long int, not to off_t, as POSIX will likely change in that direction.
2006-03-12.Jim Meyering
2006-03-12*** empty log message ***Jim Meyering
2006-03-12*** empty log message ***Jim Meyering
2006-03-12(leave_dir): If cycle-check's saved dev-ino pair matchesJim Meyering
that of the current directory (which we're about to chdir ".." out of), then save the dev-ino of the parent, instead.
2006-03-12*** empty log message ***Jim Meyering
2006-03-12(SAME_INODE): Remove definition.Jim Meyering
2006-03-12Include "same-inode.h".Jim Meyering
(CYCLE_CHECK_REFLECT_CHDIR_UP): Define.
2006-03-12(SAME_INODE): Remove definition.Jim Meyering
Include "same-inode.h", instead.
2006-03-12(SAME_INODE): Remove definition.Jim Meyering
Include "same-inode.h", instead.
2006-03-12(SAME_INODE): New file/macro.Jim Meyering
2006-03-12Remove asctime_r, ctime_r, and let m4 specify the sources.Paul Eggert
2006-03-12(asctime_r, ctime_r): Remove.Paul Eggert
2006-03-12(libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,Paul Eggert
as this is now done in m4.
2006-02-27.Jim Meyering
2006-02-27*** empty log message ***Jim Meyering