summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
14b743d)
SCCS-vsn: lib/libc/db/hash/hash.c 5.19
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)hash.c 5.18 (Berkeley) %G%";
+static char sccsid[] = "@(#)hash.c 5.19 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
- (void)close(hashp->fp);
+ if (hashp != NULL)
+ (void)close(hashp->fp);