pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/add pkg_install: spaces->ta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f546342d299b
branches:  trunk
changeset: 443409:f546342d299b
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Dec 12 01:44:17 2020 +0000

description:
pkg_install: spaces->tabs for consistency in perform.c

diffstat:

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

diffs (41 lines):

diff -r 3ee7576c563e -r f546342d299b pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Sat Dec 12 01:39:37 2020 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Sat Dec 12 01:44:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.116 2020/12/11 15:55:35 wiz Exp $        */
+/*     $NetBSD: perform.c,v 1.117 2020/12/12 01:44:17 gutteridge 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.116 2020/12/11 15:55:35 wiz Exp $");
+__RCSID("$NetBSD: perform.c,v 1.117 2020/12/12 01:44:17 gutteridge Exp $");
 
 /*-
  * Copyright (c) 2003 Grant Beattie <grant%NetBSD.org@localhost>
@@ -1188,10 +1188,10 @@
                        continue;
 
                best_installed = find_best_matching_installed_pkg(p->name, 0);
-                if (best_installed == NULL) {
+               if (best_installed == NULL) {
                        warnx("Expected dependency %s still missing", p->name);
-                        return -1;
-                }
+                               return -1;
+               }
 
                for (i = 0; i < pkg->dep_length; ++i) {
                        if (strcmp(best_installed, pkg->dependencies[i]) == 0)
@@ -1240,7 +1240,7 @@
 {
        int result = -1;
 
-        if (preserve_meta_data_file(pkg, REQUIRED_BY_FNAME))
+       if (preserve_meta_data_file(pkg, REQUIRED_BY_FNAME))
                return -1;
 
        if (preserve_meta_data_file(pkg, PRESERVE_FNAME))



Home | Main Index | Thread Index | Old Index