[tex-k] fixes
Thomas Esser
te@informatik.uni-hannover.de
Mon, 3 Dec 2001 21:10:20 +0100
Just forwarding...
Thomas
--
>From te Mon Dec 3 20:27:16 2001
Date: Mon, 3 Dec 2001 14:09:30 -0500 (EST)
From: Ezra Peisach <epeisach@zif.mit.edu>
To: te@informatik.uni-hannover.de
CC: tetex-pretest@informatik.uni-hannover.de
In-reply-to: <200112021554.fB2Fs6gu022079@gauss.informatik.uni-hannover.de>
(message from Thomas Esser on Sun, 2 Dec 2001 16:54:06 +0100)
Subject: Re: 2001/12/02 pretest
References: <200112021554.fB2Fs6gu022079@gauss.informatik.uni-hannover.de>
X-UIDL: 0<T"!j42!!)Mo!!lm*!!
Two compilation problems under Irix 6.5, compiling with "cc -32" and "CC -32."
a) Xpdf: Use of bool when perhaps GBool is appropriate in the rest of
the sources
b) dvipsk: Native C does not support "//" as comment character. gcc
will allow it, but with warnings.
--- teTeX-src-beta-20011202/libs/xpdf/xpdf/Page.h.orig Mon Dec 3 12:57:26 2001
+++ teTeX-src-beta-20011202/libs/xpdf/xpdf/Page.h Mon Dec 3 12:57:41 2001
@@ -37,7 +37,7 @@
}
// has the Rectangle meaningful information?
- bool isValid () {
+ GBool isValid () {
return x1 || x2 || y1 || y2;
}
};
--- teTeX-src-beta-20011202/texk/dvipsk/writet1.c.start Mon Dec 3 14:13:54 2001
+++ teTeX-src-beta-20011202/texk/dvipsk/writet1.c Mon Dec 3 14:14:19 2001
@@ -1744,7 +1744,7 @@
for (i = 0; i <= MAX_CHAR_CODE; i++)
if (ext_glyph_names[i] != notdef)
free(ext_glyph_names[i]);
- return 1 ; // note: there *is* no unsuccessful return
+ return 1 ; /* note: there *is* no unsuccessful return */
}
boolean t1_subset_2(char *fontfile, unsigned char *g, char *extraGlyphs)
{
@@ -1759,6 +1759,6 @@
for (i = 0; i <= MAX_CHAR_CODE; i++)
if (ext_glyph_names[i] != notdef)
free(ext_glyph_names[i]);
- return 1 ; // note: there *is* no unsuccessful return
+ return 1 ; /* note: there *is* no unsuccessful return */
}
#endif /* not pdfTeX */