[67587] trunk/dports/sysutils/FDclone

takanori at macports.org takanori at macports.org
Thu May 13 07:10:08 PDT 2010


Revision: 67587
          http://trac.macports.org/changeset/67587
Author:   takanori at macports.org
Date:     2010-05-13 07:10:06 -0700 (Thu, 13 May 2010)
Log Message:
-----------
FDclone: Fixed segfault when exiting directory-tree mode.
         http://www.unixusers.net/ml/FDclone-users/201005/msg00000.html

Modified Paths:
--------------
    trunk/dports/sysutils/FDclone/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/FDclone/files/patch-tree.c.diff

Modified: trunk/dports/sysutils/FDclone/Portfile
===================================================================
--- trunk/dports/sysutils/FDclone/Portfile	2010-05-13 13:31:29 UTC (rev 67586)
+++ trunk/dports/sysutils/FDclone/Portfile	2010-05-13 14:10:06 UTC (rev 67587)
@@ -4,6 +4,7 @@
 
 name            FDclone
 version         3.00e
+revision        1
 categories      sysutils shells
 maintainers     takanori openmaintainer
 description     File & Directory Maintenance Tool
@@ -14,7 +15,8 @@
 master_sites    http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
                 ftp://ftp.unixusers.net/src/fdclone/
 distname        FD-${version}
-patchfiles      patch-Makefile.in.diff
+patchfiles      patch-Makefile.in.diff \
+                patch-tree.c.diff
 checksums       rmd160 c9c31fe0887e970d18b12722ab7a58659492bf03
 
 depends_lib     port:ncurses

Added: trunk/dports/sysutils/FDclone/files/patch-tree.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-tree.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/FDclone/files/patch-tree.c.diff	2010-05-13 14:10:06 UTC (rev 67587)
@@ -0,0 +1,11 @@
+--- tree.c.orig	2010-02-27 00:00:00.000000000 +0900
++++ tree.c	2010-05-13 22:55:09.000000000 +0900
+@@ -852,7 +852,7 @@
+ 		path = _tree();
+ 	} while (path == fullpath);
+ #ifdef	DEP_PSEUDOPATH
+-	if (drvp && (*drvp = preparedrv(path, NULL, NULL)) < 0) {
++	if (drvp && path && (*drvp = preparedrv(path, NULL, NULL)) < 0) {
+ 		warning(-1, path);
+ 		Xfree(path);
+ 		path = NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100513/e80fc183/attachment.html>


More information about the macports-changes mailing list