Subject: CVS commit: pkgsrc/devel/pth
From: Nick Hudson
Date: 2002-10-14 13:49:57
Message id: 20021014114957.1636EB42C@cvs.netbsd.org

Log Message:
Various updates and fixes that I've collected recently:

	* Provide nanosleep(2) and usleep(3) wrappers.

	* Make sure sigprocmask syscalls are used in pth_system.

	* "Fix" FD_SET handling in the select(2) wrapper so that
	  mismatches between pth FD_SETSIZE and user program
	  FD_SETSIZE don't cause problems.

	* Update poll(2) wrapper to be more poll(2) like - in
          particular never return EINVAL for bad file descriptors
	  Thanks to Matthias Drochner for this.

	* Improve error handling in connect(2) wrapper so that we
	  don't confuse the scheduler. This fixes pkg/17944 from
	  Christian Biere (ChristianBiere at gmx dot de)

	* Introduce autoconf handling of the value of FD_SETSIZE
	  used by pth. If we have to hard code a value we might
	  as well make it easy to change and make the inclusion
	  of pth.h or pthread.h by a program that re-defines
	  FD_SETSIZE an error.

	  Inspired by pkg/17944.

	* Fix a compiler warning that I introduced a little while
	  ago.

	* Disable --enable-syscall-hard for non-NetBSD platforms
	  and for pre-1.6/m68k. Make a note of the PRs that need
	  fixing. This closes pkg/18236 from Klaus Heinz (k dot
	  heinz dot sep dot zwei at onlinehome dot de)

The FD_SETSIZE problems would be handled better if pth was changed
to use poll(2), and not select(2), internally.

Files:
RevisionActionfile
1.49modifypkgsrc/devel/pth/Makefile
1.8modifypkgsrc/devel/pth/distinfo
1.14modifypkgsrc/devel/pth/patches/patch-ab
1.2modifypkgsrc/devel/pth/patches/patch-ac
1.2modifypkgsrc/devel/pth/patches/patch-ad
1.2modifypkgsrc/devel/pth/patches/patch-ae
1.2modifypkgsrc/devel/pth/patches/patch-af
1.3modifypkgsrc/devel/pth/patches/patch-ag
1.1addpkgsrc/devel/pth/patches/patch-ah
1.1addpkgsrc/devel/pth/patches/patch-ai