Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
pslib
pslib-getline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pslib-getline.patch of Package pslib
--- src/ps_afm.c +++ src/ps_afm.c @@ -138,7 +138,7 @@ return (int)(acc>=0? floor(acc+0.5) : ceil(acc-0.5) ) ; } -static int getline(FILE *afmin) { +static int xgetline(FILE *afmin) { char *p ; int c ; @@ -616,7 +616,7 @@ return(-1); } - while (getline(fp)) { + while (xgetline(fp)) { switch(interest(paramstring())) { case N: handleprotusion(psdoc, metrics) ; @@ -664,7 +664,7 @@ /* * Read file line by line. */ - while (getline(metric->afmin)) { + while (xgetline(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 (xgetline(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 (xgetline(metrics->afmin)) { for (p=buffer; *p != '\0'; p++) if (*p == '%') { if (ignoreligkern == 0)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor