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.

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to