diff options
author | 2015-06-23 15:35:20 +0000 | |
---|---|---|
committer | 2015-06-23 15:35:20 +0000 | |
commit | b426d426db75cef05af42131708bee7a429712ca (patch) | |
tree | e8b45b7ca5a4fe9d2e9e838cefb2a0f0922b34cd | |
parent | Add STANDARDS section; isblank(3) was specified in C99. (diff) | |
download | wireguard-openbsd-b426d426db75cef05af42131708bee7a429712ca.tar.xz wireguard-openbsd-b426d426db75cef05af42131708bee7a429712ca.zip |
remove a deprecated character class.
it was deprecated in lua code, but here the code is new. The documentation
don't mention it either.
ok reyk@
-rw-r--r-- | usr.sbin/httpd/patterns.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/httpd/patterns.c b/usr.sbin/httpd/patterns.c index e4e3ab43cd8..3b2cbcce3cc 100644 --- a/usr.sbin/httpd/patterns.c +++ b/usr.sbin/httpd/patterns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $ */ +/* $OpenBSD: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -26,7 +26,7 @@ /* * Derived from Lua 5.3.1: - * $Id: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $ + * $Id: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $ * Standard library for string operations and pattern-matching */ @@ -156,9 +156,6 @@ match_class(int c, int cl) case 'x': res = isxdigit(c); break; - case 'z': - res = (c == 0); - break; /* deprecated option */ default: return (cl == c); } |