[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/callproc.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/callproc.c,v |
Date: |
Thu, 31 Jul 2008 05:34:16 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/07/31 05:33:56
Index: src/callproc.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/callproc.c,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -b -r1.239 -r1.240
--- src/callproc.c 15 Jul 2008 18:15:11 -0000 1.239
+++ src/callproc.c 31 Jul 2008 05:33:50 -0000 1.240
@@ -90,13 +90,9 @@
#include "msdos.h"
#endif
-#ifdef VMS
-extern noshare char **environ;
-#else
#ifndef USE_CRT_DLL
extern char **environ;
#endif
-#endif
#ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)
@@ -142,8 +138,6 @@
EXFUN (Fgetenv_internal, 2);
-#ifndef VMS /* VMS version is in vmsproc.c. */
-
static Lisp_Object
call_process_kill (fdpid)
Lisp_Object fdpid;
@@ -843,7 +837,6 @@
Vlocale_coding_system, 0);
return make_number (synch_process_retcode);
}
-#endif
static Lisp_Object
delete_temp_file (name)
@@ -999,8 +992,6 @@
RETURN_UNGCPRO (unbind_to (count, Fcall_process (nargs, args)));
}
-#ifndef VMS /* VMS version is in vmsproc.c. */
-
static int relocate_fd ();
static char **
@@ -1448,7 +1439,6 @@
return 0;
}
-#endif /* not VMS */
/* This is run before init_cmdargs. */
@@ -1551,16 +1541,9 @@
dir_warning ("Warning: arch-independent data dir (%s) does not exist.\n",
Vdata_directory);
-#ifdef VMS
- Vshell_file_name = build_string ("*dcl*");
-#else
sh = (char *) getenv ("SHELL");
Vshell_file_name = build_string (sh ? sh : "/bin/sh");
-#endif
-#ifdef VMS
- Vtemp_file_name_pattern = build_string ("tmp:emacsXXXXXX.");
-#else
if (getenv ("TMPDIR"))
{
char *dir = getenv ("TMPDIR");
@@ -1570,7 +1553,6 @@
}
else
Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX");
-#endif
#ifdef DOS_NT
Vshared_game_score_directory = Qnil;
@@ -1686,10 +1668,8 @@
See `setenv' and `getenv'. */);
Vprocess_environment = Qnil;
-#ifndef VMS
defsubr (&Scall_process);
defsubr (&Sgetenv_internal);
-#endif
defsubr (&Scall_process_region);
}