According to Hubert Figuiere <[EMAIL PROTECTED]>:
> For the curious, see the one-liner patch.
Oops. It is included this time.
> Fixed a bug in hashtable where a pointer to a stack allocated object
> wath returned...
> Changed to a ref.
> Fix bugs 1482 and perhaps 1555.
I confirm, they are fixed. I have sent to QA both.
Hub
Index: src/af/util/xp/ut_hash.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/util/xp/ut_hash.cpp,v
retrieving revision 1.27
diff -c -r1.27 ut_hash.cpp
*** src/af/util/xp/ut_hash.cpp 2001/06/13 21:53:31 1.27
--- src/af/util/xp/ut_hash.cpp 2001/06/14 09:28:43
***************
*** 552,558 ****
const UT_String& UT_StringPtrMap::_key(UT_Cursor& c) const
{
! hash_slot slot = m_pMapping[c._get_index()];
if (!slot.empty() && !slot.deleted())
{
--- 552,558 ----
const UT_String& UT_StringPtrMap::_key(UT_Cursor& c) const
{
! hash_slot & slot = m_pMapping[c._get_index()];
if (!slot.empty() && !slot.deleted())
{