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 | 203460b7e7be110a70b2ea0343e90a72cd37985a (patch) | |
tree | ec0397609766f7c1923247cd790832d352f66f65 /pkgtools | |
parent | e87bd46fd6f7b62441b2068e159e334d65fe1b71 (diff) | |
download | pkgsrc-203460b7e7be110a70b2ea0343e90a72cd37985a.tar.gz |
Remove umask call and remove warning on Interix; OK'd by hubertf.
Diffstat (limited to 'pkgtools')
-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; |