openbsd-ports/mail/alpine/patches/patch-pico_attach_c
ajacoutot e02a94359d - fix a crash when using tab-completion for selecting a save filename
(from alpine SVN)
- regen PLIST while here

reported to and fixed by upstream
issue spotted by Jonathan Thornburg <J.Thornburg at soton.ac dot uk>
2008-06-12 21:47:20 +00:00

13 lines
448 B
Plaintext

$OpenBSD: patch-pico_attach_c,v 1.1 2008/06/12 21:47:20 ajacoutot Exp $
--- pico/attach.c.orig Wed Feb 6 00:09:15 2008
+++ pico/attach.c Thu Jun 12 23:15:54 2008
@@ -179,7 +179,7 @@ AskAttach(char *cmnt, size_t cmntlen, LMLIST **lm)
bfn[sizeof(bfn)-1] = '\0';
}
- if(!pico_fncomplete(bfn, sizeof(bfn), fname, sizeof(fn)-(fname-fn)))
+ if(!pico_fncomplete(bfn, fname, sizeof(fn)-(fname-fn)))
(*term.t_beep)();
}
else