pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkg_install-renovation]: pkgsrc/pkgtools/pkg_install/files/add 0644 i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d912fbbb1c63
branches:  pkg_install-renovation
changeset: 541574:d912fbbb1c63
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 30 22:26:03 2008 +0000

description:
0644 is a better file permission than 644 for +REQUIRED_BY...

diffstat:

 pkgtools/pkg_install/files/add/perform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f00d565a086f -r d912fbbb1c63 pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Wed Jul 30 15:38:37 2008 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Wed Jul 30 22:26:03 2008 +0000
@@ -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@localhost>
@@ -785,7 +785,7 @@
        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);



Home | Main Index | Thread Index | Old Index