30 lines
950 B
Diff
30 lines
950 B
Diff
|
--- test/gwentest.c.orig 2008-01-24 11:28:26.000000000 +0100
|
||
|
+++ test/gwentest.c 2008-01-24 11:29:16.000000000 +0100
|
||
|
@@ -2926,7 +2926,7 @@ int testNlHttpConnect4(int argc, char **
|
||
|
}
|
||
|
fprintf(stderr, "Connected.\n");
|
||
|
|
||
|
- fd=open(outFile, O_CREAT | O_WRONLY);
|
||
|
+ fd=open(outFile, O_CREAT | O_WRONLY, 0600);
|
||
|
if (fd==-1) {
|
||
|
fprintf(stderr, "Could not create outFile\n");
|
||
|
return 2;
|
||
|
@@ -3213,7 +3213,7 @@ int testNlSslConnect2(int argc, char **a
|
||
|
}
|
||
|
fprintf(stderr, "Connected.\n");
|
||
|
|
||
|
- fd=open(outFile, O_CREAT | O_WRONLY);
|
||
|
+ fd=open(outFile, O_CREAT | O_WRONLY,0600);
|
||
|
if (fd==-1) {
|
||
|
fprintf(stderr, "Could not create outFile\n");
|
||
|
return 2;
|
||
|
@@ -3467,7 +3467,7 @@ int testNlFileConnect1(int argc, char **
|
||
|
}
|
||
|
fprintf(stderr, "Connected.\n");
|
||
|
|
||
|
- fd=open(outFile, O_CREAT | O_WRONLY);
|
||
|
+ fd=open(outFile, O_CREAT | O_WRONLY, 0600);
|
||
|
if (fd==-1) {
|
||
|
fprintf(stderr, "Could not create outFile\n");
|
||
|
return 2;
|