Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2010 05:19:23 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 178289 for review
Message-ID:  <201005150519.o4F5JNI5037600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@178289?ac=10

Change 178289 by gcooper@starr-bastion on 2010/05/15 05:18:33

	Fix a bug when -X isn't specified.

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/create/perform.c#25 edit

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/create/perform.c#25 (text+ko) ====

@@ -580,7 +580,7 @@
 					error = strerror(ENAMETOOLONG);
 
 			/* Exclude the file according to the */
-			if (match_patterns != NULL &&
+			if (match_patterns == NULL ||
 			    lafe_excluded(match_patterns, destfile) == 0)
 	 			ADD_FILE(srcfile, destfile,
 				    archive_entry_open_flags);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005150519.o4F5JNI5037600>