FreeBSD Bugzilla – Attachment 209500 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]
lang/pcc/files/patch-cc_cc_cc.c
patch-cc_cc_cc.c (text/plain), 650 bytes, created by
WHR
on 2019-11-28 06:14:05 UTC
(
hide
)
Description:
lang/pcc/files/patch-cc_cc_cc.c
Filename:
MIME Type:
Creator:
WHR
Created:
2019-11-28 06:14:05 UTC
Size:
650 bytes
patch
obsolete
>--- cc/cc/cc.c.orig 2014-12-06 09:52:55.000000000 +0000 >+++ cc/cc/cc.c 2019-11-28 06:10:58.380646000 +0000 >@@ -206,7 +206,7 @@ > #define PCCLIBDIR NULL > #endif > #ifndef DEFLIBDIRS /* default library search paths */ >-#ifdef MULTIARCH_PATH >+#ifndef MULTIARCH_PATH > #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 Raw
Actions:
View
Attachments on
bug 242276
:
209500
|
209501