David Gamey ha escrit el 17/01/08 22:55:
Hi David, Yes. That's quite neat. The problem is that I will still have to fork the code since with that work around the same code won't work in n*x type systems. Since I have only 2 calls to "open", and if I have to fork the code for Windows vs. the rest of the world, this work around would be a bit of overkil. I could merely replace "/" by "\\" in 4 lines of code. Do you think I could use getenv(S) to determine if it's being compiled on a Windows box and if yes then apply the hook? If I could do this then I could avoid the fork in the source code. Thanks again, Jonathan -- Jonathan Kaye Sip Phone: [EMAIL PROTECTED] Registered Linux user #445917 at http://counter.li.org/ |
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Unicon-group mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unicon-group
