head 1.2; access; symbols 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.07.02.12.58.54; author nia; state dead; branches; next 1.1; commitid fPQp8XI4H5ojbttB; 1.1 date 2016.12.15.23.52.43; author joerg; state Exp; branches; next ; commitid nkWlarGhNx49F8yz; desc @@ 1.2 log @games/armegatron*: Update to 0.2.8.3.4 "This release is a compiler compatibility release only; we noticed 0.2.8.3.3 had severe problems with gcc 6, all our fault." @ text @$NetBSD: patch-src_tools_tResourceManager.cpp,v 1.1 2016/12/15 23:52:43 joerg Exp $ fopen returns a NULL pointer on failure. --- src/tools/tResourceManager.cpp.orig 2016-12-15 17:37:32.864347941 +0000 +++ src/tools/tResourceManager.cpp @@@@ -44,7 +44,7 @@@@ static int myHTTPFetch(const char *URI, } fd = fopen(savepath, "w"); - if (fd < 0) { + if (fd == NULL) { xmlNanoHTTPClose(ctxt); con << tOutput( "$resource_no_write", savepath ); return 3; @ 1.1 log @Pointers are not ordered relative to 0. Check the error of fopen correctly. Share patches when sharing distinfo. Bump revision. @ text @d1 1 a1 1 $NetBSD$ @