[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Release 1.8 of GNU dbm
From: |
Karen Woessner |
Subject: |
Release 1.8 of GNU dbm |
Date: |
Thu, 08 Aug 2002 14:21:01 -0400 |
In gdbm-1.8.0, the _gdbm_fatal routine in update.c is declared as an int
routine, but it doesn't return an integer. I looked at all invocations
of the _gdbm_fatal routine. I did not find any code invoking it and
expecting a return value. I changed the _gdbm_fatal routine in update.c
from an int to a void routine. I also checked proto.h to declare
_gdbm_fatal a void rather than an int routine.
1. diffs of prot.h:
--- proto.horig 2002-08-06 14:58:59.000000000 -0400
+++ proto.h 2002-08-06 14:59:16.000000000 -0400
@@ -55,7 +55,7 @@
/* From update.c */
void _gdbm_end_update __P((gdbm_file_info *));
-int _gdbm_fatal __P((gdbm_file_info *, char *));
+void _gdbm_fatal __P((gdbm_file_info *, char *));
/* From gdbmopen.c */
int _gdbm_init_cache __P((gdbm_file_info *, int));
2. diffs of update.c:
--- update.orig 2002-08-06 14:48:09.000000000 -0400
+++ update.c 2002-08-06 14:48:17.000000000 -0400
@@ -113,7 +113,7 @@
/* If a fatal error is detected, come here and exit. VAL tells which
fatal
error occured. */
-int
+void
_gdbm_fatal (dbf, val)
gdbm_file_info *dbf;
char *val;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Release 1.8 of GNU dbm,
Karen Woessner <=