diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2012-09-12 17:05:39 +0000 | 
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2012-09-12 17:05:39 +0000 | 
| commit | 7877ed7ce33ed9b977ac9b521f9a2f95b5d589bd (patch) | |
| tree | b6b299860f16d820a3d00f3076e8c0cf3ae67e50 /lib/libc/stdlib/realpath.c | |
| parent | b5bec59148802a8bc658f4193999236f1a888e2c (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
| -rw-r--r-- | lib/libc/stdlib/realpath.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdlib/realpath.c b/lib/libc/stdlib/realpath.c index aded9b244e781..8fd5457af9c3e 100644 --- a/lib/libc/stdlib/realpath.c +++ b/lib/libc/stdlib/realpath.c @@ -181,8 +181,6 @@ realpath(const char * __restrict path, char * __restrict resolved)  			return (NULL);  		}  		if (lstat(resolved, &sb) != 0) { -			if (errno != ENOENT || p != NULL) -				errno = ENOTDIR;  			if (m)  				free(resolved);  			return (NULL);  | 
