pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/squidview Fix error check for fopen. Bump revision.
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb16c7858582
branches: trunk
changeset: 356251:eb16c7858582
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Dec 23 22:30:50 2016 +0000
description:
Fix error check for fopen. Bump revision.
diffstat:
www/squidview/Makefile | 4 ++--
www/squidview/distinfo | 3 ++-
www/squidview/patches/patch-squidview.cpp | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 29b01940552a -r eb16c7858582 www/squidview/Makefile
--- a/www/squidview/Makefile Fri Dec 23 22:29:59 2016 +0000
+++ b/www/squidview/Makefile Fri Dec 23 22:30:50 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2015/08/18 07:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/12/23 22:30:50 joerg Exp $
DISTNAME= squidview-0.80
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.rillion.net/squidview/
diff -r 29b01940552a -r eb16c7858582 www/squidview/distinfo
--- a/www/squidview/distinfo Fri Dec 23 22:29:59 2016 +0000
+++ b/www/squidview/distinfo Fri Dec 23 22:30:50 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:47:39 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/12/23 22:30:50 joerg Exp $
SHA1 (squidview-0.80.tar.gz) = a87c83d9e7ddd13f733330ca59d892099b8c963c
RMD160 (squidview-0.80.tar.gz) = 296a3c411d5dea4ae78c75d07ec5b32bdf96f87a
SHA512 (squidview-0.80.tar.gz) = 4a9bb0f296222ef5c8c127d4e0697ff050a2adcf8b28771379da32af816a2d43edbbd3f02920dc2c54735e7a22f50e6b9040067e2b77136506f472cfedff8894
Size (squidview-0.80.tar.gz) = 122502 bytes
SHA1 (patch-squidview.1) = 9065a6a295d25bd1e76c548e2e92223131602065
+SHA1 (patch-squidview.cpp) = db7b7f4cdce0801a0f36fa644e9787eaa8f56f03
diff -r 29b01940552a -r eb16c7858582 www/squidview/patches/patch-squidview.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squidview/patches/patch-squidview.cpp Fri Dec 23 22:30:50 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-squidview.cpp,v 1.1 2016/12/23 22:30:50 joerg Exp $
+
+fopen returns NULL on error.
+
+--- squidview.cpp.orig 2016-12-23 00:11:45.178070224 +0000
++++ squidview.cpp
+@@ -1002,7 +1002,7 @@ int SaveWords()
+ FILE* fOutput;
+
+ fOutput = fopen (sWordFile.c_str(), "w");
+- if (fOutput <= 0)
++ if (fOutput == 0)
+ return 0;
+
+ iIndex = 0;
Home |
Main Index |
Thread Index |
Old Index