Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197536 Details for
Bug 277425
dev-libs/pslib: fails to build with glibc-2.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for ps_afm.c to fix the getline shenanigans
ps_afm-fix-getline.patch (text/plain), 1.21 KB, created by
Viktor S
on 2009-07-11 12:48:41 UTC
(
hide
)
Description:
patch for ps_afm.c to fix the getline shenanigans
Filename:
MIME Type:
Creator:
Viktor S
Created:
2009-07-11 12:48:41 UTC
Size:
1.21 KB
patch
obsolete
>--- ps_afm.c 2007-07-11 20:18:00.000000000 +0200 >+++ ps_afm.c.fixed 2009-07-11 14:47:22.000000000 +0200 >@@ -138,7 +138,7 @@ > return (int)(acc>=0? floor(acc+0.5) : ceil(acc-0.5) ) ; > } > >-static int getline(FILE *afmin) { >+static int pslib_getline(FILE *afmin) { > char *p ; > int c ; > >@@ -616,7 +616,7 @@ > return(-1); > } > >- while (getline(fp)) { >+ while (pslib_getline(fp)) { > switch(interest(paramstring())) { > case N: > handleprotusion(psdoc, metrics) ; >@@ -664,7 +664,7 @@ > /* > * Read file line by line. > */ >- while (getline(metric->afmin)) { >+ while pslib_getline(metric->afmin)) { > switch(interest(paramstring())) { > case FontName: > metric->fontname = paramnewstring(psdoc) ; >@@ -1039,7 +1039,7 @@ > > while (1) { > while (param == NULL || *param == '\0') { >- if (getline(metrics->afmin) == 0) >+ if (pslib_getline(metrics->afmin) == 0) > ps_error(psdoc, PS_RuntimeError, _("Premature end of encoding file.")); > for (p=buffer; *p != '\0'; p++) > if (*p == '%') { >@@ -1160,7 +1160,7 @@ > psdoc->free(psdoc, e); > return -1; > } >- while (getline(metrics->afmin)) { >+ while (pslib_getline(metrics->afmin)) { > for (p=buffer; *p != '\0'; p++) > if (*p == '%') { > if (ignoreligkern == 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277425
:
197530
|
197536
|
197538
|
199632