1--- epstool-3.08.orig/src/epstool.c 2005-06-10 04:41:00.000000000 -0500
2+++ epstool-3.08/src/epstool.c 2009-02-16 20:55:43.186140029 -0600
3@@ -2824,7 +2824,7 @@
4 code = -1;
5 }
6 if ((code==0) && stdout_name && (hChildStdoutWr == -1)) {
7- handle = open(stdout_name, O_WRONLY | O_CREAT);
8+ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644);
9 hChildStdoutWr = dup2(handle, 1);
10 if (handle != -1)
11 close(handle);
12@@ -2832,7 +2832,7 @@
13 code = -1;
14 }
15 if ((code==0) && stderr_name && (hChildStderrWr == -1)) {
16- handle = open(stderr_name, O_WRONLY | O_CREAT);
17+ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644);
18 hChildStderrWr = dup2(handle, 2);
19 if (handle != -1)
20 close(handle);