On my FreeBSD6.0-amd64 box the test_passfd.py failed. The error
message looks like:

,----
| rfd 3 wfd 4
| x
| Traceback (most recent call last):
|   File "/usr/local/lib/python2.4/site-packages/scgi/test_passfd.py", line 46, 
in ?
|     fileObj = os.fdopen(fd, 'r')
| OSError: [Errno 9] Bad file descriptor
`----

I tried to add
,----
|     print fd
`----
in the script after the
,----
|     fd = passfd.recvfd(rfd)
`----
line and it prints random large numbers like 6316544.

I guess this is related to the differences of sizeof(long) on 32/64
bits machines but can't prove/fix it. Can somebody shine some light on
this? Thanks!

-- 
Dryice @ http://dryice.3322.org

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/sylvester-response.html
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to