[tex-live] QA Notice: Package has poor programming practices

Karl Berry karl at freefriends.org
Tue May 5 02:36:50 CEST 2009

Hi Toralf,

     * xetexdir/jpegimage.c:143: warning: incompatible implicit declaration of 
    built-in function 'free'

Evidently xetexdir/jpegimage.c does not do
#include <stdlib.h>

Jonathan, any reason not to simply add that line?

It does, bizarrely, #include <memory.h>, although I don't see bcopy and
the like being used.  <string.h> would be the standard header for the
str* functions, for umpteen years now.  Even on BSD systems :).

The different jpegimage.c in xetex vs. (x)dvipdfmx is unfortunate.


More information about the tex-live mailing list