]> git.eshelyaron.com Git - emacs.git/commitdiff
Undo previous change.
authorDan Nicolaescu <dann@ics.uci.edu>
Sun, 10 Feb 2008 19:24:48 +0000 (19:24 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sun, 10 Feb 2008 19:24:48 +0000 (19:24 +0000)
lib-src/ChangeLog
lib-src/fakemail.c

index a9d82de9c7e7d291e07b909dc6d54bc6fece57b9..10e8593a0af94a7dc429ac36d66d46fe3be6f6f7 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * fakemail.c: Undo previous change.
+
 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
index a2d31350fc86cd4cf442cd804cf3de4231a5f638..10a9cdb20eaca68e166df0cbdbf9c529aa32cc73 100644 (file)
@@ -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;