diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-04 17:23:03 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-04 17:23:03 -0800 |
commit | 89fcd9132d08d6c7064b5054280556fb281bc560 (patch) | |
tree | 5d8bca599280a7b6397a81033204904008b0f60d | |
parent | 249d0d3e262aca9e28b69b3832575ef26182126c (diff) | |
download | expect-89fcd9132d08d6c7064b5054280556fb281bc560.tar.gz expect-89fcd9132d08d6c7064b5054280556fb281bc560.tar.bz2 expect-89fcd9132d08d6c7064b5054280556fb281bc560.zip |
fix log
-rw-r--r-- | exp_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -374,7 +374,7 @@ expDiagChannelOpen(interp,filename) Tcl_DStringAppend(&tsdPtr->diagFilename,filename,-1); } - tsdPtr->diagChannel = Tcl_OpenFileChannel(interp,newfilename,"a",0777); + tsdPtr->diagChannel = Tcl_OpenFileChannel(interp,newfilename,"a",0666); if (!tsdPtr->diagChannel) { Tcl_DStringFree(&tsdPtr->diagFilename); return TCL_ERROR; @@ -499,7 +499,7 @@ expLogChannelOpen(interp,filename,append) Tcl_DStringAppend(&tsdPtr->logFilename,filename,-1); } - tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0777); + tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0666); if (!tsdPtr->logChannel) { Tcl_DStringFree(&tsdPtr->logFilename); return TCL_ERROR; |