- add a patch to fix a null pointer dereference when deleting files
- remove some whitespaces in Makefile from Tobias Ulmer <tobiasu at tmux dot org>
This commit is contained in:
parent
cccd57dd87
commit
d259b87054
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2007/10/16 14:46:46 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2008/01/03 12:05:24 ajacoutot Exp $
|
||||
|
||||
COMMENT= MS-Explorer like file manager for X
|
||||
|
||||
DISTNAME= xfe-1.04
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://roland65.free.fr/xfe/
|
||||
|
15
x11/xfe/patches/patch-src_File_cc
Normal file
15
x11/xfe/patches/patch-src_File_cc
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_File_cc,v 1.1 2008/01/03 12:05:24 ajacoutot Exp $
|
||||
--- src/File.cc.orig Wed Jan 2 17:20:09 2008
|
||||
+++ src/File.cc Wed Jan 2 17:20:44 2008
|
||||
@@ -491,7 +491,10 @@ FXint isEmptyDir(const FXString directory)
|
||||
else
|
||||
ret=0;
|
||||
}
|
||||
- closedir(dir);
|
||||
+
|
||||
+ if (dir)
|
||||
+ closedir(dir);
|
||||
+
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user