|
From: | jemarch |
Subject: | Re: [pdf-devel] Public API and gl_list |
Date: | Thu, 13 Mar 2008 11:30:21 +0100 |
User-agent: | Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
I doubt the GNU people will change the behavior though; that may affect too many other programs. The change would be to adapt the several gl_list implementations to expect a NULL value from the x(re)alloc functions. AFAIK it would not require to change the gl_list API in an incompatible way. The only difference would arise in the case of a program defining a `die' function that does nothing. Currently that produces a segmentation fault instead of communicating the error to the caller.
[Prev in Thread] | Current Thread | [Next in Thread] |