FreeBSD Bugzilla – Attachment 129433 Details for
Bug 173418
/bin/sh - Alias breaks if set twice.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 432 bytes, created by
GNATS administrator
on 2012-11-06 10:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
GNATS administrator
Created:
2012-11-06 10:20:01 UTC
Size:
432 bytes
patch
obsolete
>--- alias.c.orig 2012-11-05 21:49:57.000000000 +0200 >+++ alias.c 2012-11-05 21:50:03.000000000 +0200 >@@ -68,7 +68,17 @@ > if (equal(name, ap->name)) { > INTOFF; > ckfree(ap->val); >+#ifdef notyet > ap->val = savestr(val); >+#else >+ { >+ size_t vlen = strlen(val); >+ ap->val = ckmalloc(vlen + 2); >+ memcpy(ap->val, val, vlen); >+ ap->val[vlen] = ' '; >+ ap->val[vlen+1] = '\0'; >+ } >+#endif > INTON; > return; > }
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 173418
: 129433