*** empty log message ***
[platform/upstream/coreutils.git] / TODO
diff --git a/TODO b/TODO
index 0a71b93..4163e60 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,8 +1,6 @@
 restore djgpp, eventually
 merge TODO lists
 add unit tests for lib/*.c
-rewrite lib/ftw.c not to use explicit recursion, and then use nftw in
-  chown, chgrp, chmod, du
 
 strip: add an option to specify the program used to strip binaries.
   suggestion from Karl Berry
@@ -49,10 +47,6 @@ seq: give better diagnostics for invalid formats:
    e.g. no or too many % directives
 seq: consider allowing format string to contain no %-directives
 
-dd: consider adding an option to suppress `bytes/block read/written'
-output to stderr.  Suggested here:
-  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
-
 m4: rename all macros that start with AC_ to start with another prefix
 
 resolve RH report on cp -a forwarded by Tim Waugh
@@ -64,19 +58,11 @@ tail: don't use xlseek; it *exits*.
 
 add mktemp?  Suggested by Nelson Beebe
 
-Now that AC_FUNC_LSTAT and AC_FUNC_STAT are in autoconf,
-remove m4/stat.m4 and m4/lstat.m4.
-
 df: alignment problem of `Used' heading with e.g., -mP
   reported by Karl Berry
 
 tr: support nontrivial equivalence classes, e.g. [=e=] with LC_COLLATE=fr_FR
 
-fix tail -f to work with named pipes; reported by Ian D. Allen
-  $ mkfifo j; tail -f j & sleep 1; echo x > j
-  ./tail: j: file truncated
-  ./tail: j: cannot seek to offset 0: Illegal seek
-
 lib/strftime.c: Since %N is the only format that we need but that
   glibc's strftime doesn't support, consider using a wrapper that
   would expand /%(-_)?\d*N/ to the desired string and then pass the
@@ -122,21 +108,93 @@ sort: Investigate better sorting algorithms; see Knuth vol. 3.
   5.3.1, who credits Lester Ford, Jr. and Selmer Johnson, American
   Mathematical Monthly 66 (1959), 387-389.
 
-doc/coreutils.texi:
-  Document the exit status of each and every program.
-  Suggestion from Dan Jacobson.
-  The sentence or two describing the common case must appear just once,
-  and then it must be made to appear in the 70+ places where it's needed.
-
-du: rewrite to use something other than nftw to perform directory traversal.
-  Due to design limitations of nftw, ...
-    using -D makes du dereference each command
-    line argument that is a symlink to a directory.
-    A symlink to non-directory is not dereferenced.
-
 cp --recursive: perform dir traversals in source and dest hierarchy rather
   than forming full file names.  The latter (current) approach fails
   unnecessarily when the names become very long.
 
-`tail --follow=name --retry' should elicit a diagnostic, since no file name
-  was specified.
+tail --p is now ambiguous
+
+Remove suspicious uses of alloca (ones that may allocate more than
+   about 4k)
+
+Adapt these contribution guidelines for coreutils:
+  http://sources.redhat.com/automake/contribute.html
+
+
+Changes expected to go in, post-5.2.1:
+======================================
+
+  wc: add an option, --files0-from [as for du] to make it read NUL-delimited
+    file name arguments from a file.
+
+  dd patch from Olivier Delhomme
+
+  Apply Andreas Gruenbacher's ACL and xattr changes
+
+  Apply Bruno Haible's hostname changes
+
+  test/mv/*: clean up $other_partition_tmpdir in all cases
+
+  ls: when both -l and --dereference-command-line-symlink-to-dir are
+  specified, consider whether to let the latter select whether to
+  dereference command line symlinks to directories.  Since -l has
+  an implicit --NO-dereference-command-line-symlink-to-dir meaning.
+  Pointed out by Karl Berry.
+
+  A more efficient version of factor, and possibly one that
+  accepts inputs of size 2^64 and larger.
+
+  Re-add a separate test for du's stack space usage (like the one removed
+  from tests/rm/deep-1).
+
+  dd: consider adding an option to suppress `bytes/block read/written'
+  output to stderr.  Suggested here:
+    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
+
+  Pending copyright papers:
+  ------------------------
+  ls --color: Ed Avis' patch to suppress escape sequences for
+    non-highlighted files
+
+  getpwnam from Bruce Korb
+
+  pb (progress bar) from Miika Pekkarinen
+
+  Look into improving the performance of md5sum.
+  `openssl md5' is consistently about 30% faster than md5sum on an idle
+  AMD 2000-XP system with plenty of RAM and a 261 MB input file.
+  openssl's md5 implementation is in assembly, generated by a perl script.
+
+Have euidaccess.m4 check for eaccess as well as euidaccess
+If found, then do `#define euidaccess eaccess'.
+
+Remove long-deprecated options like -V for version-control and
+  tail's --allow-missing
+
+Add a distcheck-time test to ensure that every distributed
+file is either read-only(indicating generated) or is
+version-controlled and up to date.
+
+Implement Ulrich Drepper's suggestion to use getgrouplist rather
+  than getugroups.  This affects only `id', but makes a big difference
+  on systems with many users and/or groups, and makes id usable once
+  again on systems where access restrictions make getugroups fail.
+  But first we'll need a run-test (either in an autoconf macro or at
+  run time) to avoid the segfault bug in libc-2.3.2's getgrouplist.
+  In that case, we'd revert to using a new (to-be-written) getgrouplist
+  module that does most of what `id' already does.
+
+remove `%s' notation:
+  grep -E "\`%.{,4}s'" src/*.c
+
+remove.c should never exit, yet may do so (see uses of EXIT_FAILURE)
+
+remove or adjust chown's --changes option, since it
+  can't always do what it currently says it does.
+
+Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be
+  multibyte aware.  The problem is that I want to avoid duplicating
+  significant blocks of logic, yet I also want to incur only minimal
+  (preferably `no') cost when operating in single-byte mode.
+
+Remove all uses of the `register' keyword