| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
These were always supposed to be 0 for failure and 1 for success,
not booleans. On VMS, rmscopy implements syscopy.
|
|
|
|
|
|
| |
They weren't consistent and the second one caused a compiler
warning. Plus there's no particular reason to pretend we're
using the native message API when we're not.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have been getting:
$ perl -e "print VMS::Filespec::unixify('foo:<bar>');"
/foo/<bar/
but should be (and now are) getting:
$ perl -e "print VMS::Filespec::unixify('foo:<bar>');"
/foo/bar/
|
| |
|
|
|
|
|
| |
We should be able to depend on SYS$SCRATCH being a non-rooted
logical name.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes an issue that Craig Berry found in the handling of
logical names of the form foo = "device:[dir]" when the EFS character
set is enabled.
Regards,
-John
wb8tyw@qsl.net
Personal Opinion Only
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(The table is 256 bytes; the run-time initialisation code is larger than this!)
Adapt generate_uudmap.c to generate the initalisation block for PL_bitcount,
writing the code to bitcount.h, using the same approach as uudmap.h.
To preserve binary compatibility:
for MULTIPLICITY:
keep Ibitcount in the interpreter structure, but remove all the macros that
access it. PL_bitcount is a new symbol in the object file, which won't clash
with anything as that name wasn't used before.
otherwise:
keep PL_bitcount as a char *, but initialise it at compile time to a new
constant array PL_bitcount array. Remove the code that attempts to Safefree()
it at interpreter destruction time.
|
|
|
|
| |
instead of having the calling Makefile redirect stdout.
|
| |
|
| |
|
| |
|
|
|
|
| |
Follow-up to 7eb47696deb9a7343fb4847f7342919a6df59e21.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
pod/perlthrtut.pod is the same material reworked for ithreads.
|
|
|
|
|
| |
When doing a readdir() or glob() with DECC$FILENAME_UNIX_REPORT active,
the ".DIR" suffix needs to be removed for directories.
|
| |
|
| |
|
|
|
|
| |
compile time, so replace it with PERL_FS_VERSION, a compile time constant.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fgetname() does not always return the correct Unix format file
specification when the decc$filename_unix_report feature is active and
is ignoring the decc$readdir_dropdot_notype setting.
So always have fgetname() return a VMS format file specification. When
decc$filename_unix_report is active, use unixify() to convert it to the
expected syntax.
This bug shows up doing rename tests on an open file that has no file
extension with decc$filename_unix_report and decc$readdir_dropdot_notype
both active.
Message-ID: <499042B5.4030803@gmail.com>
|
| |
|
|
|
|
| |
b94a8c495f3a28de7de57070f1a1089de672ecba.
|
| |
|
|
|
|
| |
This reduces the number of places with special-casing logic.
|
|
|
|
|
|
|
|
|
|
|
| |
Here are the fixes for the rename() wrapper to support Unix mode better.
Removed calls to pathify/vmsify that were redundant because of
flex_lstat() calls.
Support option to unlink all versions on rename.
Message-id: <498701F5.5040906@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This updates vms kill_file and rmdir routines to do fewer calls of vmsify
and pathify as the flex_lstat() already does these operations and caches
the result.
Fix kill_file so that option to unlink all versions works.
Message-id: <49867F92.7080508@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conversion of Perl_flex_stat_int() to tolerate a null thread context,
and updates to better handle Unix Format or Extended File System
character sets.
vms_fid_to_name() now understands stat/lstat for properly handling
symbolic links, and uses a similar algorithm as Perl_flex_stat_int() for
consistency. Will now optionally return the mode bits from the stat
operation.
(The parts of the patch that worked around null thread context when
checking vmsish hints are omitted since that's been handled somewhat
differently by a520a2c43dd549df0ebed1f073e13cc4564380db).
Message-id: <49850AC7.1020906@gmail.com>
|
|
|
|
|
|
|
| |
The hints are interpreter-specific, and we check them in some
pretty low-level routines, such as time(), gmtime(), and stat(),
where it's possible thread context may not have been initialized
yet (or may have already been torn down).
|
| |
|
|
|
|
|
|
| |
This adds a vmspath routine that does not use a thread context.
Message-id: <498130AC.7000102@gmail.com>
|
|
|
|
|
|
|
| |
This patch refactors the fileify_dirspec routine to not need a thread
context, and also fixes some issue with Unix compatibility mode.
Message-id: <497BC0FB.5000506@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This updates the vms Perl_vms_start_glob routine to behave more like
Unix when the decc$filename_unix_report is active.
It also fixes the behavior of Unix directory syntax when either the
decc$filename_unix_report or decc$efs_charset options are active.
Message-id: <49794B5F.8030401@gmail.com>
|
|
|
|
| |
Remove special-casing from all the makefiles that coped with it returning non-0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces pathify_dirspec in vms.c with a new version that better
handles the extended character set.
The [.vms.ext]filespec.t has been adjusted for to support both the
default mode and the extended file spec mode.
This fixes an inconsistency where now vmsify and vmspath will return the
same result for similar input.
Message-ID: <49737F12.6010803@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The nomenclature is confusing and the CRTL docs even moreso, and
the CRTL implementation seems not to do what the docs say. The
documented default setting is on, which I take to mean that
processing of SYS$POSIX_ROOT is disabled unless you have asked
for it. I've followed this behavior even though the CRTL seems
to report the feature off by default.
Also corrected yet another length error in a related call to
simple_trnlnm.
|
|
|
|
|
|
|
|
|
| |
The next part in the series: rmsexpand refactor to not use thread context.
Minor fix for VAX included, where VAX was not preserving UNIX syntax on
return for UNIX in.
Message-id: <496DFAFB.4090201@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Message-id: <496B5458.10203@gmail.com>
Refactor of unixspec() to not use a thread context for internal routines.
Also fix unixspec() to better handle unescaping extended file
specifications.
|
|
|
|
|
|
| |
Message-id: <496AC3E0.2090207@gmail.com>
Refactor of vmsspec() to not use a thread context for internal routines.
|
|
|
|
|
|
|
|
|
| |
Message-id: <496973AB.8070809@gmail.com>
If Perl_my_trnlnm is called with a null implicit context, it would
access violate.
create_mbx does not need a implicit context.
|
|
|
|
| |
Message-id: <4968E50E.6050601@gmail.com>
|
| |
|