git: DragonFly_RELEASE_5_8 kernel: fix getcwd(3) return value for non-existing directory
Daniel Fojt
deef at crater.dragonflybsd.org
Sun Nov 1 09:58:20 PST 2020
commit 6e9a8bad69393a933db8776ca33799ed0302eada
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/6e9a8bad69393a933db8776ca33799ed0302eada
--
DragonFly BSD source repository
More information about the Commits
mailing list