expect-fedora-5.43.0-log_file.patch 567 B

12345678910111213
  1. diff -up expect-5.43/exp_log.c.log_file expect-5.43/exp_log.c
  2. --- expect-5.43/exp_log.c.log_file 2004-08-18 22:54:35.000000000 +0200
  3. +++ expect-5.43/exp_log.c 2008-09-25 12:24:42.000000000 +0200
  4. @@ -471,7 +471,7 @@ expLogChannelOpen(interp,filename,append
  5. Tcl_DStringAppend(&tsdPtr->logFilename,filename,-1);
  6. }
  7. - tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0777);
  8. + tsdPtr->logChannel = Tcl_OpenFileChannel(interp,newfilename,mode,0666);
  9. if (!tsdPtr->logChannel) {
  10. Tcl_DStringFree(&tsdPtr->logFilename);
  11. return TCL_ERROR;