git: libc: Change getlogin_r()'s second argument to size_t, as POSIX likes it.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Dec 1 07:25:12 PST 2019


commit 9358893d8e1cee610f525352592aca6c43ad7cfd
Author: Sascha Wildner <saw at online.de>
Date:   Sun Dec 1 16:25:01 2019 +0100

    libc: Change getlogin_r()'s second argument to size_t, as POSIX likes it.
    
    https://pubs.opengroup.org/onlinepubs/9699919799/functions/getlogin.html
    
    Also adjust the getconf syscall, aka _getconf() in userland, which is
    called by getconf(3) and getconf_r(3).
    
    Approved-by: dillon
    Tested-by:   zrj

Summary of changes:
 include/unistd.h         | 2 +-
 lib/libc/gen/getlogin.c  | 6 +++---
 lib/libc/sys/getlogin.2  | 5 ++---
 sys/kern/syscalls.master | 2 +-
 sys/sys/sysproto.h       | 2 +-
 5 files changed, 8 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9358893d8e1cee610f525352592aca6c43ad7cfd


-- 
DragonFly BSD source repository


More information about the Commits mailing list