Subject: Re: package menus
To: Micha? Pasternak <email@example.com>
From: Martin Weber <Ephaeton@gmx.net>
Date: 04/09/2003 02:17:55
On Wed, Apr 09, 2003 at 02:02:48AM +0200, Micha? Pasternak wrote:
> David Laight [Wed, Apr 09, 2003 at 12:04:07AM +0100]:
> > > later, but for now, try to change all strcpy()'s and strcat()'s into
> > > strncpy()'s and strncat()'s.
> > Why? strncpy() and strncat() do not DTRT...
> > (As well as not guaranteeing to generate a null terminated string,
> > they are required to waste time zeroing out the unused part of the
> > target buffer.)
> WM menu generation should be rather fast or safe?
If you ask like that, it should probably be an sh/awk/sed/whatever script :)