]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix getcwd. It must return the length of the path including the terminating 0.
authorMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 17 Sep 1999 08:35:08 +0000 (08:35 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 17 Sep 1999 08:35:08 +0000 (08:35 +0000)
commit13d9e61a674ba8dbc03f64563e83527606af54cc
tree1b6faed5a505156d54deee4bc5dbd639b738a0c4
parentf35e5d0ef0a10ebda81a076bbd838d12b916dab5
Fix getcwd. It must return the length of the path including the terminating 0.
While I'm here, fix style and debug printf.

Fix derived from patch by: Darryl Okahata <darrylo@sr.hp.com>
sys/compat/linux/linux_file.c
sys/i386/linux/linux_file.c