changeset 91725:9dee041c9720

Undo previous change.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 10 Feb 2008 19:24:48 +0000
parents 4302897b076a
children 920a9f8f6463
files lib-src/ChangeLog lib-src/fakemail.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Sun Feb 10 18:38:05 2008 +0000
+++ b/lib-src/ChangeLog	Sun Feb 10 19:24:48 2008 +0000
@@ -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.
--- a/lib-src/fakemail.c	Sun Feb 10 18:38:05 2008 +0000
+++ b/lib-src/fakemail.c	Sun Feb 10 19:24:48 2008 +0000
@@ -135,6 +135,10 @@
 #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 @@
 
   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;