*** empty log message ***
[platform/upstream/coreutils.git] / TODO
1 restore djgpp, eventually
2 merge TODO lists
3 add unit tests for lib/*.c
4 rewrite lib/ftw.c not to use explicit recursion, and then use nftw in
5   chown, chgrp, chmod, du
6
7 strip: add an option to specify the program used to strip binaries.
8   suggestion from Karl Berry
9
10 doc/coreutils.texi:
11   Address this comment: FIXME: mv's behavior in this case is system-dependent
12   Better still: fix the code so it's *not* system-dependent.
13
14 implement --target-directory=DIR for install (per texinfo documentation)
15
16 ls: add --format=FORMAT option that controls how each line is printed.
17
18 cp --no-preserve=X should not attempt to preserve attribute X
19   reported by Andreas Schwab
20
21 copy.c: Address the FIXME-maybe comment in copy_internal.
22 And once that's done, add an exclusion so that `cp --link'
23 no longer incurs the overhead of saving src. dev/ino and dest. filename
24 in the hash table.
25
26 Apply suggestion from Paul Jarc to use something along the
27 lines of http://cr.yp.to/daemontools/setuidgid.html to avoid
28 kludges (as in tests/rm/fail-2eperm) when running tests as root.
29
30 See if we can be consistent about where --verbose sends its output:
31   These all send --verbose output to stdout:
32     head, tail, rm, cp, mv, ln, chmod, chown, chgrp, install, ln
33   These send it to stderr:
34     shred mkdir split
35   readlink is different
36
37 Write an autoconf test to work around build failure in HPUX's 64-bit mode.
38 See notes in README -- and remove them once there's a work-around.
39
40 after 5.0, change doc strings (like df, ls, etc) not to use `,'
41 as thousands separator in e.g. 1,000,000.  Instead, do this:
42
43   SIZE may be (or may be an integer optionally followed by) one of following:
44   kB 1000, K 1024, MB 1000*1000, M 1024*1024 and so on for G, T, P, E, Z, Y.
45
46 Integrate use of sendfile, suggested here:
47   http://mail.gnu.org/archive/html/bug-fileutils/2003-03/msg00030.html
48 I don't plan to do that, since a few tests demonstrate no significant benefit.
49
50 Should printf '\0123' print "\n3"?
51   per report from TAKAI Kousuke on Mar 27
52   http://mail.gnu.org/archive/html/bug-coreutils/2003-03/index.html
53
54 printf: consider adapting builtins/printf.def from bash
55
56 df: add `--total' option, suggested here http://bugs.debian.org/186007
57
58 seq: give better diagnostics for invalid formats:
59    e.g. no or too many % directives
60 seq: consider allowing format string to contain no %-directives
61
62 dd: consider adding an option to suppress `bytes/block read/written'
63 output to stderr.  Suggested here:
64   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
65
66 nl: fix this bug:
67   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177256
68   # printf 'a\n\n'|nl|cat -A
69      1^Ia$
70          $
71   $
72
73 m4: rename all macros that start with AC_ to start with another prefix
74
75 document that `true --version' can fail, e.g., like this:
76   ./true --version >&-
77   ./true: write error: Bad file number
78   Reported by Paul Eggert
79
80 resolve RH report on cp -a forwarded by Tim Waugh
81
82 Martin Michlmayr's patch to provide ls with `--sort directory' option
83
84 clean-up: Remove all of the casts (they're unnecessary) found by this:
85   grep -E '\*\) *x(m|c|re)alloc\>' {lib,src}/*.[ch]
86 Fix with this:
87   perl -pi -e 's/\([^(]*?\*\) *(x(m|c|re)alloc)\b/$1/'
88
89 Remove uses of PROTOTYPES