Re: GLib substr function

Am Freitag, den 10.04.2009, 14:08 +0200 schrieb Christian Dywan:

> For the sake of demonstration, it took me 2 minutes to write a simple
> substring function in C that does what you want, have a look how it
> works. :)

It doesn't.  Your function allocates memory using a byte count but then
uses the same value for the number of characters to copy.


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