summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-04-23 19:53:52 +0000
committerjoerg <joerg@pkgsrc.org>2009-04-23 19:53:52 +0000
commit7e4cf4dbdbf0e956279a5980d576ebb69a847ada (patch)
treefe02ce9bfd416a4fd76e2c970895b064523ee780
parentdbf5fd0103fa05470f2147fc5570db63c6ba1475 (diff)
downloadpkgsrc-7e4cf4dbdbf0e956279a5980d576ebb69a847ada.tar.gz
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.
-rw-r--r--pkgtools/pkg_install/files/lib/plist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/plist.c b/pkgtools/pkg_install/files/lib/plist.c
index dee1aa4c25c..454a71fcc6b 100644
--- a/pkgtools/pkg_install/files/lib/plist.c
+++ b/pkgtools/pkg_install/files/lib/plist.c
@@ -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 @@ plist_cmd(const char *s, char **arg)
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;