Hi list,

int compare_pointers(t_pd *foo)
{
     long bar = generate_random_long();
     return (((void *)foo) == ((void *)bar));
}

(I probably have unnecessary parens there...)

Is the check for equality a case of undefined behavior?

If so, doesn't glob_findinstance of s_print.c also lead to the same
undefined behavior?

-Jonathan