diff options
| author | Dan Nicolaescu | 2008-02-09 18:03:10 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-02-09 18:03:10 +0000 |
| commit | 4624371d9a4c1a078bcb7a305adb0520cd8975bc (patch) | |
| tree | 3e976f55d9448bda9ab36215bd5673c0eab68d45 /lib-src | |
| parent | 87e391bb24d57ce8c27226542ba11ea5f924689d (diff) | |
| download | emacs-4624371d9a4c1a078bcb7a305adb0520cd8975bc.tar.gz emacs-4624371d9a4c1a078bcb7a305adb0520cd8975bc.zip | |
* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
dealing with obsolete variables.
* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.
* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.
* s/msdos.h (DONT_NEED_ENVIRON): Don't define.
* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 3 | ||||
| -rw-r--r-- | lib-src/fakemail.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 8b669dbdcd3..a9d82de9c7e 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. | ||
| 4 | (main): Replace MAIL_PROGRAM_NAME with its value. | ||
| 5 | |||
| 3 | * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete | 6 | * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete |
| 4 | variable. | 7 | variable. |
| 5 | 8 | ||
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 10a9cdb20ea..a2d31350fc8 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c | |||
| @@ -135,10 +135,6 @@ struct linebuffer lb; | |||
| 135 | #define NIL ((line_list) NULL) | 135 | #define NIL ((line_list) NULL) |
| 136 | #define INITIAL_LINE_SIZE 200 | 136 | #define INITIAL_LINE_SIZE 200 |
| 137 | 137 | ||
| 138 | #ifndef MAIL_PROGRAM_NAME | ||
| 139 | #define MAIL_PROGRAM_NAME "/bin/mail" | ||
| 140 | #endif | ||
| 141 | |||
| 142 | static char *my_name; | 138 | static char *my_name; |
| 143 | static char *the_date; | 139 | static char *the_date; |
| 144 | static char *the_user; | 140 | static char *the_user; |
| @@ -734,7 +730,7 @@ main (argc, argv) | |||
| 734 | 730 | ||
| 735 | mail_program_name = getenv ("FAKEMAILER"); | 731 | mail_program_name = getenv ("FAKEMAILER"); |
| 736 | if (!(mail_program_name && *mail_program_name)) | 732 | if (!(mail_program_name && *mail_program_name)) |
| 737 | mail_program_name = MAIL_PROGRAM_NAME; | 733 | mail_program_name = "/bin/mail"; |
| 738 | name_length = strlen (mail_program_name); | 734 | name_length = strlen (mail_program_name); |
| 739 | 735 | ||
| 740 | my_name = MY_NAME; | 736 | my_name = MY_NAME; |