Re: SEGV when lookup_* returns NULL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Morten Welinder
Date: Monday, November 27, 2006 - 7:23 pm

> Why?  You would certainly install your own die() handler by that

Likely, but short of exiting or using longjmp/setjmp what can you do
in such a "die"?  Not much.  And most GUI users will be unhappy
with the exit approach.

If there is any chance that the error is not the programmer's fault, a
nice library ought to pass the error back somehow.

Morten
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SEGV when lookup_* returns NULL, Martin Waitz, (Mon Nov 27, 2:13 pm)
Re: SEGV when lookup_* returns NULL, Junio C Hamano, (Mon Nov 27, 2:55 pm)
Re: SEGV when lookup_* returns NULL, Johannes Schindelin, (Mon Nov 27, 4:33 pm)
Re: SEGV when lookup_* returns NULL, Junio C Hamano, (Mon Nov 27, 5:13 pm)
Re: SEGV when lookup_* returns NULL, Morten Welinder, (Mon Nov 27, 7:23 pm)