Monthly Archives: October 2007

it is a good day

take that, web!

gcc feature breaks glibc feature

most gnome hackers are probably accustomed to the fact that they can pass a null pointer as a value to glibc’s “%s” conversion character and get the string “(null)” output instead of a crash. take for example, this program: #include <stdio.h> int main (void) { printf (“%s”, NULL); return 0; } this will output “(null)”. […]