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