pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] what's happening with error reporting?


From: jemarch
Subject: Re: [pdf-devel] what's happening with error reporting?
Date: Thu, 22 May 2008 11:46:39 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (powerpc-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Hi Cirilo.

   What's the latest news on error reporting within the libs?

We included some functions in `pdf-error.[ch]' that provide support
for tracing.

   The GNU docs recommend something like
   fprintf(stderr, __FILE__ ": %d: something went wrong: %s\n",
   __LINE__, cause);

We can output that data using the pdf-error.c functions.

   If you could indicate the position within the FILE (not within the
   stream), that may be useful for debugging the read/write routines
   later on because you can use a hex editor to inspect the file.

That is a quite good idea.

--
Jose E. Marchesi  <address@hidden>
                  <address@hidden>

GNU Spain         http://es.gnu.org
GNU Project       http://www.gnu.org





reply via email to

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