[gs-bugs] [Bug 691441] how r/w -> rb/wb breaks regression?

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Jul 7 02:02:31 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691441

--- Comment #2 from Hin-Tak Leung <hintak at ghostscript.com> 2010-07-07 02:02:29 UTC ---
(In reply to comment #1)
> popen() doesn't like "wb" on Linux but accepts it on Windows.
> 
> I wonder what's a good way to fix this? Perhaps, this should be yet another
> issue for autoconf.

Don't know what's the best way, but any solution probably involves having some
conditionals of the form 

#if TEXT_MODE_DIFF_BIN_MODE
...
#else
...
#endif

somewhere, since the 'b' is required on some platforms but problematic on
others.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list