FreeBSD Bugzilla – Attachment 5668 Details for
Bug 13397
vi(1) nvi mishandles tags files under certain conditions.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 826 bytes, created by
Frank.Mayhar
on 1999-08-26 16:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Frank.Mayhar
Created:
1999-08-26 16:40:01 UTC
Size:
826 bytes
patch
obsolete
>Index: ex_tag.c >=================================================================== >RCS file: /cvs/repos/src/contrib/nvi/ex/ex_tag.c,v >retrieving revision 1.2 >diff -c -r1.2 ex_tag.c >*** ex_tag.c 1997/04/18 23:36:43 1.2 >--- ex_tag.c 1999/06/25 20:59:29 >*************** >*** 1339,1349 **** > stat(name, &sb) && (p = strrchr(tfp->name, '/')) != NULL) { > *p = '\0'; > len = snprintf(buf, sizeof(buf), "%s/%s", tfp->name, name); >- *p = '/'; > if (stat(buf, &sb) == 0) { > *dirp = tfp->name; > *dlenp = strlen(*dirp); > } > } > } > >--- 1339,1349 ---- > stat(name, &sb) && (p = strrchr(tfp->name, '/')) != NULL) { > *p = '\0'; > len = snprintf(buf, sizeof(buf), "%s/%s", tfp->name, name); > if (stat(buf, &sb) == 0) { > *dirp = tfp->name; > *dlenp = strlen(*dirp); > } >+ *p = '/'; > } > }
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 13397
: 5668