[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Kill strcpy and strcat
From: |
Bastien Nocera |
Subject: |
Re: [PATCH] Kill strcpy and strcat |
Date: |
Wed, 07 Nov 2007 15:21:29 +0000 |
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.
- [PATCH] Kill strcpy and strcat, Bastien Nocera, 2007/11/06
- Re: [PATCH] Kill strcpy and strcat, Philip Kendall, 2007/11/07
- Re: [PATCH] Kill strcpy and strcat, Pawel Kot, 2007/11/07
- Re: [PATCH] Kill strcpy and strcat, Ian Collier, 2007/11/07
- Re: [PATCH] Kill strcpy and strcat, Pawel Kot, 2007/11/07
- Re: [PATCH] Kill strcpy and strcat, Pawel Kot, 2007/11/07