An update to the latest snapshot.

This fixes a crash in kdelibs I've reported some time ago to Dmitry
Matveev:

---8<---

QDEBUG : KDirWatch_UnitTest::testMoveTo() qttest(28371) KDirWatch::setCreated: 
"KDirWatch-11" emitting created "/tmp/kde4-dcoppa/qttestG3jxpQ"

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 1013405]
0x0000188f8e4f5639 in strcmp (s1=0x3f573d1680 <Address 0x3f573d1680 out of 
bounds>, s2=0x188f8eeb8120 "This_is_a_test_file_27")
    at /usr/src/lib/libc/string/strcmp.c:43
43              while (*s1 == *s2++)
(gdb) bt full
#0  0x0000188f8e4f5639 in strcmp (s1=0x3f573d1680 <Address 0x3f573d1680 out of 
bounds>, s2=0x188f8eeb8120 "This_is_a_test_file_27")
    at /usr/src/lib/libc/string/strcmp.c:43
No locals.
#1  0x0000188ecc9fd854 in worker_remove_many (wrk=0x188f471b5d80, 
parent=0x188f8921bf80, items=Variable "items" is not available.
)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker.c:468
        iter = (dep_list *) 0x188ee610eb20
        prev = (dep_list *) 0x0
        w = (watch *) 0x188f59230c40
        to_remove = (dep_list *) 0x188ea2351820
        to_head = (dep_list *) 0x188ee610eb20
        i = 36
        j = 3
#2  0x0000188ecc9fd95d in worker_remove (wrk=0x188f471b5d80, id=Variable "id" 
is not available.
)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker.c:380
        ie_len = 17
        ie = (struct inotify_event *) 0x188ee610ea40
        i = Variable "i" is not available.
(gdb) bt
#0  0x0000188f8e4f5639 in strcmp (s1=0x3f573d1680 <Address 0x3f573d1680 out of 
bounds>, s2=0x188f8eeb8120 "This_is_a_test_file_27")
    at /usr/src/lib/libc/string/strcmp.c:43
#1  0x0000188ecc9fd854 in worker_remove_many (wrk=0x188f471b5d80, 
parent=0x188f8921bf80, items=Variable "items" is not available.
)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker.c:468
#2  0x0000188ecc9fd95d in worker_remove (wrk=0x188f471b5d80, id=Variable "id" 
is not available.
)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker.c:380
#3  0x0000188ecc9fcc32 in process_command (wrk=0x188f471b5d80)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker-thread.c:125
#4  0x0000188ecc9fccb2 in worker_thread (arg=0x188f471b5d80)
    at 
/home/cvs/ports/pobj/libinotify-20140622/dmatveev-libinotify-kqueue-d775062/worker-thread.c:635
#5  0x0000188ef2cef99e in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:145
#6  0x0000188f8e49a2db in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#7  0x0000000000000000 in ?? ()

---8<---

No noticeable API/ABI changes:

$ abi-compliance-checker -lib inotify -old 20140622.xml -new 20141104.xml
preparation, please wait ...
Using GCC 4.2.1 (amd64-unknown-openbsd5.6)
checking header(s) 20140622 ...
checking header(s) 20141104 ...
comparing ABIs ...
comparing APIs ...
creating compatibility report ...
result: COMPATIBLE
total "Binary" compatibility problems: 0, warnings: 0
total "Source" compatibility problems: 0, warnings: 0

OK for the diff below?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libinotify/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile    9 Aug 2014 19:31:22 -0000       1.4
+++ Makefile    6 Nov 2014 10:32:10 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              kevent based inotify
 
-DISTNAME =             libinotify-20140622
+DISTNAME =             libinotify-20141104
 
 SHARED_LIBS =          inotify 0.0
 
@@ -15,8 +15,8 @@ PERMIT_PACKAGE_CDROM =        Yes
 
 WANTLIB =              pthread
 
-MASTER_SITES =                 ${_MASTER_SITE_FREEBSD}
-WRKDIST =              ${WRKDIR}/dmatveev-libinotify-kqueue-d775062
+MASTER_SITES =                 https://distfiles.bsdfrog.org/
+WRKDIST =              ${WRKDIR}/dmatveev-libinotify-kqueue-eb214de
 
 BUILD_DEPENDS =                devel/libtool \
                        ${MODGNU_AUTOCONF_DEPENDS} \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libinotify/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo    25 Jun 2014 09:12:00 -0000      1.2
+++ distinfo    6 Nov 2014 10:32:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (libinotify-20140622.tar.gz) = 
USypNCq0SrEzjEa6q1lr1RC6ljHY7LO2TviomqG5DRk=
-SIZE (libinotify-20140622.tar.gz) = 33447
+SHA256 (libinotify-20141104.tar.gz) = 
A/nKIkp7vdW5qVr82F30cW6D/yIO3lVZF1/pHH8JI8U=
+SIZE (libinotify-20141104.tar.gz) = 34508

Reply via email to