Aduke.583
NET.v7bugs
utzoo!duke!trt
Tue Jan  6 22:01:40 1981
du bug
"du" works incorrectly if given a list of pathnames
in which a relative pathname (one not beginning with '/')
follows a pathname containing a '/':
       cd /; du usr/tmp etc
The reason is that in such cases "du" uses chdir()
to leave the current directory, never to return.
One cure is for "du" to invoke "pwd" initially
to be able to get back to the current directory ("find" does that).

Also, if there is more than one pathname argument
there should be a grand total at the end -- it is often what is wanted.
The documented non-directory argument bug should be fixed, too.
And the diagnostic messages are not so hot either ...

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.