mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Append to existing log file (no truncation)
This commit is contained in:
parent
2369c0558d
commit
16cba00c54
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void log_open(const char *filename)
|
||||||
option.log_filename = automatic_filename;
|
option.log_filename = automatic_filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
fp = fopen(filename, "w+");
|
fp = fopen(filename, "a+");
|
||||||
|
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue