-/* $OpenBSD: rcs.c,v 1.79 2012/03/03 08:34:27 nicm Exp $ */
+/* $OpenBSD: rcs.c,v 1.80 2014/01/07 14:08:16 deraadt Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
rcs_sym_check(const char *sym)
{
int ret;
- const char *cp;
+ const unsigned char *cp;
ret = 1;
cp = sym;
rcs_state_check(const char *state)
{
int ret;
- const char *cp;
+ const unsigned char *cp;
ret = 0;
cp = state;
-/* $OpenBSD: rcsnum.c,v 1.13 2011/05/20 19:21:10 nicm Exp $ */
+/* $OpenBSD: rcsnum.c,v 1.14 2014/01/07 14:08:16 deraadt Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
nump->rn_id[0] = 0;
for (sp = str;; sp++) {
- if (!isdigit(*sp) && (*sp != '.'))
+ if (!isdigit((unsigned char)*sp) && (*sp != '.'))
break;
if (*sp == '.') {
-/* $OpenBSD: rlog.c,v 1.66 2013/06/03 17:04:35 jcs Exp $ */
+/* $OpenBSD: rlog.c,v 1.67 2014/01/07 14:08:16 deraadt Exp $ */
/*
* Copyright (c) 2005, 2009 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
delim = '\0';
last = "\0";
} else {
- while (*last && isspace(*last))
+ while (*last && isspace((unsigned char)*last))
last++;
}