diff options
author | joerg <joerg@pkgsrc.org> | 2008-07-30 22:26:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-07-30 22:26:03 +0000 |
commit | 8e5ff899caea7eceba25a2a134d8e0f14c117d20 (patch) | |
tree | e9e04b8c69728378e86dfa570f803a70e88ae320 | |
parent | 76a0cb6a6b75f8df1c1c63694db4d1cf9129bec0 (diff) | |
download | pkgsrc-8e5ff899caea7eceba25a2a134d8e0f14c117d20.tar.gz |
0644 is a better file permission than 644 for +REQUIRED_BY...
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index b83e2d9db25..156afc0d92e 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.70.4.12 2008/07/30 15:38:37 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.70.4.13 2008/07/30 22:26:03 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" #endif @@ -6,7 +6,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: perform.c,v 1.70.4.12 2008/07/30 15:38:37 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.70.4.13 2008/07/30 22:26:03 joerg Exp $"); /*- * Copyright (c) 2003 Grant Beattie <grant@NetBSD.org> @@ -785,7 +785,7 @@ pkg_register_depends(struct pkg_task *pkg) for (i = 0; i < pkg->dep_length; ++i) { required_by = pkgdb_pkg_file(pkg->dependencies[i], REQUIRED_BY_FNAME); - fd = open(required_by, O_WRONLY | O_APPEND | O_CREAT, 644); + fd = open(required_by, O_WRONLY | O_APPEND | O_CREAT, 0644); if (fd == -1) warn("can't open dependency file '%s'," "registration is incomplete!", required_by); |