Ack (+corresponding libreport patch).
On Thu, Feb 14, 2013 at 15:18:26 +0100, Jakub Filak wrote: > - related to https://github.com/abrt/libreport/issues/123 > > Signed-off-by: Jakub Filak <[email protected]> > --- > src/applet/applet.c | 12 +----------- > 1 file changed, 1 insertion(+), 11 deletions(-) > > diff --git a/src/applet/applet.c b/src/applet/applet.c > index b629e81..7bf7420 100644 > --- a/src/applet/applet.c > +++ b/src/applet/applet.c > @@ -1396,17 +1396,8 @@ int main(int argc, char** argv) > continue; > } > > - char *time_str = dd_load_text_ext(dd, FILENAME_TIME, > - DD_FAIL_QUIETLY_ENOENT | > DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE); > - > - if (time_str == NULL) > - { > - error_msg(_("dd_open() opened problem '%s' without valid time > element"), (char *)new_dirs->data); > - goto next; > - } > - > /* Don't check errors, time element is always valid time stamp!! */ > - if (strtoul(time_str, 0, 10) < min_born_time) > + if (dd->dd_time < min_born_time) > { > VERB1 log("Ignoring outdated problem '%s'", (char > *)new_dirs->data); > goto next; > @@ -1439,7 +1430,6 @@ int main(int argc, char** argv) > free(reported_to); > > next: > - free(time_str); > dd_close(dd); > > new_dirs = g_list_next(new_dirs); > -- > 1.8.1.2 >
