Blame SOURCES/expect-5.43.0-log_file.patch
|
|
6b7353 |
diff -up expect5.45.4/exp_log.c.orig expect5.45.4/exp_log.c
|
|
|
6b7353 |
--- expect5.45.4/exp_log.c.orig 2018-02-02 20:15:52.000000000 +0100
|
|
|
6b7353 |
+++ expect5.45.4/exp_log.c 2018-06-27 10:46:53.065655463 +0200
|
|
|
6b7353 |
@@ -499,7 +499,7 @@ expLogChannelOpen(interp,filename,append
|
|
|
6b7353 |
Tcl_DStringAppend(&tsdPtr->logFilename,filename,-1);
|
|
|
6b7353 |
}
|
|
|
6b7353 |
|
|
|
6b7353 |
- tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0777);
|
|
|
6b7353 |
+ tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0666);
|
|
|
6b7353 |
if (!tsdPtr->logChannel) {
|
|
|
6b7353 |
Tcl_DStringFree(&tsdPtr->logFilename);
|
|
|
6b7353 |
return TCL_ERROR;
|