summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-01-09 16:21:58 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-01-09 16:21:58 +0000
commitcf2582baf0ff1957dea256c5c86c535b7bb84d56 (patch)
tree415d1989551067a0573b7d99818e30999636bdec /sys/kern/subr_disk.c
parentfeb2c2111190ec173af2abab2797cb84e851df52 (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/subr_disk.c')
0 files changed, 0 insertions, 0 deletions