Subject: CVS commit: pkgsrc/devel/pth
To: None <pkgsrc-changes@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: pkgsrc-changes
Date: 03/24/2002 20:47:41
Module Name:	pkgsrc
Committed By:	dmcmahill
Date:		Sun Mar 24 18:47:41 UTC 2002

Modified Files:
	pkgsrc/devel/pth: Makefile distinfo
	pkgsrc/devel/pth/patches: patch-ab

Log Message:
update to 1.4.1 from 1.4  This is a bugfix release.

- Internally make sure an invalid file-descriptor (integer not
  between 0 and (FD_SETSIZE-1) does not lead to any segfaults or
  other undefined behaviour. Instead an error is returned and errno
  is set to EBADF, similar to what the OS functions do. Especially
  pth_poll() now return with this error (instead of skipping the fd)
  if an fd in the "struct pollfd" is invalid.
  [Ralf S. Engelschall, Archie Cobbs <archie@packetdesign.com>]

- Correctly support PTH_FDMODE_NONBLOCK in pth_connect and pth_accept.
  [Archie Cobbs <archie@packetdesign.com>]

- Fixed typos in manual page.
  [Michael Schloh v. Bennewitz <michael.schloh@de.cw.net>,
   Takashi Ishihara <tishihara@ucdavis.edu>]

- For portability reasons changed definition of PTH_EXT_SFIO to 0/1
  instead of FALSE/TRUE because some external definitions use a
  casted value and hence make trouble on plain #if constructs.
  [Staehli Patrik <patrik.staehli@siemens.ch>]

- Fixed return value (number of occurred events) of pth_wait().
  [David Dureau <david.dureau@cea.fr>]

- Replaced thread-unsafe usage of a static struct iovec in
  pth_writev_ev() with a thread-safe stack/heap-based solution.
  [Ralf S. Engelschall, Mark Burton <markb@ordern.com>]

- Replaced antiquated PTH_FLAG_NOJOIN references with the correct
  PTH_ATTR_JOINABLE references in the manual page.
  [Takashi Ishihara <tishihara@ucdavis.edu>]

- Fixed a (not very subtle) bug in pth_writev_ev() that screwed up
  output if a partial write happened.
  [Mark Burton <markb@ordern.com>]

- Fixed static initializers PTH_BARRIER_INIT and PTH_COND_INIT.
  [Shawn Wagner <shawnw@speakeasy.org>]

- Typo fixes in pth.pod
  [<collver@linuxfreemail.com>]

- Upgraded to GNU shtool, version 1.5.4.
  [Ralf S. Engelschall]

- Fixed "make striptease": pth_string.c was not included and some
  commands which were removed at all (and this way causes syntax
  errors) will be now correctly commented out with ":" commands.
  [Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>]


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 pkgsrc/devel/pth/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/pth/distinfo
cvs rdiff -r1.12 -r1.13 pkgsrc/devel/pth/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.