PERFORCE change 178289 for review

Garrett Cooper gcooper at FreeBSD.org
Sat May 15 05:19:23 UTC 2010


http://p4web.freebsd.org/@@178289?ac=10

Change 178289 by gcooper at 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);


More information about the p4-projects mailing list