[cap-talk] A good way to hide source code.

John Carlson john.carlson3 at sbcglobal.net
Tue Feb 24 04:10:40 EST 2009

Try this at home if you haven't done so already  (works on many  
varieties of UNIX):

$ ln -s /dev/tty main.c
$ cc main.c
#include <stdio.h>
int main() {
printf("Hello, World\n");
$ ./a.out

Would this be a form of confused deputy?  Note that this sort of thing  
doesn't pass the Java compiler!
Is this valid behavior on the part of the compiler?


More information about the cap-talk mailing list