pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_install/files/add
Module Name: pkgsrc
Committed By: gutteridge
Date: Sat Dec 12 01:44:17 UTC 2020
Modified Files:
pkgsrc/pkgtools/pkg_install/files/add: perform.c
Log Message:
pkg_install: spaces->tabs for consistency in perform.c
To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 pkgsrc/pkgtools/pkg_install/files/add/perform.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_install/files/add/perform.c
diff -u pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.116 pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.117
--- pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.116 Fri Dec 11 15:55:35 2020
+++ pkgsrc/pkgtools/pkg_install/files/add/perform.c Sat Dec 12 01:44:17 2020
@@ -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 @@ check_dependencies(struct pkg_task *pkg)
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 @@ start_replacing(struct pkg_task *pkg)
{
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