[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23273] Please include xkcd easteregg
From: |
James Coleman |
Subject: |
[bug #23273] Please include xkcd easteregg |
Date: |
Thu, 10 Jul 2008 11:55:56 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0 |
Follow-up Comment #4, bug #23273 (project make):
patch attached
Posted this already on make mailing list, sorry for duplicate info, was not
sure about adding patch here.
As simple as possible I think.
Don't call to fatal so that easter egg error text is clear of adornment.
Exits using die(2) as fatal does.
Doesn't trigger action if -k (continue on error) is specified.
There's already a strcmp() call in remake.c (strncmp used for this patch).
There's already a getuid() call in misc.c, I think for all platforms.
Tested on linux, solaris and cygwin.
$ ./make the cat some tea
make: *** No rule to make target `the'. Stop.
$ ./make me a sandwich
What? Make it yourself.
$ sudo ./make me a sandwich
Okay.
$ ./make -k me a sandwich
make: *** No rule to make target `me'.
make: *** No rule to make target `a'.
make: *** No rule to make target `sandwich'.
$ ./make -f Makefile.me me a sandwich
make: Nothing to be done for `me'.
make: *** No rule to make target `a'. Stop.
$ ./make me a cup of tea please
What? Make it yourself.
(file #16091)
_______________________________________________________
Additional Item Attachment:
File name: make_me_some_tea.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23273>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/