diff options
author | tv <tv@pkgsrc.org> | 2004-03-29 20:27:46 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-03-29 20:27:46 +0000 |
commit | b8ca4f15f3c6998cf80ca846d26795a239eb3acc (patch) | |
tree | ec0397609766f7c1923247cd790832d352f66f65 /pkgtools/pkg_install | |
parent | 954fa7c2304666afc8d80724f1a512c8308906f4 (diff) | |
download | pkgsrc-b8ca4f15f3c6998cf80ca846d26795a239eb3acc.tar.gz |
Remove umask call and remove warning on Interix; OK'd by hubertf.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index 4fa02653631..dfd0c58becf 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.17 2004/03/29 02:25:06 tv Exp $ */ +/* $NetBSD: perform.c,v 1.18 2004/03/29 20:27:46 tv Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -11,7 +11,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.17 2004/03/29 02:25:06 tv Exp $"); +__RCSID("$NetBSD: perform.c,v 1.18 2004/03/29 20:27:46 tv Exp $"); #endif #endif @@ -720,9 +720,10 @@ ignore_replace_depends_check: if (!NoRecord && !Fake) { char contents[FILENAME_MAX]; - umask(022); +#ifndef __INTERIX if (getuid() != 0) warnx("not running as root - trying to record install anyway"); +#endif if (!PkgName) { warnx("no package name! can't record package, sorry"); errc = 1; |