summaryrefslogtreecommitdiff
path: root/source/t/tetex/tetex.afm2tfm.getline.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/tetex/tetex.afm2tfm.getline.diff')
-rw-r--r--source/t/tetex/tetex.afm2tfm.getline.diff38
1 files changed, 38 insertions, 0 deletions
diff --git a/source/t/tetex/tetex.afm2tfm.getline.diff b/source/t/tetex/tetex.afm2tfm.getline.diff
new file mode 100644
index 00000000..8406aa89
--- /dev/null
+++ b/source/t/tetex/tetex.afm2tfm.getline.diff
@@ -0,0 +1,38 @@
+--- ./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)