about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-17 02:41:04 +0000
committerRoland McGrath <roland@gnu.org>1996-01-17 02:41:04 +0000
commitb8aec9fa1ae9786d8e241e628efaa71d436516af (patch)
treeb8c2cdc44eb0a85c6a3b82fc258a15edbb5d2636 /db
parent13bc775dc35e2aaa11f53ad577647bcd3e89b3d1 (diff)
downloadglibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.tar.gz
glibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.tar.xz
glibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.zip
Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
	* MakeTAGS (all-sources, all-headers): Always search the
	current directory first.

	* db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
	found.
	* MakeTAGS (all-sources, all-headers): Always search the
	current directory first.

	* db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
	found.
Diffstat (limited to 'db')
-rw-r--r--db/btree/bt_seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/btree/bt_seq.c b/db/btree/bt_seq.c
index 303b481903..eacef2998f 100644
--- a/db/btree/bt_seq.c
+++ b/db/btree/bt_seq.c
@@ -358,7 +358,7 @@ __bt_first(t, key, erval, exactp)
 	 * page) and return it.
 	 */
 	if ((ep = __bt_search(t, key, exactp)) == NULL)
-		return (NULL);
+		return (RET_SPECIAL);
 	if (*exactp) {
 		if (F_ISSET(t, B_NODUPS)) {
 			*erval = *ep;