Changeset 4ace564f33d37b3d293284f7261dfd478027df90

Show
Ignore:
Timestamp:
09/08/11 13:50:36 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1315489836 -0400
git-parent:

[f632f7d9a1b4222c469abf2fc43923fe4868fe37]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1315489836 -0400
Message:

holy crap, how broken was this. Solaris readdir_r never worked?

Files:

Legend:

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

    r520106c r4ace564  
    113113 
    114114#if defined(__sun) && !defined(HAVE_POSIX_READDIR_R) 
    115 #define portable_readdir_r(a,b,c) (((*c) = readdir_r(a,b)) != NULL) 
     115#define portable_readdir_r(a,b,c) (((*(c)) = readdir_r(a,b)) == NULL) 
    116116#else 
    117117#define portable_readdir_r readdir_r