mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Removed superfluous lseek
SVN revision: 1530
This commit is contained in:
parent
63b2764c0b
commit
506fe90f99
@ -4789,7 +4789,6 @@ void write_logfile(LOGBOOK * lbs, const char *format, ...)
|
|||||||
fh = open(file_name, O_RDWR | O_BINARY | O_CREAT | O_APPEND, 0644);
|
fh = open(file_name, O_RDWR | O_BINARY | O_CREAT | O_APPEND, 0644);
|
||||||
if (fh < 0)
|
if (fh < 0)
|
||||||
return;
|
return;
|
||||||
//lseek(fh, 0, SEEK_END);
|
|
||||||
|
|
||||||
now = time(0);
|
now = time(0);
|
||||||
strftime(buf, sizeof(buf), "%d-%b-%Y %H:%M:%S", localtime(&now));
|
strftime(buf, sizeof(buf), "%d-%b-%Y %H:%M:%S", localtime(&now));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user