From 7e4cf4dbdbf0e956279a5980d576ebb69a847ada Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 23 Apr 2009 19:53:52 +0000 Subject: 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. --- pkgtools/pkg_install/files/lib/plist.c | 6 +++--- 1 file 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 #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; -- cgit v1.2.3