diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-06-13 10:21:31 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-06-13 10:21:31 +0000 |
commit | f2eb839f9d966668078f361bdb7bdd08d96ca83b (patch) | |
tree | 90f0fc2f50f0e125ecb99488c3a48da698a30c2c /net/irrd/files/patch-database.c | |
parent | Add an entry for Chora and IMP. (diff) |
o Add a rcNG script.
o Add dependency on ftp/wget.
o Fix re-close(3) problem.
o Add signal mask if already signaled.
Submitted by: TAKANO Yuji <takano@net-chef.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=111381
Diffstat (limited to 'net/irrd/files/patch-database.c')
-rw-r--r-- | net/irrd/files/patch-database.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/irrd/files/patch-database.c b/net/irrd/files/patch-database.c new file mode 100644 index 000000000000..1b8e2a1cf2ed --- /dev/null +++ b/net/irrd/files/patch-database.c @@ -0,0 +1,13 @@ +--- programs/IRRd/database.c.orig Fri Oct 18 05:02:29 2002 ++++ programs/IRRd/database.c Thu Apr 22 17:13:52 2004 +@@ -61,7 +61,9 @@ + HASH_Clear (db->hash_spec); + + db->radix = New_Radix (128); +- fclose (db->db_fp); ++ ++ if (db->db_fp != NULL) ++ fclose (db->db_fp); + + db->db_fp = NULL; + db->db_syntax = EMPTY_DB; |