diff options
author | joerg <joerg> | 2009-04-23 19:53:52 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-04-23 19:53:52 +0000 |
commit | 6fbaa75ffd27d1dca20f3572bed6b78682034748 (patch) | |
tree | fe02ce9bfd416a4fd76e2c970895b064523ee780 /pkgtools | |
parent | 2d2d5442c851a1880d54367a1e7d88a9cd9c7f0a (diff) | |
download | pkgsrc-6fbaa75ffd27d1dca20f3572bed6b78682034748.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.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/lib/plist.c | 6 |
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; |