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