emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for ebrowse bug?


From: Chong Yidong
Subject: Re: Fix for ebrowse bug?
Date: Sun, 18 Sep 2005 15:12:52 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]