FreeBSD Bugzilla – Attachment 28390 Details for
Bug 47776
[PATCH] ports/print/gv broken by recent security update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.05 KB, created by
Thomas Moestl
on 2003-02-01 00:30:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thomas Moestl
Created:
2003-02-01 00:30:15 UTC
Size:
1.05 KB
patch
obsolete
>--- source/ps.c.orig Sat Feb 1 00:56:20 2003 >+++ source/ps.c Sat Feb 1 01:17:43 2003 >@@ -1770,8 +1770,6 @@ > (DSCcomment(line) && iscomment(line+2,(comment))) > #define IS_BEGIN(comment) \ > (iscomment(line+7,(comment))) >-#define IS_END(comment) \ >- (iscomment(line+5,(comment))) > #define SKIP_WHILE(cond) \ > while (readline(fd, &line, NULL, &nbytes) && (cond)) *line_lenP += nbytes;\ > skipped=1; >@@ -1808,10 +1806,10 @@ > #endif > if (!IS_COMMENT("Begin")) {} /* Do nothing */ > else if IS_BEGIN("Document:") { /* Skip the EPS without handling its content */ >- while (line && !IS_END("Document")) { >- line = ps_io_fgetchars(fd,-1); >- if (line) *line_lenP += FD_LINE_LEN; >- } >+ while ((line = ps_io_fgetchars(fd,-1)) && !IS_COMMENT("EndDocument")) >+ *line_lenP += FD_LINE_LEN; >+ nbytes = line ? FD_LINE_LEN : 0; >+ skipped = 1; > } > else if IS_BEGIN("Feature:") SKIP_UNTIL_1("EndFeature") > #ifdef USE_ACROREAD_WORKAROUND
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47776
: 28390