« Return to Thread: popen on unices doesn't like "rb"/"wb"

popen on unices doesn't like "rb"/"wb"

by Kuba Ober-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

between dvdauthor 0.6.11 and 0.6.13, the popen in
src/compat.c got the 'b' read flag, most likely to
make it work in windows. This makes pipes fail
miserably on unices (does for me on FC6), with
an "Invalid Argument" given by popen.

It's been long since I mucked in what's
configure-dependent folk's recipe-du-jour to
dealing with that. So I leave the proper solution
to the wise. Myself, I simply made an updated rpm
with "rb" replaced with "r", as I don't run it on
anything but unices.

Cheers, Kuba


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Dvdauthor-developer mailing list
Dvdauthor-developer@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer

 « Return to Thread: popen on unices doesn't like "rb"/"wb"