xdbe replaced with more generic pixmap based buffering but there are 3 major bugs:
[monky] / src / solaris.c
index 701f1a8..33f066d 100644 (file)
@@ -1,4 +1,7 @@
-/* Conky, a system monitor, based on torsmo
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ * Conky, a system monitor, based on torsmo
  *
  * Any original torsmo code is licensed under the BSD license
  *
@@ -6,7 +9,7 @@
  *
  * Please see COPYING for details
  *
- * Copyright (c) 2005-2008 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
  *     (see AUTHORS)
  * All rights reserved.
  *
@@ -26,6 +29,7 @@
 
 /* doesn't work, feel free to finish this */
 #include "conky.h"
+#include "common.h"
 #include <kstat.h>
 
 static kstat_ctl_t *kstat;
@@ -36,7 +40,7 @@ static void update_kstat()
        if (kstat == NULL) {
                kstat = kstat_open();
                if (kstat == NULL) {
-                       ERR("can't open kstat: %s", strerror(errno));
+                       NORM_ERR("can't open kstat: %s", strerror(errno));
                }
        }