diff options
author | Glenn Morris <rgm@gnu.org> | 2012-07-31 18:24:49 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-07-31 18:24:49 -0400 |
commit | b2c7a1068135e78b065d05069012f2fb240fea9d (patch) | |
tree | d45770f1ce4c3463b5448c95c799649ae4b555ec /src | |
parent | d66060f8240bda3945e812d9172df3e6a7e4d67a (diff) | |
download | emacs-b2c7a1068135e78b065d05069012f2fb240fea9d.tar.gz |
* configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): Move here from src.
* src/editfns.c (USER_FULL_NAME):
* src/emacs.c (SEPCHAR):
* src/process.h (NULL_DEVICE): Let configure set them.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/editfns.c | 4 | ||||
-rw-r--r-- | src/emacs.c | 3 | ||||
-rw-r--r-- | src/process.h | 6 |
4 files changed, 4 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 79f5bf821ef..46302316204 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2012-07-31 Glenn Morris <rgm@gnu.org> + * process.h (NULL_DEVICE): + * emacs.c (SEPCHAR): + * editfns.c (USER_FULL_NAME): Let configure set them. + * s/README, s/template.h: Remove files. * conf_post.h [HPUX]: Undefine HAVE_RANDOM and HAVE_RINT. diff --git a/src/editfns.c b/src/editfns.c index f174594dd97..dda6371369d 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -59,10 +59,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "window.h" #include "blockinput.h" -#ifndef USER_FULL_NAME -#define USER_FULL_NAME pw->pw_gecos -#endif - #ifndef USE_CRT_DLL extern char **environ; #endif diff --git a/src/emacs.c b/src/emacs.c index 81af0647742..bdc383c9ce1 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2222,9 +2222,6 @@ synchronize_system_messages_locale (void) } #endif /* HAVE_SETLOCALE */ -#ifndef SEPCHAR -#define SEPCHAR ':' -#endif Lisp_Object decode_env_path (const char *evarname, const char *defalt) diff --git a/src/process.h b/src/process.h index 649056a99ff..747540f26a9 100644 --- a/src/process.h +++ b/src/process.h @@ -163,12 +163,6 @@ extern int synch_process_termsig; this is exit code of synchronous subprocess. */ extern int synch_process_retcode; -/* The name of the file open to get a null file, or a data sink. - MS-DOS, and OS/2 redefine this. */ -#ifndef NULL_DEVICE -#define NULL_DEVICE "/dev/null" -#endif - /* Nonzero means don't run process sentinels. This is used when exiting. */ extern int inhibit_sentinels; |