- changed status to resolved
syslogd(8) trim last character of log path from the file specified by -P option
Issue #112
resolved
see following code of logpath_fileadd():
while ((line = fgetln(fp, &len)) != NULL) {
line[len - 1] = 0;
if file have no newline at last of file, last chatacter may trimmed incorrectly.
Comments (1)
-
reporter - Log in to comment
BUGFIX: Issue
#112- syslogd(8) trim last character of log path from the file specified by -P option. CLEANUP: replace fgetln(3) with getline(3) for portability.→ <<cset 0023e7ea6f58>>