Index: trunk/configure.ac
===================================================================
--- trunk/configure.ac	(revision 241)
+++ trunk/configure.ac	(revision 242)
@@ -12,5 +12,5 @@
 dnl start
 dnl
-AM_INIT_AUTOMAKE(samhain, 2.5.8)
+AM_INIT_AUTOMAKE(samhain, 2.5.8a)
 AC_DEFINE([SAMHAIN], 1, [Application is samhain])
 AC_CANONICAL_HOST
Index: trunk/docs/Changelog
===================================================================
--- trunk/docs/Changelog	(revision 241)
+++ trunk/docs/Changelog	(revision 242)
@@ -1,2 +1,6 @@
+2.5.8a:
+	* fixed a bug in sh_files.c that would prevent samhain from
+	  running on MacOS X (reported by David)
+
 2.5.8:
 	* fixed a bug in the MX resolver routine which causes it to fail 
Index: trunk/src/sh_files.c
===================================================================
--- trunk/src/sh_files.c	(revision 241)
+++ trunk/src/sh_files.c	(revision 242)
@@ -33,5 +33,4 @@
 
 #include <utime.h>
-
 
 #ifdef HAVE_DIRENT_H
@@ -2112,5 +2111,5 @@
       static int rsrc_init = 0;
       static char rsrc[17];
-      char testpath = SH_ALLOC(PATH_MAX);
+      char * testpath = SH_ALLOC(PATH_MAX);
 
       if (rsrc_init == 0) {
