Tooltalk fixes for OpenBSD. This consists mainly of #ifdefs, casts and some small type nits.

This commit is contained in:
Pascal Stumpf
2012-08-10 14:07:06 +02:00
committed by Jon Trulson
parent 3d5a492038
commit 3b77d7c065
39 changed files with 129 additions and 62 deletions

View File

@@ -33,7 +33,7 @@
*/
#include <errno.h>
#if defined(__osf__) || defined(linux)
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#ifndef USL
@@ -230,7 +230,7 @@ pathlist_lstt_dearchive(
(char *)our_process_name, (int)obj_kind );
return FALSE;
}
if (verbosity && ( (last_path != this_path)
if (verbosity && ( (last_path != (const char *)this_path)
|| (obj_kind == ARCHIVE_END)))
{
if (last_path_valid) {