git: libc - Update for realpath() system call support (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 2 12:22:49 PST 2020


commit be1373f6974b809136dc1b57c6a0f8fd745234e3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 2 12:21:59 2020 -0800

    libc - Update for realpath() system call support (2)
    
    * Fix bug last commit, on failure if a buffer is supplied we copy
      the source path to the target buffer before returning.
    
    Reported-by: zrj

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be1373f6974b809136dc1b57c6a0f8fd745234e3


-- 
DragonFly BSD source repository



More information about the Commits mailing list