diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-01-16 02:28:47 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-01-16 02:28:47 +0000 |
commit | 7392aae19593563dd6557af76df0d6b965d6e4c5 (patch) | |
tree | 5bfb9fa8a0afc78287a2014c99ff57ff7304d071 /src | |
parent | c1d084c70d3fa63eb787b57c5c6c3f511c95a357 (diff) |
Set Debug() file pointer unbuffered
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -115,7 +115,10 @@ void Debug(const char *format, ...) va_list ap; if (!fp) + { fp=fopen("debug.txt","w"); + setbuf(fp,NULL); + } if (!fp) return; |