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/lib Require all plist comma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a45de45ecad
branches: trunk
changeset: 391986:9a45de45ecad
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Apr 23 19:53:52 2009 +0000
description:
Require all plist commands to be in lower case. Nothing depends on that
and it was never documented that it worked either way, so being strict
doesn't hurt.
diffstat:
pkgtools/pkg_install/files/lib/plist.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 35551efe86fc -r 9a45de45ecad pkgtools/pkg_install/files/lib/plist.c
--- a/pkgtools/pkg_install/files/lib/plist.c Thu Apr 23 19:43:05 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/plist.c Thu Apr 23 19:53:52 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plist.c,v 1.26 2009/04/23 19:38:14 joerg Exp $ */
+/* $NetBSD: plist.c,v 1.27 2009/04/23 19:53:52 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -7,7 +7,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: plist.c,v 1.26 2009/04/23 19:38:14 joerg Exp $");
+__RCSID("$NetBSD: plist.c,v 1.27 2009/04/23 19:53:52 joerg Exp $");
/*
* FreeBSD install - a package for the installation and maintainance
@@ -264,7 +264,7 @@
for (cmdp = cmdv; cmdp->c_s; ++cmdp) {
for (sp = s, cp = cmdp->c_s; *sp && *cp; ++cp, ++sp)
- if (tolower((unsigned char)*sp) != *cp)
+ if (*sp != *cp)
break;
if (*cp == '\0')
break;
Home |
Main Index |
Thread Index |
Old Index