pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xfe PR 48357 Germain Le Chapelain: don't cras...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ceaa21fb3859
branches: trunk
changeset: 626147:ceaa21fb3859
user: dholland <dholland%pkgsrc.org@localhost>
date: Sat Nov 02 18:27:39 2013 +0000
description:
PR 48357 Germain Le Chapelain: don't crash if opendir fails.
PKGREVISION -> 13
diffstat:
sysutils/xfe/Makefile | 4 ++--
sysutils/xfe/distinfo | 3 ++-
sysutils/xfe/patches/patch-src_File.cc | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 1b5374405f67 -r ceaa21fb3859 sysutils/xfe/Makefile
--- a/sysutils/xfe/Makefile Sat Nov 02 17:57:17 2013 +0000
+++ b/sysutils/xfe/Makefile Sat Nov 02 18:27:39 2013 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2013/06/06 12:55:06 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2013/11/02 18:27:39 dholland Exp $
DISTNAME= xfe-1.04
-PKGREVISION= 12
+PKGREVISION= 13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xfe/}
diff -r 1b5374405f67 -r ceaa21fb3859 sysutils/xfe/distinfo
--- a/sysutils/xfe/distinfo Sat Nov 02 17:57:17 2013 +0000
+++ b/sysutils/xfe/distinfo Sat Nov 02 18:27:39 2013 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2007/09/12 20:44:20 xtraeme Exp $
+$NetBSD: distinfo,v 1.11 2013/11/02 18:27:39 dholland Exp $
SHA1 (xfe-1.04.tar.gz) = 0a81c0a98312f48ba7c1fd208edf53516e743511
RMD160 (xfe-1.04.tar.gz) = beb1226548152406ac5b7031597590926886ef4c
Size (xfe-1.04.tar.gz) = 1663117 bytes
SHA1 (patch-ac) = 001140df584ef01d52e0737a57e0babbc574a0b4
+SHA1 (patch-src_File.cc) = 449360d6f6868aa53a210a56d4e0d7688611d367
diff -r 1b5374405f67 -r ceaa21fb3859 sysutils/xfe/patches/patch-src_File.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfe/patches/patch-src_File.cc Sat Nov 02 18:27:39 2013 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_File.cc,v 1.1 2013/11/02 18:27:39 dholland Exp $
+
+Don't call closedir() on NULL. From PR 48357.
+
+--- src/File.cc~ 2007-09-03 12:12:21.000000000 +0000
++++ src/File.cc
+@@ -490,8 +490,8 @@ FXint isEmptyDir(const FXString director
+ ret=1;
+ else
+ ret=0;
++ closedir(dir);
+ }
+- closedir(dir);
+ return ret;
+ }
+
Home |
Main Index |
Thread Index |
Old Index