diff --git a/ChangeLog b/ChangeLog index 5dfdc38..fe043a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,7 @@ v.0.5dev (ongoing development) * add support for Iface and ProcSize screens for OS X / Darwin (Eric Pooch) * update & fix serialVFD driver (Stefan Herdler) + Hitachi SP14Q002 support & another connection type to sed1330 (Benjamin Wiedmann) + * replace obsolete index() by strchr() (Guillaume LECERF) v.0.5.1 + config file support in lcdproc client (Andrew Foss) diff --git a/clients/lcdproc/machine_Linux.c b/clients/lcdproc/machine_Linux.c index e037064..4d22dbf 100644 --- a/clients/lcdproc/machine_Linux.c +++ b/clients/lcdproc/machine_Linux.c @@ -383,7 +383,7 @@ int machine_get_procs(LinkedList *procs) char buf[128]; /* ignore everything in proc except process ids */ - if (!index("1234567890", procdir->d_name[0])) + if (!strchr("1234567890", procdir->d_name[0])) continue; sprintf(buf, "/proc/%s/status", procdir->d_name); diff --git a/clients/lcdproc/machine_SunOS.c b/clients/lcdproc/machine_SunOS.c index 50f702b..c8cd908 100644 --- a/clients/lcdproc/machine_SunOS.c +++ b/clients/lcdproc/machine_SunOS.c @@ -300,7 +300,7 @@ int machine_get_procs(LinkedList *procs) { psinfo_t psinfo; - if (!index("1234567890", procdir->d_name[0])) + if (!strchr("1234567890", procdir->d_name[0])) continue; sprintf(buf, "/proc/%s/psinfo", procdir->d_name);