From: Dan Nicolaescu Date: Sun, 10 Feb 2008 19:24:48 +0000 (+0000) Subject: Undo previous change. X-Git-Tag: emacs-pretest-23.0.90~8039 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=45c1955de8724b44b80061f65838558b056ab570;p=emacs.git Undo previous change. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a9d82de9c7e..10e8593a0af 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-10 Dan Nicolaescu + + * fakemail.c: Undo previous change. + 2008-02-09 Dan Nicolaescu * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index a2d31350fc8..10a9cdb20ea 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -135,6 +135,10 @@ struct linebuffer lb; #define NIL ((line_list) NULL) #define INITIAL_LINE_SIZE 200 +#ifndef MAIL_PROGRAM_NAME +#define MAIL_PROGRAM_NAME "/bin/mail" +#endif + static char *my_name; static char *the_date; static char *the_user; @@ -730,7 +734,7 @@ main (argc, argv) mail_program_name = getenv ("FAKEMAILER"); if (!(mail_program_name && *mail_program_name)) - mail_program_name = "/bin/mail"; + mail_program_name = MAIL_PROGRAM_NAME; name_length = strlen (mail_program_name); my_name = MY_NAME;