• Anthony Martin's avatar
    syscall: fix a number of exec bugs on Plan 9 · 54916234
    Anthony Martin authored
    1. Readdirnames was erroneously returning an
       empty slice on every invocation.
    
    2. The logic for determining which files to
       close before exec was incorrect.  If the
       set of files to be kept open (provided by
       the caller) did not include the files
       opened at startup, those files would be
       accidentally closed.
    
    I also cleaned up readdupdevice while I was
    in the vicinity.
    
    R=golang-dev, seed, rsc
    CC=golang-dev
    https://golang.org/cl/6016044
    54916234
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...