Date: Sun, 21 Mar 2010 02:24:21 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 175889 for review Message-ID: <201003210224.o2L2OLqD036244@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=175889 Change 175889 by gcooper@gcooper-bayonetta on 2010/03/21 02:23:20 Replace vsystem'ed call to mkdir(1) in add/futil.c with mkdir(1). See bin/144921 for more details. Affected files ... .. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/add/futil.c#2 edit Differences ... ==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/add/futil.c#2 (text+ko) ==== @@ -50,7 +50,7 @@ } } else { - if (vsystem("/bin/mkdir %s", dir)) { + if (mkdir(dir, 0700) < 0) { if (cp2) *cp2 = '/'; return FAIL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003210224.o2L2OLqD036244>