summaryrefslogtreecommitdiff
path: root/vms
Commit message (Collapse)AuthorAgeFilesLines
* Make File::Copy::rmscopy return the documented values.Craig A. Berry2009-07-071-5/+5
| | | | | These were always supposed to be 0 for failure and 1 for success, not booleans. On VMS, rmscopy implements syscopy.
* Remove fake facility strings from VMS start-up warnings.Craig A. Berry2009-07-021-2/+2
| | | | | | 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.
* Add documentation for the method resolution plugin interface.Nicholas Clark2009-06-251-12/+16
|
* Handle the rare but legal angle bracket in unixify.Craig A. Berry2009-06-172-1/+2
| | | | | | | | | | | | 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/
* Generate perlmodlib.pod at build time, instead of shipping it.Nicholas Clark2009-06-131-1/+5
|
* Test case to go with 30e682852bf42358156ed62e06e91f75e9f5b807.Craig A. Berry2009-06-041-0/+1
| | | | | We should be able to depend on SYS$SCRATCH being a non-rooted logical name.
* vms.c EFS logical name fix.John E. Malmberg2009-06-041-3/+3
| | | | | | | | | | | | | 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>
* Replace run-time on-demand initialisation of PL_bitcount with a constant table.Nicholas Clark2009-05-201-3/+5
| | | | | | | | | | | | | | | | (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.
* Pass the output file name to generate_uudmap, and open it within the code,Nicholas Clark2009-05-191-2/+1
| | | | instead of having the calling Makefile redirect stdout.
* Add perl589delta.pod to pod.lst, and run pod/buildtoc --build-all.Nicholas Clark2009-05-121-27/+32
|
* perltoc.pod depends on perldelta.pod.Craig A. Berry2009-04-251-2/+5
|
* Run buildtoc on VMS.Craig A. Berry2009-04-241-5/+10
|
* Space between target and colon is not optional in VMS description files.Craig A. Berry2009-04-221-1/+1
| | | | Follow-up to 7eb47696deb9a7343fb4847f7342919a6df59e21.
* 7eb47696deb9a7343fb4847f7342919a6df59e21 should be $(ext) rather than ext.Nicholas Clark2009-04-211-1/+1
|
* We need $(MINIPERL_EXE) before we can run autodoc.pl. Remove the duplicated -INicholas Clark2009-04-211-2/+2
|
* Build perltoc.pod, rather than shipping it. This way it can't get out of date.Nicholas Clark2009-04-211-2/+7
|
* Move vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.Nicholas Clark2009-04-202-1224/+1
|
* For VMS, generate the delete rules for generated and copied files in buildtoc.Nicholas Clark2009-04-191-1/+1
|
* autodoc.pl needs -Ilib. I had been testing with a perl that was also installed.Nicholas Clark2009-04-181-1/+1
|
* Generate perlapi.pod and perlintern.pod at build time, instead of shipping them.Nicholas Clark2009-04-181-0/+5
|
* Convert xsutils.c and lib/attributes.pm to a regular XS extension.Nicholas Clark2009-04-121-4/+2
|
* Eliminate "Old Perl threads tutorial", which describes 5005 threads.Nicholas Clark2009-04-121-13/+9
| | | | pod/perlthrtut.pod is the same material reworked for ithreads.
* vms.c - Remove .DIR; in UNIX mode.John Malmberg2009-02-221-12/+22
| | | | | When doing a readdir() or glob() with DECC$FILENAME_UNIX_REPORT active, the ".DIR" suffix needs to be removed for directories.
* Avoid VMS long filename support on older systems that don't have it.Craig A. Berry2009-02-201-1/+12
|
* Move redefinition of lstat above its first use in vms/vms.c.Craig A. Berry2009-02-201-11/+11
|
* PERL_FS_VER_FMT is only used with the current perl version, which is known atNicholas Clark2009-02-161-1/+6
| | | | compile time, so replace it with PERL_FS_VERSION, a compile time constant.
* Handle uninitialized interpreter when performing vmsish pragma checks.Craig A. Berry2009-02-131-2/+2
|
* vms fgetname wrapper.John Malmberg2009-02-112-1/+32
| | | | | | | | | | | | | | | | 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>
* Logic changes for the VMS-specific mkdir/chdir/chmod/symlink routines.John Malmberg2009-02-091-45/+44
|
* Fix some thread context mistakes that snuck in with ↵Craig A. Berry2009-02-081-12/+12
| | | | b94a8c495f3a28de7de57070f1a1089de672ecba.
* Use make_ext.pl on VMS to build, clean, and realclean extensions.Craig A. Berry2009-02-071-5/+4
|
* Move XSSymSet.pm to lib/ExtUtils/, but only install it on VMS.Nicholas Clark2009-02-052-245/+2
| | | | This reduces the number of places with special-casing logic.
* vms rename Unix mode fixesJohn Malmberg2009-02-031-41/+69
| | | | | | | | | | | 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>
* vms kill_file / rmdir updatesJohn Malmberg2009-02-031-25/+93
| | | | | | | | | | 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>
* vms stat patches (take 2)John Malmberg2009-02-011-66/+210
| | | | | | | | | | | | | | | | | 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>
* For the vmsish pragma, make sure there is a thread context if needed.Craig A. Berry2009-02-011-1/+5
| | | | | | | 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).
* Pod correction for ExtUtils::XSSymSet.Craig A. Berry2009-01-301-6/+6
|
* vmspath without thread context.John Malmberg2009-01-291-2/+30
| | | | | | This adds a vmspath routine that does not use a thread context. Message-id: <498130AC.7000102@gmail.com>
* vms fileify_dirspec refactor / Unix mode fixesJohn Malmberg2009-01-251-88/+128
| | | | | | | 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>
* vms glob patchesJohn Malmberg2009-01-251-20/+122
| | | | | | | | | | 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>
* The exit code of make_patchnum.pl is no longer used, so make it return 0.Nicholas Clark2009-01-241-1/+1
| | | | Remove special-casing from all the makefiles that coped with it returning non-0.
* Build miniperl with a special version of perl.c on VMS as well.Craig A. Berry2009-01-231-18/+32
|
* Pathify_dirspec replacementJohn Malmberg2009-01-192-319/+494
| | | | | | | | | | | | | 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>
* Fix handling of DECC$DISABLE_POSIX_ROOT feature on VMS.Craig A. Berry2009-01-151-6/+7
| | | | | | | | | | | | 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.
* vms rmsexpand refactorJohn Malmberg2009-01-151-131/+210
| | | | | | | | | 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>
* vms - unixspec refactorJohn Malmberg2009-01-131-30/+156
| | | | | | | | | 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.
* vms - vmsspec refactorJohn Malmberg2009-01-121-30/+181
| | | | | | Message-id: <496AC3E0.2090207@gmail.com> Refactor of vmsspec() to not use a thread context for internal routines.
* more vms thread ctx fixesJohn Malmberg2009-01-111-13/+23
| | | | | | | | | 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.
* vms setup_cmddsc buffer fixes.John Malmberg2009-01-101-5/+31
| | | | Message-id: <4968E50E.6050601@gmail.com>
* Revision to thread context fixes from ebd4d70bfcb408fd33ee8841c43d30ca8408b19dCraig A. Berry2009-01-101-6/+6
|