[tex-live] QA Notice: Package has poor programming practices
Karl Berry
karl at freefriends.org
Wed May 6 17:51:26 CEST 2009
Looks like some cleanup would be in order. Patches welcome! :)
I installed this change in tl's xetexdir/jpegimage.c. Hope it suits.
--- jpegimage.c (revision 12952)
+++ jpegimage.c (working copy)
@@ -1,6 +1,6 @@
/****************************************************************************\
Part of the XeTeX typesetting system
- copyright (c) 1994-2006 by SIL International
+ copyright (c) 1994-2009 by SIL International
written by Jonathan Kew
This program is free software; you can redistribute it and/or modify
@@ -79,7 +79,8 @@
#include "jpegimage.h"
-#include <memory.h>
+#include <stdlib.h>
+#include <string.h>
#include "kpathsea/lib.h" /* for xmalloc/xrealloc prototypes */
More information about the tex-live
mailing list