![]() |
SA Bugzilla – Full Text Bug Listing |
Summary: | spamc cannot be build on Windows | ||
---|---|---|---|
Product: | Spamassassin | Reporter: | Martin Puppe <puppe> |
Component: | spamc/spamd | Assignee: | SpamAssassin Developer Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kmcgrail, puppe |
Priority: | P2 | ||
Version: | 3.4 SVN branch | ||
Target Milestone: | Undefined | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: | |||
Attachments: | Proposed patch |
Description
Martin Puppe
2018-09-06 11:19:29 UTC
Created attachment 5595 [details] Proposed patch Here is the proposed patch. Both fixes are relatively straight-forward. I have tried to replicate the behavior of err. The new implementation is mostly equivalent with one exception. Instead of "the last component of the program name" [^1], my implementation prints argv[0]. Is that acceptable? [^1]: http://man7.org/linux/man-pages/man3/err.3.html I don't have any concern on an error message using argv before an exit. 3.4: Committed revision 1841065. trunk: Committed revision 1841066. |