gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Kill strcpy and strcat


From: Pawel Kot
Subject: Re: [PATCH] Kill strcpy and strcat
Date: Wed, 7 Nov 2007 16:25:09 +0100

Hi,

On Nov 7, 2007 4:21 PM, Bastien Nocera <address@hidden> wrote:
>
> On Wed, 2007-11-07 at 16:18 +0100, Pawel Kot wrote:
> > Hi,
> >
> > On Nov 7, 2007 2:34 PM, Bastien Nocera <address@hidden> wrote:
> > > I mentioned this this morning, but IMO, it would be a good idea to have
> > > a GString-style API to avoid fixed-sized buffers all around.
> >
> > You mean something like asprintf?
>
> Yes, partially.
>
> > > http://library.gnome.org/devel/glib/stable/glib-Strings.html
> >
> > I still want to avoid glib dependency, but probably will give up in some 
> > time.
>
> It can be cut'n'pasted or reimplemented. The important part is the
> switch from fixed-size buffers to variable-size ones.

Okay -- I completly agree. First I want to rip off all dangerous
places and make it 0.6.21. Then I'm accepting patches :)

take care,
pkot
-- 
Pawel Kot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]