head 1.2; access; symbols 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 2018.12.18.17.08.21; author nia; state dead; branches; next 1.1; commitid unaRLdxVdej3Ri4B; 1.1 date 2016.12.17.14.24.37; author joerg; state Exp; branches; next ; commitid 3sHyV3SZCsGhslyz; desc @@ 1.2 log @emulators/mednafen: Update to 1.21.3. Package's changelog does not go that far back. @ text @$NetBSD: patch-src_settings.cpp,v 1.1 2016/12/17 14:24:37 joerg Exp $ --- src/settings.cpp.orig 2016-12-15 14:21:35.471903115 +0000 +++ src/settings.cpp @@@@ -166,7 +166,7 @@@@ bool MFDN_LoadSettings(const char *based char linebuf[1024]; - while(fgets(linebuf, 1024, fp) > 0) + while(fgets(linebuf, 1024, fp)) { char *spacepos = strchr(linebuf, ' '); md5_context md5; @ 1.1 log @Don't order pointers relative to 0, check for NULLness. @ text @d1 1 a1 1 $NetBSD$ @