CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/02/26 10:42:12
Modified files:
lib/libc/gen : login_cap.c
Log message:
setuserenv: a missing /etc/login.conf file is not an error.
The code to handle LOGIN_SETENV (and thus LOGIN_SETALL) returned
an error if /etc/login.conf could not be opened. We should simply
return success from setuserenv() in this case like we do for the
other flags. From Matthew Martin, OK deraadt@
