geomview (1.9.4-3) 01_glob-redirect.diff

Summary

 lib/oogl/util/glob.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Index: src/lib/oogl/util/glob.c
===================================================================
RCS file: /home/steve/lib/cvs/debian/geomview/src/lib/oogl/util/glob.c,v
retrieving revision 1.3
diff -u -b -B -r1.3 glob.c
--- src/lib/oogl/util/glob.c	27 Aug 2007 07:08:46 -0000	1.3
+++ src/lib/oogl/util/glob.c	31 Aug 2007 05:30:59 -0000
@@ -74,7 +74,7 @@
   void (*oldsigchld)() = signal(SIGCHLD, SIG_DFL);
 #endif
 
-  sprintf(cmd, GLOB_SHELL"\"echo %s\" 2>&-", s);
+  sprintf(cmd, GLOB_SHELL"\"echo %s\" 2>&1", s);
   fp = popen(cmd, POPEN_RB);
   
   if (fp == NULL) {