Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37661693
en ru br
ALT Linux repos
S:0.58-alt29
5.0: 0.57.2-alt2.5.M50.1
4.1: 0.57.2-alt2.5.M41.1
4.0: 0.57.2-alt2.5.M40.1
3.0: 0.56-alt0.3

Group :: System/Configuration/Packaging
RPM: synaptic

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: synaptic-0.58-alt-fix-null-history.patch
Download


diff --git a/synaptic/gtk/rglogview.cc b/synaptic/gtk/rglogview.cc
index 3821af7..2b536a7 100644
--- a/synaptic/gtk/rglogview.cc
+++ b/synaptic/gtk/rglogview.cc
@@ -51,8 +51,7 @@ void RGLogView::readLogs()
    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)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin