• 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
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
sudo.bash Loading commit data...