Date: Tue Sep 5 14:10:04 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Fixed an issue where the file was not truncated when rewriting it.
Modified files:
xdebug/usefulstuff.c (version: 1.30)
[FILE: /xdebug/usefulstuff.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- xdebug/usefulstuff.c:1.29 Mon Sep 04 18:44:31 2006 GMT
+++ xdebug/usefulstuff.c Tue Sep 05 10:10:04 2006 GMT
@@ -442,7 +442,8 @@
return fh;
}
}
- /* 5. We established a lock, now we make a fh out of it. */
+ /* 5. We established a lock, now we truncate and return the handle */
+ fh = freopen(tmp_fname, "w", fh);
if (new_fname) {
*new_fname = tmp_fname;
} else {
Received on Tue Sep 05 2006 - 14:10:10 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST