FreeBSD Bugzilla – Attachment 42683 Details for
Bug 66508
maintainer-update of mail/mutt-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 759 bytes, created by
Udo.Schweigert
on 2004-05-11 06:30:24 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Udo.Schweigert
Created:
2004-05-11 06:30:24 UTC
Size:
759 bytes
patch
obsolete
>diff -ru /usr/ports/mail/mutt-devel/files/patch-mktemp ./files/patch-mktemp >--- /usr/ports/mail/mutt-devel/files/patch-mktemp Tue May 11 06:06:23 2004 >+++ ./files/patch-mktemp Tue May 11 07:17:12 2004 >@@ -7,9 +7,9 @@ > - snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++); > + char t[7]; > + snprintf (t, 7, "-%05d", Counter++); >-+ snprintf (s, _POSIX_PATH_MAX-7, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname)); >++ snprintf (s, _POSIX_PATH_MAX-6, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname)); > + mktemp (s); >-+ strncat(s, t, _POSIX_PATH_MAX); >++ strncat(s, t, 6); > dprint (1, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); > unlink (s); > }
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 66508
: 42683