CVSROOT/. log_accum
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Dec 31 08:19:49 CST 2005
ChangeSet ID: 22006
CVSROOT: /opt/cvs-commit
Module name: CVSROOT
Changes by: julliard at winehq.org 2005/12/31 08:19:48
Modified files:
. : log_accum
Log message:
Make sure to clean up all the temp files we use.
Patch: http://cvs.winehq.org/patch.py?id=22006
Old revision New revision Changes Path
1.32 1.33 +3 -0 CVSROOT/log_accum
Index: CVSROOT/log_accum
diff -u -p CVSROOT/log_accum:1.32 CVSROOT/log_accum:1.33
--- CVSROOT/log_accum:1.32 31 Dec 2005 14:19:48 -0000
+++ CVSROOT/log_accum 31 Dec 2005 14:19:48 -0000
@@ -326,6 +326,8 @@ sub create_diff {
push(@text, $_);
}
close(DIFF);
+ unlink $tmp_old unless $tmp_old = '/dev/null';
+ unlink $tmp_new unless $tmp_new = '/dev/null';
return $#text > 4 ? @text : ();
}
@@ -674,6 +676,7 @@ if ($files[2] =~ /New/ && $files[3] =~ /
&write_commitlog($commitlog, @text);
}
+ &cleanup_tmpfiles() unless $debug;
exit 0;
}
More information about the wine-cvs
mailing list