summaryrefslogtreecommitdiff
path: root/news/pan
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-14 13:25:15 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-14 13:25:15 +0000
commitb135d533e0e70920b7523ff25054a7ad92a01156 (patch)
tree0e8a66c186357e2cc47984100b40efbd7b6dc3ea /news/pan
parentGive maintainership to originator (diff)
Fix a potential useless CPU time eating.
PR: 30554 Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>, Chris Vance
Diffstat (limited to 'news/pan')
-rw-r--r--news/pan/Makefile1
-rw-r--r--news/pan/files/patch-pan::queue.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile
index 2c9aa5b4096c..679aa4172ed5 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pan
PORTVERSION= 0.10.0.90
+PORTREVISION= 1
CATEGORIES= news gnome
MASTER_SITES= http://pan.rebelbase.com/download/${PORTVERSION}/SOURCE/
diff --git a/news/pan/files/patch-pan::queue.c b/news/pan/files/patch-pan::queue.c
new file mode 100644
index 000000000000..e4c2495c0ec7
--- /dev/null
+++ b/news/pan/files/patch-pan::queue.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- pan/queue.c 2001/09/14 13:20:29 1.1
++++ pan/queue.c 2001/09/14 13:20:44
+@@ -1202,7 +1202,7 @@
+ pthread_mutex_lock (&queue_lock);
+ gettimeofday (&now, NULL);
+ timeout.tv_sec = now.tv_sec + TIMEOUT_SECS;
+- timeout.tv_nsec = timeout.tv_sec;
++ timeout.tv_nsec = 0;
+ retcode = pthread_cond_timedwait(&qcond, &queue_lock, &timeout);
+ pthread_mutex_unlock (&queue_lock);
+