Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | System calls return -1 upon failure, so check for -1 | 2006-05-27 | 1 | -2/+2 | |
| | | | | Pointed out by deraadt@ | ||||
* | Don't leak memory if getcwd() was passed NULL and __getcwd() fails | 2006-05-27 | 1 | -3/+10 | |
| | | | | Okay miod@ sturm@ deraadt@ | ||||
* | Make libc's getcwd() use the new __getcwd() system call | 2006-05-27 | 1 | -216/+22 | |
| | | | | Hacked by marius@ at c2k5, okay miod@ krw@ deraadt@ | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | Save errno from clobbering by clsoedir() in the err case. | 2005-06-01 | 1 | -1/+6 | |
| | | | | From Andrey Matveev; OK deraadt@ | ||||
* | deregister (and deauto!). ok millert@ marco@ | 2005-03-25 | 1 | -7/+7 | |
| | |||||
* | Replace bcopy() with memcpy() and memmove() so it is obvious what | 2005-01-06 | 1 | -8/+7 | |
| | | | | | is a move and what is a copy. Also remove an unneeded variable. No functional change. | ||||
* | Fix handling of memory allocation. Both the initial value of eup | 2005-01-05 | 1 | -8/+7 | |
| | | | | | | | | | | and the new value of bup after realloc() were bogus. This bug has been here since the net.2 days. Additionally, make the initial size of the malloc'ed pieces of mem more sane and kill a redundant test before free(). getcwd(3) is now able to return really long paths. Problem spotted by Peter Philipp <philipp at scan-plus dot de> ok millert@ deraadt@ | ||||
* | ansification; checked by pval | 2003-06-11 | 1 | -4/+2 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | Fix comment: s/trailing NULL/trailing NUL/, no code changes. | 2002-11-24 | 1 | -2/+2 | |
| | |||||
* | off-by-one calculation error; getcwd() would return NULL if the buffer was | 2000-07-19 | 1 | -2/+2 | |
| | | | | the needed length + terminating byte + 1; that 1 is not needed; assar | ||||
* | realloc repair | 1998-08-14 | 1 | -4/+10 | |
| | |||||
* | Clean up some -Wall complaints. | 1997-07-09 | 1 | -2/+2 | |
| | |||||
* | Fix file descriptor leak on error. Noticed by bitblt. | 1996-11-27 | 1 | -2/+4 | |
| | |||||
* | Fix RCS ids | 1996-08-19 | 1 | -7/+1 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+236 | |