diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-01-09 16:21:58 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-01-09 16:21:58 +0000 |
commit | cf2582baf0ff1957dea256c5c86c535b7bb84d56 (patch) | |
tree | 415d1989551067a0573b7d99818e30999636bdec /sys/kern/uipc_usrreq.c | |
parent | feb2c2111190ec173af2abab2797cb84e851df52 (diff) |
A better fix for the mkdir ("path/") bug. This fix strips the trailing slashes
(except in the case where the path is just /////) in the following three
cases:
1) The path in mkdir
2) The destination path in rename if the source was a directory
3) The destination path in link if the source was a directory
Note #3 isn't strictly necessary since most of our file systems don't
support hard links of directories anyway.
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
0 files changed, 0 insertions, 0 deletions