Re: mutt Bug #2802 - stupid usage of strcat (fwd)

2007-03-13 Thread Brendan Cully
On Monday, 12 March 2007 at 18:49, Thomas Roessler wrote: > On 2007-03-12 10:05:40 -0700, Brendan Cully wrote: > > > These patches look sane to me. I've applied them. > > Mostly... Some comments below. > > > > > + if (!ascii_strcasecmp (name, "utf-8")) { > > > +strfcpy (dest, name, dlen);

Re: mutt Bug #2802 - stupid usage of strcat (fwd)

2007-03-12 Thread Thomas Roessler
On 2007-03-12 10:05:40 -0700, Brendan Cully wrote: > These patches look sane to me. I've applied them. Mostly... Some comments below. > > + if (!ascii_strcasecmp (name, "utf-8")) { > > +strfcpy (dest, name, dlen); > > +goto found_utf8; > > + } > > + > >/* catch some common iso-885

Re: mutt Bug #2802 - stupid usage of strcat (fwd)

2007-03-12 Thread Brendan Cully
These patches look sane to me. I've applied them. On Monday, 12 March 2007 at 15:19, Christoph Berg wrote: > Apparently the sender of that one isn't subscribed... > > Christoph > From: Sami Farin <[EMAIL PROTECTED]> > To: Mutt Development List > Date: Sat, 10 Mar 2007 20:12:30 +0200 > Subject:

mutt Bug #2802 - stupid usage of strcat (fwd)

2007-03-12 Thread Christoph Berg
Apparently the sender of that one isn't subscribed... Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/ --- Begin Message --- mutt would benefit from replacing strcat and friends with a better string library,... but because that's too much work for me, I only checked what it helps if I do on