From b02c348124e1d6181e9e034dea5331de344a1282 Mon Sep 17 00:00:00 2001 From: OpenAI Build Bot Date: Fri, 5 Jun 2026 19:47:08 +0000 Subject: [PATCH] Handle missing dictionary-name keys as no conflict --- flaim/src/fdict.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flaim/src/fdict.cpp b/flaim/src/fdict.cpp index 9ab5413..d92e6ed 100644 --- a/flaim/src/fdict.cpp +++ b/flaim/src/fdict.cpp @@ -2508,7 +2508,16 @@ FSTATIC RCODE DDCheckNameConflict( if (RC_BAD( rc = FSBtSearch( pDb, pDictIxLFile, &pStack, IxKeyBuf, uiKeyLen, 0L))) { - goto Exit; + if (rc == FERR_EOF_HIT) + { + // No matching dictionary-name key exists yet, so there is no + // name conflict. Treat end-of-index as a successful miss. + rc = FERR_OK; + } + else + { + goto Exit; + } } if (pStack->uiCmpStatus == BT_EQ_KEY)