CVSROOT: /cvs Module name: src Changes by: fg...@cvs.openbsd.org 2011/11/09 08:34:19
Modified files: include : unistd.h Log message: getcwd() buffer's length can be smaller than 1024. In that case it will fail with errno set to ERANGE if not enough room is provided. Similar for getlogin_r() so remove minbytes enforcement attribute. ok kettenis@ guenther@ deraadt@ on getcwd, deraadt@ on getlogin_r.