Pádraig Brady <[email protected]> writes: > Following commit v9.3-92-g1b86b70dd > $TMPDIR is part of the interface and an important behavioral > characteristic of a command, which should be documented. > > * doc/coreutils.texi (split invocation): Mention $TMPDIR is honored. > (tac invocation): Likewise. > * src/split.c (usage): Likewise. > * src/tac.c (usage): Likewise. > --- > doc/coreutils.texi | 12 ++++++++++-- > src/split.c | 4 ++++ > src/tac.c | 3 +++ > 3 files changed, 17 insertions(+), 2 deletions(-)
Patch looks good to me. Not directly related, but looking at the referenced commit, I was curious about the comparison to PATH_MAX. But it appears it is required since path_search may not call stat(2), so it is possible errno != ENAMETOOLONG even when the file name is longer than PATH_MAX. Collin
