diff options
| author | Paul Traina <pst@FreeBSD.org> | 1996-02-25 18:58:13 +0000 | 
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1996-02-25 18:58:13 +0000 | 
| commit | 8c37640079fb54f82863bce28861a986bf647994 (patch) | |
| tree | a9b36140a385c52af4be44a31523209cdd7f182e /lib/libc | |
| parent | 4c20fd2619960388c6cf9f062c88f50b6dcc8a77 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/db/hash/hash.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/db/hash/hash.c b/lib/libc/db/hash/hash.c index e062ac7b1dcd..6a23f3d801cb 100644 --- a/lib/libc/db/hash/hash.c +++ b/lib/libc/db/hash/hash.c @@ -122,8 +122,7 @@ __hash_open(file, flags, mode, info, dflags)  	new_table = 0;  	if (!file || (flags & O_TRUNC) || -	    (stat(file, &statbuf) && (errno == ENOENT)) || -	    statbuf.st_size == 0) { +	    (stat(file, &statbuf) && (errno == ENOENT))) {  		if (errno == ENOENT)  			errno = 0; /* Just in case someone looks at errno */  		new_table = 1;  | 
