Commit cc644240 by Jeff Law

New test.

From-SVN: r19599
parent 47f3558c
unsigned char lookup_table [257];
static int
build_lookup (pattern)
unsigned char *pattern;
{
int m;
m = strlen (pattern) - 1;
memset (lookup_table, ++m, 257);
return m;
}
int main(argc, argv)
int argc;
char **argv;
{
if (build_lookup ("bind") != 4)
abort ();
else
exit (0);
}
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