Show
Ignore:
Timestamp:
11/18/09 20:00:24 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1258574424 +0000
git-parent:

[f8b58d6bc1f33a57d7e2f8079b5b8f5b30e7fabb]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1258574424 +0000
Message:

Fix readdir on solaris and a bug in fetching the fqdn for storage nodes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_defines.h

    r44ff396 rae8bf79  
    133133} 
    134134 
    135 #if defined(__sun) 
    136 #define portable_readdir_r(a,b,c) ((*c) = readdir_r(a,b)
     135#if defined(__sun) && !defined(_POSIX_PTHREAD_SEMANTICS) 
     136#define portable_readdir_r(a,b,c) (((*c) = readdir_r(a,b)) != NULL
    137137#else 
    138138#define portable_readdir_r readdir_r