git: kernel: fix getcwd(3) return value for non-existing directory
Daniel Fojt
deef at crater.dragonflybsd.org
Sun Nov 1 09:26:13 PST 2020
commit d6853f97ded3315b0aafef3d9ab100ea36728373
Author: Daniel Fojt <df at neosystem.org>
Date: Sun Nov 1 17:53:52 2020 +0100
kernel: fix getcwd(3) return value for non-existing directory
In case current directory no longer exists, properly return ENOENT
from getcwd(), as described in manpage.
Issue: https://bugs.dragonflybsd.org/issues/3250
Summary of changes:
sys/kern/vfs_cache.c | 5 +++++
1 file changed, 5 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d6853f97ded3315b0aafef3d9ab100ea36728373
--
DragonFly BSD source repository
More information about the Commits
mailing list