unbreak kernel builds on sparc64 and powerpc after r324163, ZFS Channel Programs
The custom iscntrl() in ZFS Lua code expects a signed argumnet, so remove the harmful cast. Reported by: ian MFC after: 5 weeks X-MFC with: r324163
This commit is contained in:
parent
f448611e08
commit
ad744541fa
@ -867,7 +867,7 @@ static void addquoted (lua_State *L, luaL_Buffer *b, int arg) {
|
||||
luaL_addchar(b, '\\');
|
||||
luaL_addchar(b, *s);
|
||||
}
|
||||
else if (*s == '\0' || iscntrl(uchar(*s))) {
|
||||
else if (*s == '\0' || iscntrl(*s)) {
|
||||
char buff[10];
|
||||
if (!isdigit(uchar(*(s+1))))
|
||||
sprintf(buff, "\\%d", (int)uchar(*s));
|
||||
|
Loading…
Reference in New Issue
Block a user