8b57e59ea9
passing "", "." or ".." as name caused a crash in getenv() as it would open the directory; then seek() to determine the file size would fail and return -1. now checking for these special names and set error string when its bad. doing a single read() will not work when /env has a 9p fileserver mounted onto it and the file size is bigger than the i/o unit. so doing incremental reads until we get eof. |
||
---|---|---|
.. | ||
9sys | ||
9syscall | ||
386 | ||
68000 | ||
68020 | ||
alpha | ||
amd64 | ||
arm | ||
fmt | ||
mips | ||
port | ||
power | ||
sparc | ||
mkfile |