[tex-live] dvipfdmx buglet in specials.h

Olaf Weber olaf at infovore.xs4all.nl
Sat Jan 20 14:57:52 CET 2007


Looking over the warnings emitted during the IRIX compilation, I
spotted multiple definitions of spc_handler in the dvipdfmx source.

As it stands, the code defines an instance of 'struct spc_handler'
called 'spc_handler' in the specials.h header file.  As far as I can
tell, the instance is not used, so the following should fix the
problem:

$ svn diff Build/source/texk/dvipdfmx/src/specials.h
Index: Build/source/texk/dvipdfmx/src/specials.h
===================================================================
--- Build/source/texk/dvipdfmx/src/specials.h   (revision 3625)
+++ Build/source/texk/dvipdfmx/src/specials.h   (working copy)
@@ -44,7 +44,7 @@
 struct spc_handler {
   const char         *key;
   spc_handler_fn_ptr  exec;
-} spc_handler;
+};

 /* This should not use pdf_. */
 extern void    spc_set_verbose (void);


-- 
Olaf Weber

               (This space left blank for technical reasons.)



More information about the tex-live mailing list