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.

--Daniel


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to