home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0015 < prev    next >
Encoding:
Text File  |  1981-05-28  |  693 b   |  19 lines

  1. Aduke.583
  2. NET.v7bugs
  3. utzoo!duke!trt
  4. Tue Jan  6 22:01:40 1981
  5. du bug
  6. "du" works incorrectly if given a list of pathnames
  7. in which a relative pathname (one not beginning with '/')
  8. follows a pathname containing a '/':
  9.     cd /; du usr/tmp etc
  10. The reason is that in such cases "du" uses chdir()
  11. to leave the current directory, never to return.
  12. One cure is for "du" to invoke "pwd" initially
  13. to be able to get back to the current directory ("find" does that).
  14.  
  15. Also, if there is more than one pathname argument
  16. there should be a grand total at the end -- it is often what is wanted.
  17. The documented non-directory argument bug should be fixed, too.
  18. And the diagnostic messages are not so hot either ...
  19.