diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2016-10-17 02:40:41 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2016-10-17 02:40:41 +0000 |
commit | da35507d98214f7d77401cf30df3ae0a8f638851 (patch) | |
tree | 334b86a48351a09d2c122492ad30ab7d111d9f26 /mail/mutt/files/patch-mktemp | |
parent | - Update to 1.9.160630 (diff) |
- Update to 1.7.1
- Move some vars around to make portlint happy
- Use MUTT_LITE instead of LITE
- Fetch deepif and date-contitional from remote locations
- Reword COMMENT
- Bring back remote patch versions incase mutt version and patch
versions arn't in sync
- Remove date_conditional patch pulled in remotely
- Add two new sidebar samples
- convert patch-* patches to makepatch patches
- Greeting patch 1.7.1 now PATCHFILE
- make makesum will pull all optional dist/patchfiles
PR: 213431
Submitted by: maintainer (dereks lifeofadishwasher com)
Notes
Notes:
svn path=/head/; revision=424090
Diffstat (limited to 'mail/mutt/files/patch-mktemp')
-rw-r--r-- | mail/mutt/files/patch-mktemp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mail/mutt/files/patch-mktemp b/mail/mutt/files/patch-mktemp deleted file mode 100644 index ea344c679986..000000000000 --- a/mail/mutt/files/patch-mktemp +++ /dev/null @@ -1,25 +0,0 @@ ---- muttlib.c.orig 2015-09-10 08:59:45.000000000 +0200 -+++ muttlib.c 2015-09-10 09:04:24.000000000 +0200 -@@ -774,16 +774,15 @@ - void _mutt_mktemp (char *s, size_t slen, const char *prefix, const char *suffix, - const char *src, int line) - { -- size_t n = snprintf (s, slen, "%s/%s-%s-%d-%d-%ld%ld%s%s", -- NONULL (Tempdir), NONULL (prefix), NONULL (Hostname), -- (int) getuid (), (int) getpid (), random (), random (), -- suffix ? "." : "", NONULL (suffix)); -+ size_t n = snprintf (s, slen, "%s/mutt-%s-XXXXXXXX", NONULL (Tempdir), NONULL (Hostname)); - if (n >= slen) - dprint (1, (debugfile, "%s:%d: ERROR: insufficient buffer space to hold temporary filename! slen=%zu but need %zu\n", - src, line, slen, n)); -- dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); -- if (unlink (s) && errno != ENOENT) -- dprint (1, (debugfile, "%s:%d: ERROR: unlink(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno)); -+ if (mktemp (s)) { -+ dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); -+ } else { -+ dprint (1, (debugfile, "%s:%d: ERROR: mktemp(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno)); -+ } - } - - void mutt_free_alias (ALIAS **p) |