diff options
author | joerg <joerg@pkgsrc.org> | 2009-04-23 19:53:52 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-04-23 19:53:52 +0000 |
commit | 83f2c9f20595fb27f8d28bed045f2c76df84c49d (patch) | |
tree | fe02ce9bfd416a4fd76e2c970895b064523ee780 /pkgtools | |
parent | c38bf484b58176abb1546ace32f10346f92a9d8b (diff) | |
download | pkgsrc-83f2c9f20595fb27f8d28bed045f2c76df84c49d.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; |