summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-11-12 16:13:22 +0100
committerDanny Baumann <dannybaumann@web.de>2007-11-12 16:13:22 +0100
commitd22f72d28696f8e259068da0e7924b79a856a71f (patch)
treeab02769cdfde96c079a74cc343df12c82874f30d
parent9068598b6572dfb6e6de277b68c0ec6130032d02 (diff)
downloadfiledebug-d22f72d28696f8e259068da0e7924b79a856a71f.tar.gz
filedebug-d22f72d28696f8e259068da0e7924b79a856a71f.tar.bz2
Don't truncate existing files.
-rw-r--r--filedebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filedebug.c b/filedebug.c
index 0dcc8cf..9c18ade 100644
--- a/filedebug.c
+++ b/filedebug.c
@@ -126,7 +126,7 @@ filedebugInitDisplay (CompPlugin *p,
return FALSE;
}
- fd->debugFile = fopen (fileName, "w+");
+ fd->debugFile = fopen (fileName, "a+");
free (fileName);
d->base.privates[displayPrivateIndex].ptr = fd;