#
68244 |
| 07-Feb-1995 |
bostic |
wrong termination statement, could cause the environment to be trashed |
#
68223 |
| 03-Feb-1995 |
pendry |
break getcwd into two layers. |
#
68219 |
| 02-Feb-1995 |
bostic |
ignore ${PWD} unless it begins with a leading slash |
#
68218 |
| 31-Jan-1995 |
bostic |
check $PWD first, if it's right, it's fast |
#
61111 |
| 04-Jun-1993 |
bostic |
4.4BSD snapshot (revision 8.1); add 1993 to copyright |
#
54722 |
| 06-Jul-1992 |
bostic |
realloc may have changed the pointer value; from Sean Fagan |
#
46645 |
| 24-Feb-1991 |
bostic |
off-by-one in path termination |
#
46597 |
| 23-Feb-1991 |
donn |
Add include files to get prototype declarations, and fix bugs found. |
#
46483 |
| 20-Feb-1991 |
bostic |
rename getwd to getcwd for POSIX.1 compatibility add System V, X/Open style path malloc'ing if user argument is NULL. |
#
42625 |
| 01-Jun-1990 |
bostic |
new copyright notice |
#
42396 |
| 27-May-1990 |
bostic |
don't lstat if not crossing a mount point |
#
40556 |
| 20-Mar-1990 |
karels |
keep going if lstat fails on random directory entry; don't just skip a level (or more) if a directory isn't found in its parent; always return pathname in error string |
#
39700 |
| 12-Dec-1989 |
bostic |
return error message to the user |
#
37209 |
| 18-Mar-1989 |
bostic |
from scratch; leave '/' on end of all pathnames |
#
35300 |
| 02-Aug-1988 |
bostic |
don't reference free'd memory; bug report 4.3BSD/lib/129 |
#
26565 |
| 09-Mar-1986 |
donn |
added LIBC_SCCS condition for sccs ids |
#
21345 |
| 30-May-1985 |
dist |
Add copyright |
#
17867 |
| 24-Jan-1985 |
ralph |
modified to not call chdir(). Also, uses fewer stat()'s. |
#
17492 |
| 09-Dec-1984 |
lepreau |
report real path even if a symlink to a root dir comes first |
#
11370 |
| 02-Mar-1983 |
nicklin |
declared char *strcpy(); |
#
10156 |
| 05-Jan-1983 |
sam |
use MAXPATHLEN from <sys/param.h> |
#
10155 |
| 05-Jan-1983 |
sam |
new version from nicklin -- bugs to him |
#
10140 |
| 04-Jan-1983 |
sam |
make error messages returned legible |
#
10127 |
| 04-Jan-1983 |
sam |
don't abort, just return error in buff and NULL value |
#
10126 |
| 04-Jan-1983 |
sam |
missing check on chdir |