summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-25(relative-3): New test, derived from a bug report by John Thomas McDole.Paul Eggert
2006-04-24Remove typo in previous checkin.Paul Eggert
2006-04-24* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototypePaul Eggert
to define main with arguments, for C++. Reported by Eric Blake. * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Prefer 'int main ()' to 'int main (void)', for C++. * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise. * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type for 'main', for C99 and C++.
2006-04-24Don't assume that 'exit' is declared for us.Paul Eggert
Don't assume that you can exit with status -1. (import from gnulib)
2006-04-23*** empty log message ***Jim Meyering
2006-04-23*** empty log message ***Jim Meyering
2006-04-23(Which files are listed): Describe new option: --group-directories-first.Jim Meyering
2006-04-23[New features]: Mention ls's new option, --group-directories-firstJim Meyering
2006-04-23(sort_type): Rearrange to use as an array index whenJim Meyering
choosing sort function; added new sort_numtypes member for compile-time check. (time_type): Add new time_numtypes member for compile-time check. (directories_first): New global variable. (GROUP_DIRECTORIES_FIRST_OPTION): New enum. (long_options): Add --directories-first. (main): Support new option. (is_directory): New function. (extract_dirs_from_files): Use it. (DIRFIRST_CHECK, DEFINE_SORT_FUNCTIONS) (LIST_SORTFUNCTION_VARIANTS): New macros. (sort_functions): New global variable. (sort_files): Use it. (usage): Document new option.
2006-04-19Change 'shred' to not use alloca.Paul Eggert
2006-04-19(fillrand): The assertion was way too weak, due toPaul Eggert
what must be a typo. Strengthen it to its intended value. (dopass): Don't use alloca; it's not worth the aggravation here, since it's used only to get a page-aligned buffer, and page alignment doesn't buy us much here. I'm suspicious that alloca causes problems on some hosts, due to a recent bug report by Adam Waltman.
2006-04-18*** empty log message ***Jim Meyering
2006-04-18Add new programs, base64, sha224sum, sha256sum, sha384sum, sha512sum.Jim Meyering
2006-04-17Document filemode changes.Paul Eggert
2006-04-17(human_access): Use (new) filemodestring rather thanPaul Eggert
(old) mode_string, so that we get more file types right, at least in theory. Adjust to filemode changes.
2006-04-17(HAVE_ST_DM_MODE): Remove; moved to ../lib/filemode.c.Paul Eggert
(print_long_format): Use (new) filemodestring rather than (old) mode_string, so that we get more file types right, at least in theory. Adjust to filemode changes.
2006-04-17(describe_change): Adjust to filemode changes.Paul Eggert
2006-04-17(gl_FILEMODE): Check for strmode declaration.Paul Eggert
2006-04-17Don'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-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(What information is listed): Add P for SolarisPaul Eggert
10 ports. Add commented-out entries for other types that POSIX says are possible, or that I observed in FreeBSD documentation.
2006-04-17*** empty log message ***Jim Meyering
2006-04-17(main) [DEFAULT_IGNORE_FILE]: Remove code to use a defaultJim Meyering
ignore file. This has never been enabled. Reported by Eric Blake.
2006-04-17*** empty log message ***Jim Meyering
2006-04-17(Input processing in ptx): Remove mention of theJim Meyering
default --ignore file, /usr/local/lib/eign. That file has never been used. Reported by Eric Blake.
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-13(What information is listed): Document 'ls' type letters.Paul Eggert
2006-04-12Port to Interix.Paul Eggert
2006-04-12(sync) [!HAVE_SYNC]: New macro.Paul Eggert
2006-04-12(USE_STATVFS): New macro.Paul Eggert
Include <sys/statvfs.h> and use statvfs only if USE_STATVFS. (NAMEMAX_FORMAT): define a bit more clearly, now that the statvfs-using code is a bit more regular.
2006-04-12(main) [! HAVE_SETGROUPS]: Don't call setgroups.Paul Eggert
2006-04-12(linkfunc): Remove. This method ran into a compiler/linkerPaul Eggert
bug in Interix. Just call symlink or link directly. All uses changed.
2006-04-12(gl_MACROS): Check for setgroups and sync, since theyPaul Eggert
are not in Interix.
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-12csplit, nl, expr now conform to POSIX better, and arePaul Eggert
more-compatible with traditional Unix, with respect to regular expressions.