head 1.2; access; symbols pkgsrc-2019Q3:1.1.0.26 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.24 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.22 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.20 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.18 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.16 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.14 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.12 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.10 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.6 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.4 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.2 pkgsrc-2016Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2019.10.27.16.59.45; author kamil; state dead; branches; next 1.1; commitid r4p6mQYr374KHwIB; 1.1 date 2016.12.17.14.22.39; author joerg; state Exp; branches; next ; commitid e7lEd1NkttxErlyz; desc @@ 1.2 log @sword: Upgrade to 1.8.1 Full changelog is unknown. CHANGELOG ========= 1.8.0 I would like to take this chance to announce the immediate availability of SWORD release 1.8.0. I know this release has been a long time in coming, but the long time comes with lots of benefits for users, developers, and maintainers. The benefits to users and developers are mentioned elsewhere, throughout the code and other places. The main benefit to maintainers is that, now, there are automated tests in place and the release process is now automated. This means that future releases on that 1.8 branch can be easily executed whenever needed. Have a Merry Christmas, everyone! And keep your eyes open for a 1.8.1 in the not too distant future to fix up buildings in the binding code. Otherwise, you can get the code you're looking for below: MD5: 095dbd723738c2a232c85685a11827a8 sword-1.8.0.tar.gz SHA512: c45f3135255322a77e955297997db2529f31b397c42cc4b9474dc6ec8d329b2233b292078979de5fbf33cad4a1a607aabb66f86501072a729d68e9fc840c8c8e sword-1.8.0.tar.gz URL: sword-1.8.0.tar.gz --Greg @ text @$NetBSD: patch-src_modules_common_rawstr4.cpp,v 1.1 2016/12/17 14:22:39 joerg Exp $ --- src/modules/common/rawstr4.cpp.orig 2016-12-17 11:19:27.919536682 +0000 +++ src/modules/common/rawstr4.cpp @@@@ -74,7 +74,7 @@@@ RawStr4::RawStr4(const char *ipath, int buf.setFormatted("%s.dat", path); datfd = FileMgr::getSystemFileMgr()->open(buf, fileMode, true); - if (datfd < 0) { + if (!datfd) { SWLog::getSystemLog()->logError("%d", errno); } @@@@ -111,7 +111,7 @@@@ void RawStr4::getIDXBufDat(long ioffset, { int size; char ch; - if (datfd > 0) { + if (datfd) { datfd->seek(ioffset, SEEK_SET); for (size = 0; datfd->read(&ch, 1) == 1; size++) { if ((ch == '\\') || (ch == 10) || (ch == 13)) @@@@ -145,7 +145,7 @@@@ void RawStr4::getIDXBuf(long ioffset, ch { __u32 offset; - if (idxfd > 0) { + if (idxfd) { idxfd->seek(ioffset, SEEK_SET); idxfd->read(&offset, 4); @ 1.1 log @Don't try to order pointers, check for NULLness. @ text @d1 1 a1 1 $NetBSD$ @