FreeBSD Bugzilla – Attachment 59696 Details for
Bug 89799
[patch] Making natd(8) not require a newline at the end of a configuration file.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 802 bytes, created by
Jason Burgess
on 2005-12-01 16:00:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jason Burgess
Created:
2005-12-01 16:00:11 UTC
Size:
802 bytes
patch
obsolete
>--- natd.c Thu Dec 1 09:45:19 2005 >+++ natd.c.orig Thu Dec 1 09:44:48 2005 >@@ -1498,17 +1498,8 @@ > if (buf[len - 1] == '\n') > buf[len - 1] = '\0'; > else >- if (buf[len - 1] != '\0') >- { >- len++; >- buf = strcat(buf, "\0"); >- } >-/* >- * This is being changed to correct the problem instead. >- * >- * errx(1, "config file format error: " >- * "last line should end with newline"); >- */ >+ errx(1, "config file format error: " >+ "last line should end with newline"); > > /* > * Check for comments, strip off trailing spaces.
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 89799
: 59696