* Fix for ebrowse bug?
@ 2005-09-18 18:53 Chong Yidong
2005-09-18 19:12 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2005-09-18 18:53 UTC (permalink / raw)
This should fix the bug in ebrowse mentioned in FOR-RELEASE. Can
someone confirm that it works?
*** emacs/lib-src/ebrowse.c.~1.39.~ 2005-08-07 06:44:16.000000000 -0400
--- emacs/lib-src/ebrowse.c 2005-09-18 14:46:54.000000000 -0400
***************
*** 648,654 ****
h %= TABLE_SIZE;
for (sym = class_table[h]; sym; sym = sym->next)
! if (streq (name, sym->name) && sym->namesp == scope)
break;
if (sym == NULL)
--- 648,654 ----
h %= TABLE_SIZE;
for (sym = class_table[h]; sym; sym = sym->next)
! if (streq (name, sym->name) && streq (sym->namesp->name, scope->name))
break;
if (sym == NULL)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix for ebrowse bug?
2005-09-18 18:53 Fix for ebrowse bug? Chong Yidong
@ 2005-09-18 19:12 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2005-09-18 19:12 UTC (permalink / raw)
The previous patch I sent was bugged. Here is a corrected version.
Can someone confirm that it works?
*** emacs/lib-src/ebrowse.c.~1.39.~ 2005-08-07 06:44:16.000000000 -0400
--- emacs/lib-src/ebrowse.c 2005-09-18 15:10:27.000000000 -0400
***************
*** 648,654 ****
h %= TABLE_SIZE;
for (sym = class_table[h]; sym; sym = sym->next)
! if (streq (name, sym->name) && sym->namesp == scope)
break;
if (sym == NULL)
--- 648,657 ----
h %= TABLE_SIZE;
for (sym = class_table[h]; sym; sym = sym->next)
! if (streq (name, sym->name)
! && ((!sym->namesp && !scope)
! || (sym->namesp && scope
! && streq (sym->namesp->name, scope->name))))
break;
if (sym == NULL)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-18 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-18 18:53 Fix for ebrowse bug? Chong Yidong
2005-09-18 19:12 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.