aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libowfat
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-25 06:41:29 +0800
committerkrion <krion@FreeBSD.org>2004-03-25 06:41:29 +0800
commit7ab6ccc8591528c0d220aa1dbfcbeff88bbdf9d3 (patch)
tree8a67148187967c19d3acf1c56c0a77c4f2b234ef /devel/libowfat
parent8927eab5645deb9a67a468ecc0236a0e67678c82 (diff)
downloadfreebsd-ports-gnome-7ab6ccc8591528c0d220aa1dbfcbeff88bbdf9d3.tar.gz
freebsd-ports-gnome-7ab6ccc8591528c0d220aa1dbfcbeff88bbdf9d3.tar.zst
freebsd-ports-gnome-7ab6ccc8591528c0d220aa1dbfcbeff88bbdf9d3.zip
- Fix a possible signal handling race condition.
- Bump PORTREVISION PR: ports/64670 Submitted by: maintainer
Diffstat (limited to 'devel/libowfat')
-rw-r--r--devel/libowfat/Makefile1
-rw-r--r--devel/libowfat/files/patch-io-io_tryread.c13
-rw-r--r--devel/libowfat/files/patch-io-io_trywrite.c13
3 files changed, 27 insertions, 0 deletions
diff --git a/devel/libowfat/Makefile b/devel/libowfat/Makefile
index bcf282a09c91..df68ca2dd40f 100644
--- a/devel/libowfat/Makefile
+++ b/devel/libowfat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libowfat
PORTVERSION= 0.18
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://dl.fefe.de/
diff --git a/devel/libowfat/files/patch-io-io_tryread.c b/devel/libowfat/files/patch-io-io_tryread.c
new file mode 100644
index 000000000000..5c4983c1e7ab
--- /dev/null
+++ b/devel/libowfat/files/patch-io-io_tryread.c
@@ -0,0 +1,13 @@
+! fix a possible signal handling race condition
+! obtained from libowfat cvs
+--- io/io_tryread.c 7 Nov 2003 22:11:30 -0000 1.4
++++ io/io_tryread.c 7 Mar 2004 21:48:56 -0000 1.5
+@@ -21,7 +21,7 @@
+ e->next_read=-1;
+ return -1;
+ }
+- new.it_interval.tv_usec=0;
++ new.it_interval.tv_usec=10000;
+ new.it_interval.tv_sec=0;
+ new.it_value.tv_usec=10000;
+ new.it_value.tv_sec=0;
diff --git a/devel/libowfat/files/patch-io-io_trywrite.c b/devel/libowfat/files/patch-io-io_trywrite.c
new file mode 100644
index 000000000000..d65ffaa46cc0
--- /dev/null
+++ b/devel/libowfat/files/patch-io-io_trywrite.c
@@ -0,0 +1,13 @@
+! fix a possible signal handling race condition
+! obtained from libowfat cvs
+--- io/io_trywrite.c 27 Feb 2004 17:04:03 -0000 1.5
++++ io/io_trywrite.c 7 Mar 2004 21:48:56 -0000 1.6
+@@ -22,7 +22,7 @@
+ e->next_write=-1;
+ return -1;
+ }
+- new.it_interval.tv_usec=0;
++ new.it_interval.tv_usec=10000;
+ new.it_interval.tv_sec=0;
+ new.it_value.tv_usec=10000;
+ new.it_value.tv_sec=0;