diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-08 00:14:13 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-08 00:14:13 +0000 |
commit | ba3eb2af450c2577c20a691fb686a5e02955c48b (patch) | |
tree | a8cf1145dc0c922547f90f92d9c444715752d512 /perldir.h | |
parent | 00dc2f4f23da07658d2634f904ac3a098aaa4153 (diff) | |
parent | 8c9208bc5764dada175aceff9d0b1938978d7db6 (diff) | |
download | perl-ba3eb2af450c2577c20a691fb686a5e02955c48b.tar.gz |
[asperl] integrate mainline changes
p4raw-id: //depot/asperl@884
Diffstat (limited to 'perldir.h')
-rw-r--r-- | perldir.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -16,7 +16,11 @@ #define PerlDir_tell(dir) piDir->Tell((dir), ErrorNo()) #else #define PerlDir_mkdir(name, mode) Mkdir((name), (mode)) -#define PerlDir_chdir(name) chdir((name)) +#ifdef VMS +# define PerlDir_chdir(name) chdir(((name) && *(name)) ? (name) : "SYS$LOGIN") +#else +# define PerlDir_chdir(name) chdir((name)) +#endif #define PerlDir_rmdir(name) rmdir((name)) #define PerlDir_close(dir) closedir((dir)) #define PerlDir_open(name) opendir((name)) |