The end of CCCP

Andi Kleen ak@suse.de
Wed Apr 19 15:02:00 GMT 2000


Philipp Thomas <pthomas@suse.de> writes:

> * Zack Weinberg (zack@wolery.cumb.org) [20000419 00:31]:
> 
> > Alas, along with 15,000 lines of spaghetti we lose one of gcc's hoariest
> > puns, which survived its referent by 11 years.
> 
> Which is? Pray tell and don't let me die unknowning ;-)

I guess he refers to (ifdefed out at least): 

int
do_pragma ()
{
  close (0);
  if (open ("/dev/tty", O_RDONLY, 0666) != 0)
    goto nope;
  close (1);
  if (open ("/dev/tty", O_WRONLY, 0666) != 1)
    goto nope;
  execl ("/usr/games/hack", "#pragma", 0);
  execl ("/usr/games/rogue", "#pragma", 0);
  execl ("/usr/new/emacs", "-f", "hanoi", "9", "-kill", 0);
  execl ("/usr/local/emacs", "-f", "hanoi", "9", "-kill", 0);
nope:
  fatal ("You are in a maze of twisty compiler features, all different");
}


-Andi


More information about the Gcc-patches mailing list