Fri Aug 26 14:32:13 UTC 2005 Alberto Bertogli * Specify that the popen4 is text and not binary. popen4 call takes a mode parameter that should specify if the fds are text or binary. Thanks to Gordon Heydon for reporting it. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-10-02 02:21:19.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-10-02 02:21:19.000000000 +0000 @@ -341,7 +341,7 @@ object with its output.""" os.chdir(config.repodir) cmd = config.darcspath + "darcs " + params - inf, outf = os.popen4(cmd, 'r') + inf, outf = os.popen4(cmd, 't') return outf