svn commit: r190943 - head/include

David Schultz das at FreeBSD.org
Sat Apr 11 16:57:51 UTC 2009


Author: das
Date: Sat Apr 11 16:57:50 2009
New Revision: 190943
URL: http://svn.freebsd.org/changeset/base/190943

Log:
  GNU Pth has some fragile kludges that were broken by r189828.
  I've discussed this with the Pth maintainer and no clear solution
  has emerged on the ports side of things, so for now, hack around
  the issue in signal.h.

Modified:
  head/include/signal.h

Modified: head/include/signal.h
==============================================================================
--- head/include/signal.h	Sat Apr 11 16:12:20 2009	(r190942)
+++ head/include/signal.h	Sat Apr 11 16:57:50 2009	(r190943)
@@ -72,8 +72,10 @@ int	raise(int);
 
 #if __POSIX_VISIBLE || __XSI_VISIBLE
 int	kill(__pid_t, int);
+#ifndef _PTH_PTHREAD_H_	/* XXX kludge to work around GNU Pth brokenness */
 int	pthread_kill(__pthread_t, int);
 int	pthread_sigmask(int, const __sigset_t *, __sigset_t *);
+#endif
 int	sigaction(int, const struct sigaction * __restrict,
 	    struct sigaction * __restrict);
 int	sigaddset(sigset_t *, int);


More information about the svn-src-head mailing list