PERFORCE change 176075 for review
Garrett Cooper
gcooper at FreeBSD.org
Thu Mar 25 06:32:21 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=176075
Change 176075 by gcooper at gcooper-bayonetta on 2010/03/25 06:31:52
Commit local change for bin/139492 .
Affected files ...
.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/match.c#2 edit
Differences ...
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/match.c#2 (text+ko) ====
@@ -267,7 +267,7 @@
*/
if (isemptydir(tmp))
continue;
- snprintf(tmp, PATH_MAX, "%s/%s", tmp, CONTENTS_FNAME);
+ strncat(tmp, "/" CONTENTS_FNAME, PATH_MAX);
fp = fopen(tmp, "r");
if (fp == NULL) {
warnx("the package info for package '%s' is corrupt", installed[i]);
More information about the p4-projects
mailing list