1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-15 08:50:09 +01:00
slackware-current/source/t/tetex/tetex.afm2tfm.getline.diff

39 lines
1.1 KiB
Diff
Raw Normal View History

--- ./texk/dvipsk/afm2tfm.c.orig 2005-01-30 07:17:09.000000000 -0600
+++ ./texk/dvipsk/afm2tfm.c 2010-02-19 11:56:12.000000000 -0600
@@ -257,7 +257,7 @@
}
int
-getline P1H(void) {
+afm_int_getline P1H(void) {
register char *p ;
register int c ;
@@ -606,7 +606,7 @@
ai = newchar() ;
ai->adobenum = -1 ;
ai->adobename = "||" ; /* boundary character name */
- while (getline()) {
+ while (afm_int_getline()) {
switch(interest(paramstring())) {
case FontName:
fontname = paramnewstring() ;
@@ -1882,7 +1882,7 @@
while (1) {
while (param == 0 || *param == 0) {
- if (getline() == 0)
+ if (afm_int_getline() == 0)
error("! premature end in encoding file") ;
for (p=buffer; *p; p++)
if (*p == '%') {
@@ -1973,7 +1973,7 @@
p = gettoken() ;
if (strcmp(p, "]"))
error("! token 258 in encoding must be make-array (])") ;
- while (getline()) {
+ while (afm_int_getline()) {
for (p=buffer; *p; p++)
if (*p == '%') {
if (ignoreligkern == 0)