view patches/ghostscript-9.15-windows-popen.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents fd268ef0c4bb
children
line wrap: on
line source

--- a/base/gp_mswin.c	2015-03-11 21:10:32.833047100 +0900
+++ b/base/gp_mswin.c	2015-03-14 10:38:12.873730900 +0900
@@ -145,7 +145,7 @@
                                      win_prntmp, "wb");
         return pfile;
     } else if (fname[0] == '|') 	/* pipe */
-        return mswin_popen(fname + 1, (binary_mode ? "wb" : "w"));
+        return popen(fname + 1, (binary_mode ? "wb" : "w"));
     else if (strcmp(fname, "LPT1:") == 0)
         return NULL;	/* not supported, use %printer%name instead  */
     else