summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2006-04-12(expr invocation): expr exit status is 3 only forPaul Eggert
internal errors now; 2 is also for invalid values in expressions.
2006-04-12Clear the RE_NO_EMPTY_RANGES re syntax option, as this is a less intrusivePaul Eggert
change from the old (Emacs) behavior, and POSIX allows us to treat [z-a] as an empty range.
2006-04-12expr, csplit, nl patches to conform better to POSIX and/or traditionalPaul Eggert
behavior. Port tests to Solaris 8.
2006-04-12Use \{...\} in test RE, to test that we're conforming to POSIX.Paul Eggert
2006-04-12(fail-a): Adjust exit status to match new expr behavior, for status 2 versus 3.Paul Eggert
(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.
2006-04-12(docolon): Set re_syntax_options to a value that is compatible withPaul Eggert
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.
2006-04-12(build_type_arg): Set re_syntax_options to a value that is compatiblePaul Eggert
with what POSIX requires.
2006-04-12(extract_regexp): Set re_syntax_options to aPaul Eggert
value that is compatible with what POSIX requires.
2006-04-12(gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.Paul Eggert
2006-04-12Do not assume that 'sed' can handle long, newline-free input.Paul Eggert
Evaluate expr once, not $n times.
2006-04-12Solaris 8 sh doesn't understand "if !". Do not assume that 'sed' canPaul Eggert
handle long, newline-free input.
2006-04-11Adjust to new regex.h API (with new fastmap type), and cleanPaul Eggert
up the regex storage allocation a bit.
2006-04-11(compiled_separator_fastmap): New ver.Paul Eggert
(main): Use it. Don't bother allocating a buffer.