simonmar    2002/07/04 06:33:25 PDT

  Modified files:
    libraries/base/cbits dirUtils.c 
    libraries/base/include HsBase.h 
  Log:
  Sigh, enabling _POSIX_PTHREAD_SEMANTICS causes the Solaris header
  files to drop several silly little C functions into the source code.
  We don't want these duplicated in every Haskell-compiled object.
  
  So plan B: just define _POSIX_PTHREAD_SEMANTICS in dirUtils.c where it
  is needed to make readdir_r work.  I've checked, and readdir_r is the
  only function we use that is affected by _POSIX_PTHREAD_SEMANTICS.  If
  we ever use any more of these functions, then we'll have to be careful
  to give them a C wrapper.
  
  Revision  Changes    Path
  1.4       +9 -0      fptools/libraries/base/cbits/dirUtils.c
  1.9       +0 -6      fptools/libraries/base/include/HsBase.h
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries


Reply via email to