git: realpath(1): Return ENOENT if filename is empty string.

Stathis Kamperis beket at crater.dragonflybsd.org
Fri Jan 1 10:41:20 PST 2010


commit 66546629446c1c63ff8423d7e5484fc1365c9590
Author: Stathis Kamperis <beket at dragonflybsd.org>
Date:   Fri Jan 1 15:55:34 2010 +0200

    realpath(1): Return ENOENT if filename is empty string.
    
    Mandated by POSIX.
    
    Linux, NetBSD and OpenSolaris do the same, so we are on
    the safe side.
    
    Shortly-discussed-with: aggelos@

Summary of changes:
 lib/libc/stdlib/realpath.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/66546629446c1c63ff8423d7e5484fc1365c9590


-- 
DragonFly BSD source repository





More information about the Commits mailing list