diff options
author | Craig A. Berry <craigberry@mac.com> | 2013-02-14 21:27:26 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2013-02-14 21:41:21 -0600 |
commit | 012528a99df1906d6feaaaf05657a53374aebc46 (patch) | |
tree | 8121ae4f02610fa8f4e5ddeacbcef6e007ee63e0 /vms/vms.c | |
parent | 6d53ee2943e4ba809028d3b53d2e3098450ad493 (diff) | |
download | perl-012528a99df1906d6feaaaf05657a53374aebc46.tar.gz |
Make extended filename syntax the default on VMS.
This feature has been available for over a decade but is still not
the default for the CRTL. It seems time to make it the default
for Perl. It means that directory names can have dots in them,
and filenames can contain multiple dots as well as spaces and
generally characters from the top row of the keyboard while the
shift key is held down.
Filenames with native syntax must escape characters in the so-called
extended character set with a caret ("^"), but filenames in Unix
syntax must not have the escapes. Conversions between native and
Unix syntax will, respectively, add and remove these escapes.
Supporting Unicode in filenames depends on this feature but has
not yet been investigated.
Diffstat (limited to 'vms/vms.c')
-rw-r--r-- | vms/vms.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14014,7 +14014,6 @@ vmsperl_set_features(void) status = simple_trnlnm("GNV$UNIX_SHELL", val_str, sizeof(val_str)); if ($VMS_STATUS_SUCCESS(status)) { gnv_unix_shell = 1; - set_feature_default("DECC$EFS_CHARSET", 1); set_feature_default("DECC$FILENAME_UNIX_NO_VERSION", 1); set_feature_default("DECC$FILENAME_UNIX_REPORT", 1); set_feature_default("DECC$READDIR_DROPDOTNOTYPE", 1); @@ -14025,6 +14024,7 @@ vmsperl_set_features(void) /* Some reasonable defaults that are not CRTL defaults */ set_feature_default("DECC$EFS_CASE_PRESERVE", 1); set_feature_default("DECC$ARGV_PARSE_STYLE", 1); /* Requires extended parse. */ + set_feature_default("DECC$EFS_CHARSET", 1); #endif /* hacks to see if known bugs are still present for testing */ |