filehandle vs. filedescriptor in Glib?
- From: <pcg goof com ( Marc) (A.) (Lehmann )>
- To: gtk-perl-list gnome org
- Subject: filehandle vs. filedescriptor in Glib?
- Date: Mon, 15 Sep 2003 00:35:49 +0200
Hmm.. currently, Glib's requirement for filedescriptors and not file
handles leads to pretty unintuitive error messages:
add_watch Glib::IO $fh, ...
=>
GLib-WARNING **: giounix.c:397Error while getting flags for FD: Bad
file descriptor (9)
Is there a special reason why Glib does work with perl files, or can I go
and change the interface to work with filehandles?
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg goof com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]