Hi,
I wrote a patch for this bug. Hope the maintainer will merge it.
--- synaptic-0.82.orig/gtk/rglogview.cc 2015-10-16 18:53:01.000000000 +0800
+++ synaptic-0.82/gtk/rglogview.cc 2015-11-28 17:25:04.618800717 +0800
@@ -55,8 +55,7 @@
unsigned int year, month, day, hour, min, sec;
char str[128];
const gchar *logfile;
- const gchar *logdir = RLogDir().c_str();
- GDir *dir = g_dir_open(logdir, 0, NULL);
+ GDir *dir = g_dir_open(RLogDir().c_str(), 0, NULL);
while((logfile=g_dir_read_name(dir)) != NULL) {
if(sscanf(logfile, "%4u-%2u-%2u.%2u%2u%2u.log",
&year, &month, &day, &hour, &min, &sec) != 6)