This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4


On 16 March 2006 16:32, Christopher Faylor wrote:

> On Thu, Mar 16, 2006 at 04:19:14PM -0000, Dave Korn wrote:
>> Take a /look/ at the source for myfault::faulted in cygtls.h, it calls
>> out to _cygtls::setup_fault, which calls _sjfault, which appears to be
>> a q'n'd hacked-up version of setjmp in a context where it's going to
>> get called back by an SEH handler.  So IIUIC, calling 'efault.faulted'
>> will catch any exception that happens from the point of the call until
>> the point where the efault object goes out of scope and gets destructed
>> and will cause execution to jump back to the if...  clause.
> 
> What is this "take a /look/" thing you're talking about?  What kind of
> photonic voodoo are you proposing?

  Spooky action at a distance!  <points> Go, and never darken my retinae
again!

> I've wasted a full day trying to understand what you're talking about.
> What is the problem with understanding this code without looking at it?
> 
> cgf

  <jumps to his feet>  HAIL FREEDONIA!  <sings>  Hail, hail Freedonia, Land of
the Brave And Freeee-eeee-eeeeeeeeeee!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]