error.c (goaccess-1.7.1) | : | error.c (goaccess-1.7.2) | ||
---|---|---|---|---|
skipping to change at line 152 | skipping to change at line 152 | |||
sigemptyset (&act.sa_mask); | sigemptyset (&act.sa_mask); | |||
act.sa_flags = (int) SA_RESETHAND; | act.sa_flags = (int) SA_RESETHAND; | |||
act.sa_handler = sigsegv_handler; | act.sa_handler = sigsegv_handler; | |||
sigaction (SIGSEGV, &act, &old_sigsegv_handler); | sigaction (SIGSEGV, &act, &old_sigsegv_handler); | |||
} | } | |||
static void | static void | |||
dump_struct_data (FILE * fp, GLog * glog, int pid) { | dump_struct_data (FILE * fp, GLog * glog, int pid) { | |||
fprintf (fp, "==%d== FILE: %s\n", pid, glog->filename); | fprintf (fp, "==%d== FILE: %s\n", pid, glog->props.filename); | |||
fprintf (fp, "==%d== Line number: %" PRIu64 "\n", pid, glog->processed); | fprintf (fp, "==%d== Line number: %" PRIu64 "\n", pid, glog->processed); | |||
fprintf (fp, "==%d== Invalid data: %" PRIu64 "\n", pid, glog->invalid); | fprintf (fp, "==%d== Invalid data: %" PRIu64 "\n", pid, glog->invalid); | |||
fprintf (fp, "==%d== Piping: %d\n", pid, glog->piping); | fprintf (fp, "==%d== Piping: %d\n", pid, glog->piping); | |||
fprintf (fp, "==%d==\n", pid); | fprintf (fp, "==%d==\n", pid); | |||
} | } | |||
/* Dump to the standard output the values of the overall parsed log | /* Dump to the standard output the values of the overall parsed log | |||
* data. */ | * data. */ | |||
static void | static void | |||
dump_struct (FILE * fp) { | dump_struct (FILE * fp) { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |