Commit Graph

  • f1d1ee9121 (copy_internal): Don't explicitly unlink the destination when moving a symlink into the place of an existing non-directory. Reported by Joshua Hudson. Jim Meyering 2006-05-11 07:33:00 +00:00
  • 029057a361 Avoid harmless `ambiguous redirect' diagnostic. Jim Meyering 2006-05-11 07:29:53 +00:00
  • 6dd69d3281 *** empty log message *** Jim Meyering 2006-05-10 13:39:30 +00:00
  • b8b7669b3e update from gnulib Jim Meyering 2006-05-08 07:22:19 +00:00
  • d4d3446bab (patch-check): Correct reversed sense of test -s' test. Work around the fact that patch always outputs patching file ...'. Jim Meyering 2006-05-07 17:46:57 +00:00
  • 6af864de67 *** empty log message *** Jim Meyering 2006-05-07 17:25:25 +00:00
  • 194a26ac5c *** empty log message *** Jim Meyering 2006-05-07 17:21:01 +00:00
  • c8a85eda8c Adjust to reflect new offsets. Jim Meyering 2006-05-07 17:20:49 +00:00
  • f7e3e90916 mention the df fix of 2006-01-24 Jim Meyering 2006-05-07 15:53:25 +00:00
  • 89745f895e mention the df improvement from 2006-01-24 Jim Meyering 2006-05-07 15:37:38 +00:00
  • afbf453a82 *** empty log message *** Jim Meyering 2006-05-06 21:09:35 +00:00
  • a44d1cdd38 *** empty log message *** Jim Meyering 2006-05-06 18:56:46 +00:00
  • e0beb8aab5 mention the shred-segfault fix Jim Meyering 2006-05-06 16:03:20 +00:00
  • 23e6a454b4 remove stray stat-related line Jim Meyering 2006-05-06 16:01:39 +00:00
  • 9980147451 . Jim Meyering 2006-05-06 15:52:56 +00:00
  • f3e78aa999 *** empty log message *** Jim Meyering 2006-05-06 15:44:25 +00:00
  • cc86eaf147 Expand to test broken links encountered implicitly, favoring Solaris 9 and OpenBSD 3.4 behavior. Jim Meyering 2006-05-06 15:44:19 +00:00
  • b68ddecba7 Expand to test inode from readdir case. Jim Meyering 2006-05-06 15:44:01 +00:00
  • 439be6d613 *** empty log message *** Jim Meyering 2006-05-06 15:29:49 +00:00
  • 1cf31b9cb6 (TESTS): Add stat-vs-dirent. Jim Meyering 2006-05-06 15:29:44 +00:00
  • c5a425ef3d *** empty log message *** Jim Meyering 2006-05-06 15:29:20 +00:00
  • 8840dfb071 *** empty log message *** Jim Meyering 2006-05-06 15:27:38 +00:00
  • 7704c7d7cb *** empty log message *** Jim Meyering 2006-05-06 14:23:38 +00:00
  • 29f7820bba Work even on case-insensitive file system. Jim Meyering 2006-05-06 14:23:31 +00:00
  • aa02687360 *** empty log message *** Jim Meyering 2006-05-06 14:17:31 +00:00
  • 8b13a959ae (gl_GETADDRINFO): Fix caching error. Jim Meyering 2006-05-06 14:17:21 +00:00
  • b5497557d3 update from gnulib Jim Meyering 2006-05-05 18:51:44 +00:00
  • 06ba3a2237 *** empty log message *** Jim Meyering 2006-05-04 12:55:54 +00:00
  • d98da55f1d (Examples of date): Give example of @seconds. Jim Meyering 2006-05-04 12:55:08 +00:00
  • 72049d2e2e *** empty log message *** Jim Meyering 2006-05-04 10:33:39 +00:00
  • db0ab05030 *** empty log message *** Jim Meyering 2006-05-04 10:02:54 +00:00
  • 6c63d830b4 *** empty log message *** Jim Meyering 2006-05-04 10:01:43 +00:00
  • aac1ddf240 mention pwd fix Jim Meyering 2006-05-04 10:00:40 +00:00
  • c1f85fb9e1 (head invocation, tail invocation, sort invocation): Give advice about porting to hosts that support only obsolete syntax. Paul Eggert 2006-05-03 23:10:04 +00:00
  • b400a630ae Include "same-inode.h". Jim Meyering 2006-05-03 10:13:07 +00:00
  • c139c9a58b . Jim Meyering 2006-05-03 10:11:25 +00:00
  • 1e4bc06b2e *** empty log message *** Jim Meyering 2006-05-03 10:11:05 +00:00
  • c37b81a6fa *** empty log message *** Jim Meyering 2006-05-03 10:10:00 +00:00
  • 1f350a9d34 (DEFINE_SORT_FUNCTIONS, LIST_SORTFUNCTION_VARIANTS): Use better macro parameter names: s/basename/key_name/, s/basefunc/key_cmp_func. Fix typo in comment. Jim Meyering 2006-05-03 10:07:36 +00:00
  • a99440c4ee (main): On systems with d_type, directories_first only implies format_needs_type, not format_needs_stat. Jim Meyering 2006-05-03 10:03:58 +00:00
  • f0562bdf48 (xstrcoll_df_version, rev_xstrcoll_df_version): Add space after comma in arg list, from Eric Blake. Jim Meyering 2006-05-03 09:36:03 +00:00
  • 972d0198a9 (get_date): When adding relative date, start with the initial time, not with the result of the first mktime call. Paul Eggert 2006-04-25 10:29:47 +00:00
  • dfef85e753 (relative-3): New test, derived from a bug report by John Thomas McDole. Paul Eggert 2006-04-25 10:29:10 +00:00
  • 9f0b994993 Remove typo in previous checkin. Paul Eggert 2006-04-24 17:51:56 +00:00
  • d02ad57764 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype 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++. Paul Eggert 2006-04-24 17:50:24 +00:00
  • 779532f556 Don't assume that 'exit' is declared for us. Don't assume that you can exit with status -1. (import from gnulib) Paul Eggert 2006-04-24 07:40:00 +00:00
  • 79aba863ce *** empty log message *** Jim Meyering 2006-04-23 21:48:27 +00:00
  • 02207e6a72 *** empty log message *** Jim Meyering 2006-04-23 21:47:00 +00:00
  • 972fa947d1 (Which files are listed): Describe new option: --group-directories-first. Jim Meyering 2006-04-23 21:46:54 +00:00
  • db6a912f8c [New features]: Mention ls's new option, --group-directories-first Jim Meyering 2006-04-23 21:38:32 +00:00
  • 513c5ec411 (sort_type): Rearrange to use as an array index when 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. Jim Meyering 2006-04-23 21:35:04 +00:00
  • 5bbcc061d8 Change 'shred' to not use alloca. Paul Eggert 2006-04-19 06:28:11 +00:00
  • 43d487b711 (fillrand): The assertion was way too weak, due to 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. Paul Eggert 2006-04-19 06:27:43 +00:00
  • f3bacff51f *** empty log message *** Jim Meyering 2006-04-18 14:59:27 +00:00
  • 332498c318 Add new programs, base64, sha224sum, sha256sum, sha384sum, sha512sum. Jim Meyering 2006-04-18 14:59:22 +00:00
  • ae5252e393 Document filemode changes. Paul Eggert 2006-04-17 23:24:49 +00:00
  • d918aff890 (human_access): Use (new) filemodestring rather than (old) mode_string, so that we get more file types right, at least in theory. Adjust to filemode changes. Paul Eggert 2006-04-17 23:23:43 +00:00
  • 58d7770a00 (HAVE_ST_DM_MODE): Remove; moved to ../lib/filemode.c. (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. Paul Eggert 2006-04-17 23:23:11 +00:00
  • 137de3d3b6 (describe_change): Adjust to filemode changes. Paul Eggert 2006-04-17 23:22:51 +00:00
  • 54cf93b996 (gl_FILEMODE): Check for strmode declaration. Paul Eggert 2006-04-17 23:22:16 +00:00
  • 99277ba7c6 Don't undef S_ISDOOR, since it's never buggy. (S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed. (S_ISPORT, S_ISWHT): New macros, if not already defined. Paul Eggert 2006-04-17 23:22:01 +00:00
  • dc536fbed1 (HAVE_DECL_STRMODE): Include <string.h> for strmode. (strmode): Renamed from mode_string. (filemodestring): New decl. Paul Eggert 2006-04-17 23:21:30 +00:00
  • ac2d45ce67 Include "filemode.h" first, to test the interface. 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. Paul Eggert 2006-04-17 23:21:14 +00:00
  • 79cbf5925c (What information is listed): Add P for Solaris 10 ports. Add commented-out entries for other types that POSIX says are possible, or that I observed in FreeBSD documentation. Paul Eggert 2006-04-17 23:20:53 +00:00
  • 3280967bdb *** empty log message *** Jim Meyering 2006-04-17 23:17:16 +00:00
  • 1cdde80263 (main) [DEFAULT_IGNORE_FILE]: Remove code to use a default ignore file. This has never been enabled. Reported by Eric Blake. Jim Meyering 2006-04-17 23:17:11 +00:00
  • e4e04491a0 *** empty log message *** Jim Meyering 2006-04-17 23:14:57 +00:00
  • 0c13c770e3 (Input processing in ptx): Remove mention of the default --ignore file, /usr/local/lib/eign. That file has never been used. Reported by Eric Blake. Jim Meyering 2006-04-17 23:14:45 +00:00
  • 58fab28670 *** empty log message *** Jim Meyering 2006-04-17 21:07:53 +00:00
  • 415dddb568 *** empty log message *** Jim Meyering 2006-04-17 20:53:20 +00:00
  • ade4e95345 (openat_needs_fchdir) [defined __OPENAT_PREFIX]: Turn this into a macro that always returns true. Paul Eggert 2006-04-17 20:48:23 +00:00
  • 39448a239a (futimens): glibc futimesat messes up if /proc isn't mounted. Paul Eggert 2006-04-15 07:39:46 +00:00
  • ca094485f9 *** empty log message *** Jim Meyering 2006-04-14 20:33:42 +00:00
  • 52f9cd6688 remove SPACEs before TAB Jim Meyering 2006-04-14 16:36:34 +00:00
  • ea26299816 *** empty log message *** Jim Meyering 2006-04-14 16:35:44 +00:00
  • 47d0eb8722 (fts_open): Don't allocate parent if *argv==NULL. Patch from glibc. Jim Meyering 2006-04-14 16:35:41 +00:00
  • 8085d02998 (fts_build): Free `head' before returning NULL, in two places, to avoid leaks. Patch from glibc. Jim Meyering 2006-04-14 16:26:15 +00:00
  • d657c35562 (fts_build): Remove just-#if-0'd code and the code that declares and sets cderrno. Jim Meyering 2006-04-14 16:21:21 +00:00
  • 091c012089 (fts_build): #if-0-out a block of unused code. Patch via glibc. Jim Meyering 2006-04-14 16:11:01 +00:00
  • 52bb8bdd10 Don't use wchar_t or wctype_t; update comment. Paul Eggert 2006-04-13 22:17:17 +00:00
  • 3125c35bc7 (RE_DUP_MAX): Update comment to match current implementation. Paul Eggert 2006-04-13 22:16:58 +00:00
  • 372285b207 (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N is not defined. Problem reported by Mark D. Baushke via Derek R. Price. Paul Eggert 2006-04-13 22:16:43 +00:00
  • eeac99af71 (What information is listed): Document 'ls' type letters. Paul Eggert 2006-04-13 04:01:47 +00:00
  • e0637b5b68 Port to Interix. Paul Eggert 2006-04-12 20:15:30 +00:00
  • 00e67bf028 (sync) [!HAVE_SYNC]: New macro. Paul Eggert 2006-04-12 20:15:08 +00:00
  • eda15d7cca (USE_STATVFS): New macro. 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. Paul Eggert 2006-04-12 20:14:42 +00:00
  • 2e16cd4302 (main) [! HAVE_SETGROUPS]: Don't call setgroups. Paul Eggert 2006-04-12 20:14:19 +00:00
  • e26a29be00 (linkfunc): Remove. This method ran into a compiler/linker bug in Interix. Just call symlink or link directly. All uses changed. Paul Eggert 2006-04-12 20:14:01 +00:00
  • cec6e43aae (gl_MACROS): Check for setgroups and sync, since they are not in Interix. Paul Eggert 2006-04-12 20:13:34 +00:00
  • 2fc455e2d5 Include <inttypes.h> and <stdint.h> if they exist. Paul Eggert 2006-04-12 20:13:13 +00:00
  • 368bc94656 Don't include <inttypes.h> or <stdint.h>, since 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). Paul Eggert 2006-04-12 20:13:00 +00:00
  • dfe1ede00d csplit, nl, expr now conform to POSIX better, and are more-compatible with traditional Unix, with respect to regular expressions. Paul Eggert 2006-04-12 07:49:34 +00:00
  • ce1f8e6ecd (expr invocation): expr exit status is 3 only for internal errors now; 2 is also for invalid values in expressions. Paul Eggert 2006-04-12 07:47:11 +00:00
  • 7e17831f0a Clear the RE_NO_EMPTY_RANGES re syntax option, as this is a less intrusive change from the old (Emacs) behavior, and POSIX allows us to treat [z-a] as an empty range. Paul Eggert 2006-04-12 07:37:11 +00:00
  • 79b051c610 expr, csplit, nl patches to conform better to POSIX and/or traditional behavior. Port tests to Solaris 8. Paul Eggert 2006-04-12 07:18:11 +00:00
  • 93305ed5f9 Use \{...\} in test RE, to test that we're conforming to POSIX. Paul Eggert 2006-04-12 07:17:26 +00:00
  • 661b506c3d (fail-a): Adjust exit status to match new expr behavior, for status 2 versus 3. (anchor): New test. (bre1, bre2, bre3, bre4, bre5, bre6, bre7, bre8, bre9, bre10): (bre11, bre12, bre13, bre14, bre15, bre16, bre17, bre18, bre19, bre20): (bre21, bre22, bre23, bre24, bre25, bre26, bre27, bre28, bre29, bre30): (bre31, bre32, bre33, bre34, bre35, bre36, bre37, bre38, bre39, bre40): (bre41, bre42, bre43, bre44, bre45, bre46, bre47, bre48, bre49, bre50): (bre51, bre52, bre53, bre54, bre55, bre56, bre57, bre58, bre59, bre60): (bre61, bre62): New tests. Paul Eggert 2006-04-12 07:17:02 +00:00
  • 110970f622 (docolon): Set re_syntax_options to a value that is compatible with what POSIX requires. Also, don't let anchors match newline; this fixes an incompatibility with tradition and with POSIX. Don't warn about leading ^. POSIX says it is unspecified whether ^ is a special character, which means that implementations can either treat it as special or not, but either way a warning is not allowed (unless the regexp is otherwise invalid). Instead, anchor the expression but treat ^ as an anchor; this is the traditional behavior (e.g., Solaris 10). (eval4, eval3, eval2): Treat non-numeric args, division by zero, and the like as invalid expressions (exit status 2), not as failure of 'expr' (exit status 3). This is more consistent with how Solaris behaves. Paul Eggert 2006-04-12 07:16:20 +00:00
  • 6fd9c6f98e (build_type_arg): Set re_syntax_options to a value that is compatible with what POSIX requires. Paul Eggert 2006-04-12 07:15:21 +00:00
  • 2a75bb4ae0 (extract_regexp): Set re_syntax_options to a value that is compatible with what POSIX requires. Paul Eggert 2006-04-12 07:14:53 +00:00