diff options
author | Roland McGrath <roland@gnu.org> | 1996-01-17 02:41:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-01-17 02:41:04 +0000 |
commit | b8aec9fa1ae9786d8e241e628efaa71d436516af (patch) | |
tree | b8c2cdc44eb0a85c6a3b82fc258a15edbb5d2636 | |
parent | 13bc775dc35e2aaa11f53ad577647bcd3e89b3d1 (diff) | |
download | glibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.tar glibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.tar.gz glibc-b8aec9fa1ae9786d8e241e628efaa71d436516af.tar.bz2 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | MakeTAGS | 4 | ||||
-rw-r--r-- | db/btree/bt_seq.c | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -18,6 +18,12 @@ Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 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. + * stdio-common/vfscanf.c (inchar, conv_error, input_error, memory_error): Add cast to void to avoid gcc warning. (vfscanf): Rewrite character class parsing to make it more efficient. @@ -83,13 +83,13 @@ all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist)) # All different versions of $(sources), preserving the configured sysdep # directory order. -all-sources = $(shell find $(all-dirs) -maxdepth 1 \( -name fnord \ +all-sources = $(shell find . $(all-dirs) -maxdepth 1 \( -name fnord \ $(foreach file,$(sort $(sources) $(sources:.c=.S) \ $(sources:.c=.s)),\ -o -name $(file)) \ \) -print) -all-headers = $(shell find $(all-dirs) -maxdepth 1 \( -name fnord \ +all-headers = $(shell find . $(all-dirs) -maxdepth 1 \( -name fnord \ $(foreach file,$(headers),-o -name $(file)) \ \) -print) 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; |