Re: gtk_image_new_from_file and mmap
- From: <back zeus nuclear kth se>
- To: diego otello alma unibo it
- Cc: gtk-list gnome org
- Subject: Re: gtk_image_new_from_file and mmap
- Date: Tue, 25 Feb 2003 22:20:49 +0100
Thanks Diego!
I never thought about that. As you guessed, errno
was indeed =2 already before the mmap call.
It works now and I'm very happy.
Regards,
Torbjoern
>
> > How can gtk_image_new_from_file and mmap be 'colliding'?
> They don't, I think. Just you're using the wrong test. AT LEAST init
> errno to 0 just before the function call, but that's ugly. Better
> testing the CORRECT result first and check errno only when a failure
> gets reported...
>
> BYtE,
> Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]