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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Kuba Ober-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by Bill McClain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 28 Jan 2007 03:46:05 -0500
JAN OBER <ober.14@...> wrote:

> 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
>

Thanks for that! This caught me when using k9copy, which uses dvdauthor in
pipes.

-Bill
--
Sattre Press                            Curiosities of the Sky
http://sattre-press.com/                    by Garrett Serviss
info@...        http://sattre-press.com/csky.html

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Dvdauthor-developer mailing list
Dvdauthor-developer@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer