[PD] [devel/externs] open_via_path() in msvc

Krzysztof Czaja czaja at chopin.edu.pl
Wed Oct 17 20:52:06 CEST 2001


hi,

why, in an external compiled under msvc6, passing a file descriptor
returned by open_via_path() causes read() to set errno to EBADF, while
after closing it and calling open() directly, I have a readable fd
(with the same value btw.)?

If the answer is obvious, I apologize, but it looks like msvc has
choosen to be a hostile environment for me.  This closing/reopening
dance is unnecessary under linux.

Krzysztof



More information about the Pd-list mailing list