FreeBSD Bugzilla – Attachment 209501 Details for
Bug 242276
lang/pcc: pcc(1) cannot handle missing argument of option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lang.pcc.files.patch-cc_cc_cc.c.diff (svn diff)
lang.pcc.files.patch-cc_cc_cc.c.diff (text/plain), 639 bytes, created by
WHR
on 2019-11-28 06:21:20 UTC
(
hide
)
Description:
lang.pcc.files.patch-cc_cc_cc.c.diff (svn diff)
Filename:
MIME Type:
Creator:
WHR
Created:
2019-11-28 06:21:20 UTC
Size:
639 bytes
patch
obsolete
>Index: lang/pcc/files/patch-cc_cc_cc.c >=================================================================== >--- lang/pcc/files/patch-cc_cc_cc.c (revision 416864) >+++ lang/pcc/files/patch-cc_cc_cc.c (working copy) >@@ -9,3 +9,21 @@ > #define DEFLIBDIRS { "/usr/lib/", 0 } > #else > #define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 } >+@@ -475,7 +475,7 @@ >+ #endif >+ #endif >+ >+- while (--lac) { >++ while (--lac > 0) { >+ ++lav; >+ argp = *lav; >+ >+@@ -1464,7 +1464,7 @@ >+ if (lav[0][l] != 0) >+ return &lav[0][l]; >+ } >+- if (lac == 0) >++ if (lac < 2) >+ errorx(8, "missing argument to '%s'", o); >+ lav++; >+ lac--;
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 242276
:
209500
| 209501