FreeBSD Bugzilla – Attachment 179660 Details for
Bug 216636
sysutils/samesame: fails to build with clang 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch use a explicit cast (void *) and a more specific value -1
samesame-mainAction.patch (text/plain), 625 bytes, created by
akruijff
on 2017-02-05 22:50:35 UTC
(
hide
)
Description:
The patch use a explicit cast (void *) and a more specific value -1
Filename:
MIME Type:
Creator:
akruijff
Created:
2017-02-05 22:50:35 UTC
Size:
625 bytes
patch
obsolete
>--- src/mainAction.cpp.orig 2017-02-05 23:45:42.131598000 +0100 >+++ src/mainAction.cpp 2017-02-05 23:46:13.857612000 +0100 >@@ -181,7 +181,7 @@ > // strcpy(p, optarg); > pipeLeafs = popen(optarg, "w"); > setlinebuf(pipeLeafs); >- if (pipeLeafs < 0) >+ if (pipeLeafs == (void *)-1) > warn("coudn't open pipe to: %s\n", optarg); > else if (outputLeafs) > { >@@ -194,7 +194,7 @@ > fclose(outputLeafs); > outputLeafs = fopen(optarg, "w"); > setlinebuf(outputLeafs); >- if (outputLeafs < 0) >+ if (outputLeafs == (void *)-1) > warn("open file: %s\n", optarg); > else if (pipeLeafs) > {
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 216636
: 179660 |
180974