Re: GLib substr function
- From: Daniel Elstner <daniel kitta googlemail com>
- To: Christian Dywan <christian imendio com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GLib substr function
- Date: Fri, 26 Jun 2009 18:52:10 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]