[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnokii gtk2 port
From: |
BORBELY Zoltan |
Subject: |
Re: [PATCH] gnokii gtk2 port |
Date: |
Wed, 3 Aug 2005 21:45:56 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
On Wed, Aug 03, 2005 at 11:44:44AM +0100, Bastien Nocera wrote:
> On Tue, 2005-08-02 at 21:41 +0200, Pawel Kot wrote:
> > 2005/8/2, BORBELY Zoltan <address@hidden>:
> > > If there's no asprintf() or vasprintf() implementation, the snprintf
> > > code provides them (look into common/snprintf.c). I think asprintf()
> > > is the function you are looking for... :-)
> >
> > Bastien, is it enough for you?
>
> snprintf still sucks in that you need a fixed-sized array to fit your
> string, and that you're never sure whether you'll be able to fit the
> whole string in it before actually doing it.
You can assume that asprintf() function is available (if the OS doesn't
provide one, gnokii will use the internal replacement function). Please
look into it, I think asprintf() is quite similar to g_strdup_printf().
Bye,
Bozo
- Re: [PATCH] gnokii gtk2 port, (continued)
- Re: [PATCH] gnokii gtk2 port, Pawel Kot, 2005/08/01
- Re: [PATCH] gnokii gtk2 port, Bastien Nocera, 2005/08/01
- Re: [PATCH] gnokii gtk2 port, Pawel Kot, 2005/08/01
- Re: [PATCH] gnokii gtk2 port, Bastien Nocera, 2005/08/01
- Re: [PATCH] gnokii gtk2 port, Pawel Kot, 2005/08/01
- Re: [PATCH] gnokii gtk2 port, BORBELY Zoltan, 2005/08/02
- Re: [PATCH] gnokii gtk2 port, Pawel Kot, 2005/08/02
- Re: [PATCH] gnokii gtk2 port, Bastien Nocera, 2005/08/03
- Re: [PATCH] gnokii gtk2 port, Pawel Kot, 2005/08/03
- Re: [PATCH] gnokii gtk2 port,
BORBELY Zoltan <=
- Re: [PATCH] gnokii gtk2 port, Bastien Nocera, 2005/08/04
- [PATCH]: gnokii_strsplit as in glib (was Re: [PATCH] gnokii gtk2 port), Bastien Nocera, 2005/08/04
- Re: [PATCH]: gnokii_strsplit as in glib (was Re: [PATCH] gnokii gtk2 port), Pawel Kot, 2005/08/09
- Re: [PATCH]: gnokii_strsplit as in glib (was Re: [PATCH] gnokii gtk2 port), Bastien Nocera, 2005/08/10
Re: [PATCH] gnokii gtk2 port, Jan Derfinak, 2005/08/02
Re: [PATCH] gnokii gtk2 port, Jan Derfinak, 2005/08/03