commit d6853f97ded3315b0aafef3d9ab100ea36728373
Author: Daniel Fojt <[email protected]>
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

Reply via email to