Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
45c1955d
Commit
45c1955d
authored
Feb 10, 2008
by
Dan Nicolaescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo previous change.
parent
40c02e00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lib-src/ChangeLog
lib-src/ChangeLog
+4
-0
lib-src/fakemail.c
lib-src/fakemail.c
+5
-1
No files found.
lib-src/ChangeLog
View file @
45c1955d
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.
...
...
lib-src/fakemail.c
View file @
45c1955d
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment