summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-21 15:19:10 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-21 15:19:10 (GMT)
commitaf01f668173d4061893148b54a0f01b91c7716c2 (patch)
tree0931bce7ed986e784415b587ae4b4823e7a6c753 /Python/sysmodule.c
parent5255b86fba38a5e22a0991772a3c1bbf3edd66cc (diff)
downloadcpython-af01f668173d4061893148b54a0f01b91c7716c2.zip
cpython-af01f668173d4061893148b54a0f01b91c7716c2.tar.gz
cpython-af01f668173d4061893148b54a0f01b91c7716c2.tar.bz2
Issue #16136: Remove VMS support and VMS-related code
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index cf580f1..976d5a0 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -32,10 +32,6 @@ extern void *PyWin_DLLhModule;
extern const char *PyWin_DLLVersionString;
#endif
-#ifdef __VMS
-#include <unixlib.h>
-#endif
-
#ifdef HAVE_LANGINFO_H
#include <locale.h>
#include <langinfo.h>
@@ -1867,22 +1863,7 @@ makeargvobject(int argc, wchar_t **argv)
if (av != NULL) {
int i;
for (i = 0; i < argc; i++) {
-#ifdef __VMS
- PyObject *v;
-
- /* argv[0] is the script pathname if known */
- if (i == 0) {
- char* fn = decc$translate_vms(argv[0]);
- if ((fn == (char *)0) || fn == (char *)-1)
- v = PyUnicode_FromString(argv[0]);
- else
- v = PyUnicode_FromString(
- decc$translate_vms(argv[0]));
- } else
- v = PyUnicode_FromString(argv[i]);
-#else
PyObject *v = PyUnicode_FromWideChar(argv[i], -1);
-#endif
if (v == NULL) {
Py_DECREF(av);
av = NULL;