]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2000-04-01 16:22:38 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 1 Apr 2000 16:22:38 +0000 (16:22 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 1 Apr 2000 16:22:38 +0000 (16:22 +0000)
bug that caused a segfault in processor.c fixed (thanks to herp)

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@29 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

XWindow.c
configure
configure.in
lcd4linux.conf.sample
processor.c

index 87dd84ebe49cd5038de8f007106a9f52fbbef380..fec5936838ed04d776285cdfa5d59afe0876e951 100644 (file)
--- a/XWindow.c
+++ b/XWindow.c
@@ -1,4 +1,4 @@
-/* $Id: XWindow.c,v 1.10 2000/03/31 04:41:22 reinelt Exp $
+/* $Id: XWindow.c,v 1.11 2000/04/01 16:22:38 reinelt Exp $
  *
  * X11 Driver for LCD4Linux 
  *
@@ -20,9 +20,9 @@
  *
  *
  * $Log: XWindow.c,v $
- * Revision 1.10  2000/03/31 04:41:22  reinelt
+ * Revision 1.11  2000/04/01 16:22:38  reinelt
  *
- * X11 driver: semaphore bug fixed
+ * bug that caused a segfault in processor.c fixed (thanks to herp)
  *
  * Revision 1.10  2000/03/31 01:42:11  herp
  *
index 041e16ac78e2491a331616297c960a7a4e996177..800327d5bfc4e3b8a7fbadedb7649b878f1bbc6f 100755 (executable)
--- a/configure
+++ b/configure
@@ -693,7 +693,7 @@ fi
 
 PACKAGE=lcd4linux
 
-VERSION=0.95
+VERSION=0.96
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
index a1846833a93d6cc4abfa48ba37d989667e7acbd9..0283d387eccf9b065cfcd339118f675cc8b90f7b 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(lcd4linux.c)
-AM_INIT_AUTOMAKE(lcd4linux, 0.95)
+AM_INIT_AUTOMAKE(lcd4linux, 0.96)
 
 dnl Checks for programs.
 AC_PROG_AWK
index 1e50a6c7669702cac856e8a0b6ace113576fff81..82812956812c4ccff042d2d22507b85cdba73ce4 100644 (file)
 #background \#80d000
 
 Display X11
-size 20x5
+size 20x6
 font 5x8
 pixel 5+1
-gap 5x5
+gap 6x6
 border 3
 foreground \#102000
-halfground \#70c000
-background \#80d000
+halfground \#90c000
+background \#a0d000
 
 #Row1 "*** %o %v ***"
 #Row2 "%p CPU  %r MB RAM"
index c381e72f41bc65f9aa47722d17816d5107d27ed1..f388813ae538a6053393a20dbc685cc4d7136ac0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: processor.c,v 1.2 2000/03/23 07:24:48 reinelt Exp $
+/* $Id: processor.c,v 1.3 2000/04/01 16:22:38 reinelt Exp $
  *
  * main data processing
  *
  *
  *
  * $Log: processor.c,v $
+ * Revision 1.3  2000/04/01 16:22:38  reinelt
+ *
+ * bug that caused a segfault in processor.c fixed (thanks to herp)
+ *
  * Revision 1.2  2000/03/23 07:24:48  reinelt
  *
  * PPM driver up and running (but slow!)
@@ -378,7 +382,7 @@ void process_init (void)
 
   for (i=1; i<=rows; i++) {
     snprintf (buffer, sizeof(buffer), "row%d", i);
-    row[i]=strdup(parse(cfg_get(buffer), supported_bars, token_usage));
+    row[i]=strdup(parse(cfg_get(buffer)?:"", supported_bars, token_usage));
   }
 }