Bugzilla – Attachment 328 Details for
Bug 596
"ProxyCommand none" doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to strip terminating newlines from config file lines
openssh-3.6.1p2-strip-newline.patch (text/plain), 535 bytes, created by
Jim Blandy
on 2003-06-17 07:57:10 AEST
(
hide
)
Description:
Patch to strip terminating newlines from config file lines
Filename:
MIME Type:
Creator:
Jim Blandy
Created:
2003-06-17 07:57:10 AEST
Size:
535 bytes
patch
obsolete
>20030616 > - (jimb) Remove any final newline from configuration file lines. > >*** readconf.c.~1~ 2003-04-01 06:43:39.000000000 -0500 >--- readconf.c 2003-06-16 12:41:40.000000000 -0500 >*************** >*** 292,297 **** >--- 292,302 ---- > > opcode = parse_token(keyword, filename, linenum); > >+ /* Trim off any final newline. */ >+ len = strlen (s); >+ if (len > 0 && s[len - 1] == '\n') >+ s[len - 1] = '\0'; >+ > switch (opcode) { > case oBadOption: > /* don't panic, but count bad options */
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 596
: 328