Commit 4fea4257 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

ws: Comprehensive workspace magic cheese

parent b648aecf
......@@ -107,7 +107,7 @@ WS_Init(struct ws *ws, const char *id, void *space, unsigned len)
ws->e = ws->s + len;
*ws->e = 0x15;
ws->f = ws->s;
assert(id[0] & 0x20);
assert(id[0] & 0x20); // cheesy islower()
bstrcpy(ws->id, id);
WS_Assert(ws);
}
......@@ -368,7 +368,7 @@ WS_Overflowed(const struct ws *ws)
CHECK_OBJ_NOTNULL(ws, WS_MAGIC);
AN(ws->id[0]);
if (ws->id[0] & 0x20)
if (ws->id[0] & 0x20) // cheesy islower()
return (0);
return (1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment