summaryrefslogtreecommitdiff
path: root/devel/unproven-pthreads/patches/patch-ar
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-06-01 21:39:19 +0000
committerkristerw <kristerw@pkgsrc.org>2004-06-01 21:39:19 +0000
commit7e363ebe74b4376e9a87699c3686e3c01b5972c0 (patch)
treea28b0237dfc160c4322231bf96eb020de62ac415 /devel/unproven-pthreads/patches/patch-ar
parent8c35eb81174901b24f27e729aa65dc7081f535a3 (diff)
downloadpkgsrc-7e363ebe74b4376e9a87699c3686e3c01b5972c0.tar.gz
Remove obsolete packages, per discussion on tech-pkg.
Diffstat (limited to 'devel/unproven-pthreads/patches/patch-ar')
-rw-r--r--devel/unproven-pthreads/patches/patch-ar100
1 files changed, 0 insertions, 100 deletions
diff --git a/devel/unproven-pthreads/patches/patch-ar b/devel/unproven-pthreads/patches/patch-ar
deleted file mode 100644
index 59f42065d53..00000000000
--- a/devel/unproven-pthreads/patches/patch-ar
+++ /dev/null
@@ -1,100 +0,0 @@
-$NetBSD: patch-ar,v 1.1 2001/03/23 15:57:46 agc Exp $
-
-Patch from Wofgang Solfrank:
-
-The changes to unproven-pthreads fix a problem with fstat not using
-the pthreads filedescriptors, but the native ones (the code for this
-was already there (slightly buggy), but it wasn't used for some
-unknown reason). In addition, the handling of select is improved, as
-the original code may wake up not all threads waiting for some event.
-
---- pthreads/fd_kern.c.orig Mon Jul 10 19:23:28 2000
-+++ pthreads/fd_kern.c Fri Mar 23 15:43:59 2001
-@@ -173,23 +173,26 @@
- ; i++) {
- int count_dec = 0;
-
-- if ((FD_ISSET(i, &pthread->data.select_data->exceptfds) &&
-- ! FD_ISSET(i, &fd_set_except))) {
-- FD_CLR(i, &pthread->data.select_data->exceptfds);
-- } else {
-- count_dec++;
-- }
-- if ((FD_ISSET(i, &pthread->data.select_data->writefds) &&
-- ! FD_ISSET(i, &fd_set_write))) {
-- FD_CLR(i, &pthread->data.select_data->writefds);
-- } else {
-- count_dec++;
-- }
-- if ((FD_ISSET(i, &pthread->data.select_data->readfds) &&
-- ! FD_ISSET(i, &fd_set_read))) {
-- FD_CLR(i, &pthread->data.select_data->readfds);
-- } else {
-- count_dec++;
-+ if (FD_ISSET(i, &pthread->data.select_data->exceptfds)) {
-+ if (!FD_ISSET(i, &fd_set_except)) {
-+ FD_CLR(i, &pthread->data.select_data->exceptfds);
-+ } else {
-+ count_dec++;
-+ }
-+ }
-+ if (FD_ISSET(i, &pthread->data.select_data->writefds)) {
-+ if (!FD_ISSET(i, &fd_set_write)) {
-+ FD_CLR(i, &pthread->data.select_data->writefds);
-+ } else {
-+ count_dec++;
-+ }
-+ }
-+ if (FD_ISSET(i, &pthread->data.select_data->readfds)) {
-+ if (!FD_ISSET(i, &fd_set_read)) {
-+ FD_CLR(i, &pthread->data.select_data->readfds);
-+ } else {
-+ count_dec++;
-+ }
- }
- if (count_dec) {
- found_one++;
-@@ -312,23 +315,26 @@
- for (i = 0; i < pthread->data.select_data->nfds; i++) {
- int count_dec = 0;
-
-- if ((FD_ISSET(i, &pthread->data.select_data->exceptfds) &&
-- ! FD_ISSET(i, &fd_set_except))) {
-- FD_CLR(i, &pthread->data.select_data->exceptfds);
-- } else {
-- count_dec++;
-- }
-- if ((FD_ISSET(i, &pthread->data.select_data->writefds) &&
-- ! FD_ISSET(i, &fd_set_write))) {
-- FD_CLR(i, &pthread->data.select_data->writefds);
-- } else {
-- count_dec++;
-- }
-- if ((FD_ISSET(i, &pthread->data.select_data->readfds) &&
-- ! FD_ISSET(i, &fd_set_read))) {
-- FD_CLR(i, &pthread->data.select_data->readfds);
-- } else {
-- count_dec++;
-+ if (FD_ISSET(i, &pthread->data.select_data->exceptfds)) {
-+ if (!FD_ISSET(i, &fd_set_except)) {
-+ FD_CLR(i, &pthread->data.select_data->exceptfds);
-+ } else {
-+ count_dec++;
-+ }
-+ }
-+ if (FD_ISSET(i, &pthread->data.select_data->writefds)) {
-+ if (!FD_ISSET(i, &fd_set_write)) {
-+ FD_CLR(i, &pthread->data.select_data->writefds);
-+ } else {
-+ count_dec++;
-+ }
-+ }
-+ if (FD_ISSET(i, &pthread->data.select_data->readfds)) {
-+ if (!FD_ISSET(i, &fd_set_read)) {
-+ FD_CLR(i, &pthread->data.select_data->readfds);
-+ } else {
-+ count_dec++;
-+ }
- }
- if (count_dec) {
- found_one++;