Re: glib outstanding stuff
- From: Havoc Pennington <hp redhat com>
- To: "Alexis S. L. Carvalho" <alexis cecm usp br>
- Cc: gtk-devel-list gnome org
- Subject: Re: glib outstanding stuff
- Date: 04 Oct 2000 23:58:48 -0400
"Alexis S. L. Carvalho" <alexis cecm usp br> writes:
> so, I guess this won't work correctly with binary files (because of
> embedded NULs) ?
>
Yes that's correct. Maybe call it g_text_file_get_contents()?
Or we could return the GString, or a guchar* and a length, perhaps.
I don't think it really has to work on binary files (it's just a
convenience function), so it's a question of what would be useful,
and, well, convenient.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]