Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37761958
en ru br
ALT Linux repos
S:0.22-alt1.git20110709
5.0: 0.2.12-alt4.1
4.1: 0.2.10-alt1.2
4.0: 0.2.10-alt1.2

Group :: Sound
RPM: mpdscribble

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mpdscribble-alt-src-time_in_log_fix.patch
Download


Fix for bug: http://code.google.com/p/mpdscribble/issues/detail?id=17
Thanks to wmclaffe who propose this fix.
diff --git a/mpdscribble/misc.c b/mpdscribble/misc.c
index 0b6c7ee..caff50a 100644
--- a/mpdscribble/misc.c
+++ b/mpdscribble/misc.c
@@ -43,7 +43,7 @@ log_date (void)
   struct tm *tmp;
 
   t = time(NULL);
-  tmp = gmtime(&t);
+  tmp = localtime(&t);
   if (tmp==NULL) {
     buf[0] = 0;
     return buf;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin