"Dimitrie O. Paun" dpaun@rogers.com writes:
OK, here's a patch to add _spawnvp to the portability lib. There are still a few questions: -- Should we provide the entire family (I wouldn't, unless we really need them, but that can wait for that need :))?
Yep that can wait.
-- What about conflicts with stuff in dlls/msvcrt/process.c? What if we need wine/port. in process.c in the future (not a big deal, we can fudge it then)? What about winelib apps that link with msvcrt?
If they link with msvcrt then they are not supposed to use wine/port.h. To avoid trouble with process.c I'd suggest naming the function spawnvp, without the underscore prefix, and making it call the real _spawnvp on Windows.