PERFORCE change 175886 for review
Garrett Cooper
gcooper at FreeBSD.org
Sun Mar 21 01:51:48 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=175886
Change 175886 by gcooper at gcooper-bayonetta on 2010/03/21 01:51:16
Remove useless chmod after mkdtemp(3) call. See bin/144920 for more details.
Affected files ...
.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/pen.c#2 edit
Differences ...
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/pen.c#2 (text+ko) ====
@@ -113,10 +113,6 @@
cleanup(0);
errx(2, "%s: can't mktemp '%s'", __func__, pen);
}
- if (chmod(pen, 0700) == FAIL) {
- cleanup(0);
- errx(2, "%s: can't mkdir '%s'", __func__, pen);
- }
if (Verbose) {
if (sz) {
More information about the p4-projects
mailing list