pkgsrc/comms/asterisk15/patches/patch-main_ast__expr2.y
joerg 73dae11255 Add Asterisk 15.4.1:
Asterisk is a complete PBX in software.  It provides all of the
features you would expect from a PBX and more. Asterisk does voice
over IP in three protocols, and can interoperate with almost all
standards-based telephony equipment using relatively inexpensive
hardware.

Asterisk provides Voicemail services with Directory, Call Conferencing,
Interactive Voice Response, Call Queuing. It has support for
three-way calling, caller ID services, ADSI, SIP and H.323 (as both
client and gateway).

This is a standard version.  It is scheduled to go to security
fixes only on October 3th, 2018, and EOL on October 3th, 2019.
See here for more information about Asterisk versions:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
2018-07-16 21:53:04 +00:00

16 lines
560 B
Text

$NetBSD: patch-main_ast__expr2.y,v 1.1 2018/07/16 21:53:05 joerg Exp $
--- main/ast_expr2.y.orig 2018-05-07 17:23:43.934750158 +0000
+++ main/ast_expr2.y
@@ -538,9 +538,9 @@ make_str (const char *s)
return(NULL);
}
- for (i = 0, isint = (isdigit(s[0]) || s[0] == '-' || s[0]=='.'); isint && i < strlen(s); i++)
+ for (i = 0, isint = (isdigit((unsigned char)s[0]) || s[0] == '-' || s[0]=='.'); isint && i < strlen(s); i++)
{
- if (!isdigit(s[i]) && s[i] != '.') {
+ if (!isdigit((unsigned char)s[i]) && s[i] != '.') {
isint = 0;
break;
}