summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iperlsys.h b/iperlsys.h
index 298f82aecb..d3e82549b4 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -415,7 +415,7 @@ struct IPerlDirInfo
#define PerlDir_mkdir(name, mode) Mkdir((name), (mode))
#ifdef VMS
-# define PerlDir_chdir(n) Chdir(((n) && *(n)) ? (n) : "SYS$LOGIN")
+# define PerlDir_chdir(n) Chdir((n))
#else
# define PerlDir_chdir(name) chdir((name))
#endif