PERFORCE change 176193 for review
Garrett Cooper
gcooper at FreeBSD.org
Sun Mar 28 09:56:43 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=176193
Change 176193 by gcooper at gcooper-bayonetta on 2010/03/28 09:56:15
Act on strtol failure instead of just letting it silently pass.
Affected files ...
.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/version/perform.c#3 edit
Differences ...
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/version/perform.c#3 (text+ko) ====
@@ -60,7 +60,8 @@
__func__);
return 1;
} else if ((rel_major_ver = (int) strtol(u.release, NULL, 10)) <= 0) {
-
+ warnx("%s.%s: release version specified: %s", u.release);
+ return 1;
}
/*
More information about the p4-projects
mailing list