summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2006-08-10* src/dircolors.hin: Add a TERM directive for each of the following:Jim Meyering
ansi, color-xterm, gnome, konsole, kterm, rxvt-cygwin, rxvt-cygwin-native, screen.linux, xterm-256color. Sort the TERM directives. From Mike Frysinger.
2006-08-09Warn about oflag=append without conv=notrunc.Paul Eggert
2006-08-09Add mlterm, rxvt-unicode; this fixes Debian bug 317503.Paul Eggert
2006-08-09Add shuf.Paul Eggert
2006-08-09Add a compile-time check to ensure that filetypeJim Meyering
and filetype_letter have the same number of elements.
2006-08-09Remove use of --seed=S.Jim Meyering
2006-08-08Add shuf, better random number generation, and fix sort -R inPaul Eggert
funny locales.
2006-07-29(set_author): Preserve the st_author field via thePaul Eggert
file descriptor dest_desc.
2006-07-28chmod 0755 DIR and chmod 755 DIR are now equivalent.Paul Eggert
2006-07-27* src/chgrp.c (usage): Use correct grammar in description of the --reference ↵Jim Meyering
option * src/chown.c (usage): Likewise.
2006-07-26* src/copy.c (set_author) [HAVE_STRUCT_STAT_ST_AUTHOR]:Jim Meyering
Correctly access SRC_SB's element ST_AUTHOR.
2006-07-26* tests/ls/stat-failed: Adapt to match new expected output.Jim Meyering
From Paul Eggert.
2006-07-26* src/ls.c (print_color_indicator): Test for S_IFREG first, ratherJim Meyering
than having the code test for all of the other types first. Hoist the set-uid/gid-testing code "up" into this new block. Classify any other type of file (e.g., S_TYPEISSHM, etc.) as C_ORPHAN, not as C_FILE. * doc/coreutils.texi (What information is listed): Mention that missing pieces of information are marked with "?". From Paul Eggert.
2006-07-26Checking in a change from Paul.Jim Meyering
2006-07-25 Paul Eggert <eggert@cs.ucla.edu> * src/ls.c (DT_INIT): Remove. All uses removed. (enum filetype): Use an ordinary enum rather than trying to keep the values in sync with DT_FIFO etc. That way, we don't have to make special assumptions about them. All uses changed. (whiteout): New constant member of enum filetype. (filetype_letter): New constant, for use with enum filetype. (FILETYPE_INDICATORS): New initializer list. (print_dir): Add case for DT_WHT. (gobble_file): If stat fails, don't discard information from readdir; instead, preserve it so it can be printed. (print_long_format): Fall back on readdir result if stat info is not available. Use "?" to denote each unknown mode char, instead of an overall "?", since we now know some of the mode typically. (print_type_indicator): Now that MODE isn't necessarily useful, guard all uses. Now that two blocks in the type-checking tree can set "type = C_FILE", move the suffix-handling code out and down.
2006-07-26Prepare for the above change.Jim Meyering
* src/ls.c [struct fileinfo] (stat_ok): Rename from stat_failed, and adjust uses. From a patch by Paul Eggert.
2006-07-26* src/ls.c: Correct indentation/formatting in a few places.Jim Meyering
2006-07-25Clarify the "chmod 0500" news, and correct the vaguePaul Eggert
statements about compatibility with BSD.
2006-07-25* src/ls.c (gobble_file): When handling a stat-failed entry,Jim Meyering
print the entry name not the absolute_name -- to be consistent with the usual case. * tests/ls/stat-failed: Update accordingly.
2006-07-25* tests/ls-2/tests (no-a-isdir-b): Update to reflect additionJim Meyering
of "cannot access " to diagnostic.
2006-07-25*** empty log message ***Jim Meyering
2006-07-25* src/dircolors.hin: Mention that ORPHAN refers not just to dangling symlinks.Jim Meyering
2006-07-25* src/dircolors.hin: Mention that ORPHAN refers not just to dangling symlinks.Jim Meyering
2006-07-25Get --dired offsets right when handling stat-failed entries.Jim Meyering
* src/ls.c (print_long_format): Be careful to increment P by the appropriate amount, even when inode_number_width and nlink_width are zero. * tests/ls/stat-failed: Test for the above.
2006-07-25* src/ls.c (gobble_file) [USE_ACL]: Don't use-uninitialized theJim Meyering
have_acl member. That would happen for a directory with both a non-stat'able entry and one with an ACL.
2006-07-25* src/ls.c (gobble_file): Make it so failure to stat aJim Meyering
non-command-line file provokes an exit status of 1, not 0. Say "cannot access" rather than "cannot stat". * tests/ls/stat-failed: New file/test, for the above. * tests/ls/Makefile.am (TESTS): Add stat-failed.
2006-07-25* src/ls.c: Declare stat_failed to be "bool", not "int" everywhere.Jim Meyering
2006-07-25* src/ls.c [enum filetype] (command_line): Remove member. Not needed.Jim Meyering
Replace all occurrences of "type == command_line" with the equivalent, "command_line_arg".
2006-07-25* src/ls.c: Apply the stat-failed parts of Red Hat'sJim Meyering
coreutils-selinux.patch. From Ulrich Drepper. This makes it so files not mentioned on the command line (e.g., names read from a directory that *is* mentioned on the command line) for which stat fails are still listed. With --color, such files are colored just like ORPHANs (aka dangling symlinks).
2006-07-25* src/df.c (n_valid_args): Declare global to be static.Jim Meyering
2006-07-24Skip this test on reiserfs, since that file system lacks d_type support.Jim Meyering
2006-07-23Update to reflect recent changes to coreutils.texi.Paul Eggert
2006-07-21* src/su.c (usage): Correct typo in --help output: s/commmand/command/Jim Meyering
Reported by Tim Waugh. Also remove the comment duplicating much of --help output.
2006-07-21*** empty log message ***Jim Meyering
2006-07-21*** empty log message ***Jim Meyering
2006-07-21Fix another bug: ls --indicator-style=file-type would callJim Meyering
stat for a symlink, even though it wasn't always needed. In some cases, that unnecessary stat would cause ls to fail. * src/ls.c (gobble_file): Don't treat symlinks specially (in requiring a stat syscall). Remove the offending exclusion. * NEWS: Mention the fix. * tests/ls/stat-dtype: New file/test, for the above fix. Also exercises the new df feature, below.
2006-07-20* src/df.c (main): Fail and don't print the headers if noJim Meyering
file system is processed. This makes it easy to test whether a specified directory is on a file system of a given type or types. Otherwise, applications would have had to parse df's output. E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs .
2006-07-20*** empty log message ***Jim Meyering
2006-07-19* src/ls.c (print_dir): Give a better diagnostic for failed opendir.Jim Meyering
2006-07-19*** empty log message ***Jim Meyering
2006-07-17Fix typo in previous checkin; some file names were wrong.Paul Eggert
2006-07-17chmod, install, and mkdir now leave setgid and setuid bitsPaul Eggert
of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group.
2006-07-14* Makefile.maint (CVS_LIST): Use new file, build-aux/vc-list-files,Jim Meyering
rather than open-coding it. Now supports mercurial, too. * .hgignore: New file. * Makefile.am (EXTRA_DIST): Add .hgignore, which ignores nearly all generated files, including ones like configure and po/*.po that are currently version-controlled in cvs. * build-aux/vc-list-files: New file.
2006-07-14* Makefile.am (EXTRA_DIST): Add a few more .??* files.Jim Meyering
They've been in CVS, just haven't been distributed before this. Distribute ChangeLog-2005, too. (MAINTAINERCLEANFILES): Add THANKS-to-translators.
2006-07-11Assume <dirent.h> exists, since gnulib assumes this now as well.Paul Eggert
2006-07-09*** empty log message ***Jim Meyering
2006-07-09*** empty log message ***Jim Meyering
2006-07-09Adjust to recent updates from gnulib.Paul Eggert
2006-07-08New file, test for 2006-07-05 fix in copy.c.Jim Meyering
2006-07-08* tests/Coreutils.pm: Remove one of two adjacent "then"s in a comment.Jim Meyering
2006-07-08* Makefile.maint (sc_the_the): New rule.Jim Meyering