Re: Proposed vmsish changes.

2005-09-22 Thread Peter Prymmer
at does: #include sys$exit(0); could support, given appropriate hooks into perl's main(). I personally do not feel any need for obtaining $STATUS 0, but some folks do. How about putting together a trial VMS:: extension to implement trials of your proposals so that folks can try it out from CPAN? Peter Prymmer

Re: BUG: MAKEMAKER 6.30_01 and blead in MM_UNIX.pm for VMS

2005-09-20 Thread Peter Prymmer
an indication of failure is what is asked for and Michael's proposed perl -e "exit 1" will suit the task. Although the "exit 44" I had suggested could also work on VMS, the "exit 1" will work there too (despite the doubt I might have spread by my earlier statement). Peter Prymmer

Re: BUG: MAKEMAKER 6.30_01 and blead in MM_UNIX.pm for VMS

2005-09-20 Thread Peter Prymmer
MS has been rebuilt. Please run MMK to build the extension. MCR $dka300:[perl.perl-5_8_1_root]perl.exe -e "exit 1" %SYSTEM-F-ABORT, abort %MMK-F-ERRUPD, error status %X002C occurred when updating target DESCRIP.MMS I guess that is the preferred behavior (but to be honest the old behavior is not unattractive either). Peter Prymmer

Re: BUG: MAKEMAKER 6.30_01 and blead in MM_UNIX.pm for VMS

2005-09-20 Thread Peter Prymmer
Michael G Schwern <[EMAIL PROTECTED]> wrote on 09/20/2005 01:12:51 PM: > On Tue, Sep 20, 2005 at 07:15:41AM -0400, Peter Prymmer wrote: > > > perl -e 'exit 1' > > > > On VMS the construct shown is true since exit 1 is the way to say exit 0. > > I th

Re: BUG: MAKEMAKER 6.30_01 and blead in MM_UNIX.pm for VMS

2005-09-20 Thread Peter Prymmer
r> echo $? 255 Hence you may want to use something like 44 on VMS (noting that a message will be generated): $ perl -e "exit 44" %SYSTEM-F-ABORT, abort the non portability of exit values is discussed in perlport.pod. Peter Prymmer

Re: Zlib 2.00_03 / Blead 25366 on VMS + patched vms.c

2005-09-17 Thread Peter Prymmer
not useful in a practical sense particularly for ODS-2 type file specifications. Peter Prymmer

[PATCH: perl@11626] modify VMS default prefix for installation

2001-08-14 Thread Peter Prymmer
= ""'"+"'Perl' ''vms_prefix':[utils]h2ph.com""" $ WRITE CONFIG "$ h2xs == ""'"+"'Perl' ''vms_prefix':[utils]h2xs.com""" $ WRITE CONFIG "$!perlcc == ""'"+"'Perl' ''vms_prefix':[utils]perlcc.com""" +$ WRITE CONFIG "$ perlivp == ""'"+"'Perl' ''vms_prefix':[utils]perlivp.com""" $ WRITE CONFIG "$ splain == ""'"+"'Perl' ''vms_prefix':[utils]splain.com""" $ ELSE $ WRITE CONFIG "$ Perldoc == ""Perl ''vms_prefix':[lib.pod]Perldoc.com -t""" @@ -6076,6 +6099,7 @@ $ WRITE CONFIG "$ h2ph == ""Perl ''vms_prefix':[utils]h2ph.com""" $ WRITE CONFIG "$ h2xs == ""Perl ''vms_prefix':[utils]h2xs.com""" $ WRITE CONFIG "$!perlcc == ""Perl ''vms_prefix':[utils]perlcc.com""" +$ WRITE CONFIG "$ perlivp == ""Perl ''vms_prefix':[utils]perlivp.com""" $ WRITE CONFIG "$ splain == ""Perl ''vms_prefix':[utils]splain.com""" $ ENDIF $ CLOSE CONFIG End of Patch. Peter Prymmer

Re: [PATCH: perl@11328] update the octal situation in perlfaq4.pod(fwd)

2001-07-12 Thread Peter Prymmer
-- Forwarded message -- Date: Thu, 12 Jul 2001 17:39:27 -0700 (PDT) From: Peter Prymmer <[EMAIL PROTECTED]> To: Mark-Jason Dominus <[EMAIL PROTECTED]> Subject: Re: [PATCH: perl@11328] update the octal situation in perlfaq4.pod On Thu, 12 Jul 2001, Mark-Jason D

[PATCH: perl@10825] build (and test!) VMS::Stdio on VMS

2001-06-22 Thread Peter Prymmer
'a' ? 'a' : '>'; +ST(0) = (fh ? sv_2mortal(fh) : &PL_sv_undef); } else { ST(0) = &PL_sv_undef; } @@ -404,8 +409,8 @@ if (fd >= 0 && ((fp = fdopen(fd, &("r\000w\000r+"[2*i]))) != Null(FILE*))) { pio_fp = PerlIO_importFILE(fp,0); - SV *fh = newFH(pio_fp,"<>++"[i]); - ST(0) = (fh ? sv_2mortal(fh) : &PL_sv_undef); + fh = newFH(pio_fp,"<>++"[i]); +ST(0) = (fh ? sv_2mortal(fh) : &PL_sv_undef); } else { ST(0) = &PL_sv_undef; } End of Patch. Peter Prymmer

Re: [PATCH perl@10722] test hunting on VMS

2001-06-20 Thread Peter Prymmer
add the "_ROOT" and adding stronger recommendations for doing the `mms install` will help though. Peter Prymmer

Re: [PATCH: perl@10328] new md5sum for modified MD5.xs file

2001-05-31 Thread Peter Prymmer
On Thu, 31 May 2001, Peter Prymmer wrote: > Here is a report on the t/lib/cwd.t test trouble on OS/390 with > recent snapshots. With perl@10328 the `make test` suite hangs > apparently trying to get through t/lib/cwd.t. I find however > that running the test by hand no longer ha

Re: [PATCH 5.6.1]Quick thread speedup

2001-05-17 Thread Peter Prymmer
` subset either. Unfortunately the box has no net connection and I cannot afford the time to sneakernet a recent perl tar ball over to it to do any test builds :-( Peter Prymmer

[PATCH: perl@9973] fix const poisioning in PerlIO_openn->fdopen->openn

2001-05-04 Thread Peter Prymmer
unsigned long int Perl_do_spawn (pTHX_ char *); -FILE * my_fdopen (int, char *); +FILE * my_fdopen (int, const char *); int my_fclose (FILE *); intmy_fwrite (void *, size_t, size_t, FILE *); intPerl_my_flush (pTHX_ FILE *); End of Patch. Peter Prymmer

[PATCH: perl@9865] vms specific tweak to new selfstubber.t

2001-04-26 Thread Peter Prymmer
1 @@ -83,6 +83,11 @@ # "wrong" and "right" may change if SelfLoader is changed. my %wrong = ( Parent => 'Parent', Child => 'Parent' ); my %right = ( Parent => 'Parent', Child => 'Child' ); +if ($^O eq 'VMS') { +# extra line feeds for MBX IPC +%wrong = ( Parent => "Parent\n", Child => "Parent\n" ); +%right = ( Parent => "Parent\n", Child => "Child\n" ); +} my @module = qw(Parent Child) ; sub fail { End of Patch. Peter Prymmer

Re: [PATCH: perl@9841] VMS updates

2001-04-25 Thread Peter Prymmer
On Wed, 25 Apr 2001, Peter Prymmer wrote: > The enclosed patch addresses several issues in the vms configure && build > process. Files affected: > > - configure.com [snip] > Thanks to the following folks for very helpful discussions on putting this > togethe

Not OK: perl v5.7.0 +DEVEL9582 on os390 10.00 (UNINSTALLED)

2001-04-06 Thread Peter Prymmer
This is a build failure report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.33 running under perl v5.7.0. - [Please enter your report here] `make test` dies on a -des Configured default build of perl on O

Re: [PATCH: perl@9092, dist-3.0@70] OS/390 mydomain last gasp beforesilly guess (was Re: What do I need to build EBCDIC perl?)

2001-03-13 Thread Peter Prymmer
On Tue, 13 Mar 2001, H.Merijn Brand wrote: > On Mon, 12 Mar 2001 16:25:56 -0800 (PST), Peter Prymmer <[EMAIL PROTECTED]> wrote: > > + case "$dflt$osname" in > > + .os390) echo "(Attempting domain name extrac

Re: regex character ranges on EBCDIC

2001-02-23 Thread Peter Prymmer
3 FWIW) > > Well it means that character ranges and even transliterations > are essentially broken when you try to use them for working on > binary data. Yes it does. This BTW looks like a good candidate for a regression test. Peter Prymmer

Re: AW: renaming README.posix-bc to README.bs2000

2001-02-12 Thread Peter Prymmer
with either POSIX standards or the POSIX extension. Peter Prymmer

Re: renaming ebcdic.c or EBCDIC.fnm?

2001-02-12 Thread Peter Prymmer
d ebcdic.c into one of the other files (util.c is just fine with me as any) then also to look into renaming the corresponding Encode generated file. The hints files for the EBCDIC platforms: hints/os390.sh, posix-bc.sh, vmesa.sh would also need tweaking for their archobjs (sp?) variable setting. Peter Prymmer

[PATCH: perl@8585] handle extra.pods with shell script on VMS

2001-01-31 Thread Peter Prymmer
f file_rdt .GTS. pod_file_rdt then do_copy := true +$ endif +$ if do_copy then copy/log/noconfirm 'file' 'pod_file' +$ endif +$ endif +$ goto extra_loop +$extra_close: +$ close EXTRA +$ if p1 .eqs. "CLEAN" .and. f$search("extra.pods;-1") .nes. "" then - +purge/nolog extra.pods +$!-- extra_pods.com +$EOExtra_Pods$ $! $! Warn of dangerous symbols or logical names $! diff -ru perl.8585.orig/vms/descrip_mms.template perl/vms/descrip_mms.template --- perl.8585.orig/vms/descrip_mms.template Sun Jan 28 10:27:57 2001 +++ perl/vms/descrip_mms.template Wed Jan 31 10:31:27 2001 @@ -353,7 +353,7 @@ .endif base : miniperl perl @ $(NOOP) -extras : dynext libmods utils podxform +extras : dynext libmods utils podxform extra.pods @ $(NOOP) libmods : $(LIBPREREQ) @ $(NOOP) @@ -363,6 +363,8 @@ @ $(NOOP) x2p : [.x2p]a2p$(E) [.x2p]s2p.com [.x2p]find2perl.com @ $(NOOP) +extra.pods : miniperl + @ @extra_pods.com pod0 = [.lib.pod]perl.pod [.lib.pod]perl5004delta.pod [.lib.pod]perl5005delta.pod pod1 = [.lib.pod]perlapi.pod [.lib.pod]perlapio.pod [.lib.pod]perlbook.pod @@ -1276,6 +1278,7 @@ - If F$Search("[.VMS.Ext...]*.C").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*.C;* - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);* - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* + - @extra_pods CLEAN realclean : clean - @make_ext "$(dynamic_ext)" "$(MINIPERL_EXE)" "$(MMS)" realclean @@ -1286,6 +1289,7 @@ - $(MINIPERL) -e "use File::Path; rmtree(\@ARGV,1,0);" config - If F$Search("Descrip.MMS").nes."" Then Delete/NoConfirm/Log Descrip.MMS;* - If F$Search("make_ext.Com").nes."" Then Delete/NoConfirm/Log make_ext.Com;* + - If F$Search("extra_pods.Com").nes."" Then Delete/NoConfirm/Log +extra_pods.Com;* - $(MINIPERL) -e "use File::Path; rmtree(['lib/auto','lib/VMS','lib/$(ARCH)'],1,0);" - If F$Search("*.TS").nes."" Then Delete/NoConfirm/Log *.TS;* - If F$Search("[.Lib]DynaLoader.pm").nes."" Then Delete/NoConfirm/Log [.Lib]DynaLoader.pm;* End of Patch. I guess I'll try to build the 5.6.1 trail2 now. Peter Prymmer

Re: 8482 busted for $^V sprintf()s on OS/390

2001-01-22 Thread Peter Prymmer
On Mon, 22 Jan 2001, Simon Cozens wrote: > On Mon, Jan 22, 2001 at 12:49:18PM -0800, Peter Prymmer wrote: > > P.S. the bad news is that the need to go hacking into UTF8 eq ops has > > disappeared - at least for now (I know you were looking forward to that > > ;-). > &

Re: 8482 busted for $^V sprintf()s on OS/390

2001-01-22 Thread Peter Prymmer
On Mon, 22 Jan 2001, Peter Prymmer wrote: > This one looks very telling: > > $ ./perl -le 'printf "%v", $^V' > %v$ How about if we try that with a "%vd" format and the 8506 perl kit? $ ./perl -le 'printf "%vd", $^V' 5.7.0$ >

Re: 8482 busted for $^V sprintf()s on OS/390

2001-01-22 Thread Peter Prymmer
PV = 0x1a8c7ba8 "5.7.0"\0 CUR = 5 LEN = 6 And here is your example: $ ./perl -le 'use Devel::Peek; $a = sprintf "%vd", v128.256; Dump($a)' SV = PV(0x1a8c404c) at 0x1a8cfe54 REFCNT = 1 FLAGS = (POK,pPOK,UTF8) PV = 0x1a8c7ba8 "128.256"\0 CUR = 7 LEN = 8 Sorry about the confusion. Peter Prymmer

[PATCH: perl@8482] minor typos in some dl_$foo.xs files

2001-01-19 Thread Peter Prymmer
n.xs Fri Jan 19 18:34:02 2001 @@ -112,7 +112,7 @@ SaveError("%s",dlerror()) ; Note that SaveError() takes a printf format string. Use a "%s" as - the first parameter if the error may contain and % characters. + the first parameter if the error may contain any % characters. */ End of Patch. Peter Prymmer

[PATCH: perl@8482] win32 Makefile(s) handle podified READMEs

2001-01-19 Thread Peter Prymmer
..\README.vos ..\pod\perlvos.pod + copy ..\README.win32 ..\pod\perlwin32.pod cd ..\pod && $(MAKE) -f ..\win32\pod.mak converters cd ..\lib && $(PERLEXE) lib_pm.PL $(PERLEXE) $(PL2BAT) $(UTILS) End of Patch. Peter Prymmer

Re: [PATCH: perl@8429] important update to README.os390

2001-01-16 Thread Peter Prymmer
On Tue, 16 Jan 2001, Philip Newton wrote: > On 15 Jan 01, at 16:19, Peter Prymmer wrote: > > > +=head2 Floating point anomolies > > anomalies. Thanks. Peter Prymmer

Re: [PATCH: perl@8342] lib/bigfloat.t FAILED at test 351

2001-01-11 Thread Peter Prymmer
file nor the t nor t/lib directories. None the less switching C<($y * 1e-5) * 1e5> to C<($y / 1e5) * 1e5> should be a performance hit on architectures whose fp division is considerable slower than fp multiplication. Would you prefer that there be new extracted versions of those lib files such as lib/bigint_pl.PL and lib/Math/BigInt_pm.PL? That might look in part like: use Config; if ($Config{'fp_divide_broken'} eq 'define') { print OUT '$prod - ($car = int($prod / 1e5)) * 1e5;'; } else { print OUT '$prod - ($car = int($prod * 1e-5)) * 1e5;'; } or somesuch? Peter Prymmer

[ID 20001218.028] OK: perl v5.6.1 +v5.6.1-TRIAL1 on aix 4.3.2.0 (UNINSTALLED)

2000-12-18 Thread Peter Prymmer
This is a success report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.33 running under perl v5.6.1. Perl reported to build OK on this system. (It did `make test` 100% but `make okfile` saw fit to recompile most *.c and then link miniperl and extract all the pod2*.PL util

[ID 20001218.027] OK: perl v5.6.1 +v5.6.1-TRIAL1 on sun4-solaris 2.6 (UNINSTALLED)

2000-12-18 Thread Peter Prymmer
This is a success report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.33 running under perl v5.6.1. Perl reported to build OK on this system. --- Flags: category=install severity=none --- Site configuration information for perl v5.6.1: Configured by pvhp at Mon

[PATCH: perl@7613] add Encode to VMS build and tests

2000-11-08 Thread Peter Prymmer
Devel::DProf +Data::Dumper attrs VMS::Stdio VMS::DCLsym B SDBM_File Storable Thread Sys::Hostname" $ IF Using_Dec_C .OR. using_cxx $ THEN $ dflt = dflt + " POSIX" End of Patch. Please let me know if there was any trouble there. Thank you. Peter Prymmer

Re: perl@7463 not OK: lex trouble on VMS persists

2000-10-27 Thread Peter Prymmer
e added? Thanks I see it in toke.c. It looks like S_syylex made it into the transfer vector, and that is where the problem currently lies: $ search PERLSHR_BLD.OPT;1 syylex SYMBOL_VECTOR=(S_syylex=PROCEDURE) This will require a bit of messing with. Peter Prymmer

[PATCH: perl@7181] op/tr tests on OS/390

2000-10-10 Thread Peter Prymmer
8; +} # 9 - changing UTF8 characters in a UTF8 string, same length. $l = chr(300); $r = chr(400); End of Patch. Peter Prymmer

off to a bad start on fixing regression tests

2000-10-09 Thread Peter Prymmer
t; 44\n"; +} +else { +# \ is 188 in POSIX-BC +print "\xBC_" eq "/_" ? "ok" : "not ok", " 44\n"; +} +} +else { +print "\x2F_" eq "/_" ? "ok" : "not ok", " 44\n"; +} End of "Patch" The odd thing is that the in-eq-quality of "\xE0_" and "/_" appears under both perl 5.005_03 and @7159 as these one-liners demonstrate: $ perl5.005_03 -e ' print "\xE0_" eq "/_" ? "ok" : "not ok", " 44\n";' not ok 44 $ perl5.005_03 -e ' print "\x{E0}_" eq "/_" ? "ok" : "not ok", " 44\n";' not ok 44 $ perl5.005_03 -e ' print "\xE0_" ' | od -c 00 \ _ 02 $ ./perl5.7.0 -e ' print "\xE0_" ' | od -h 00E0 6D 02 $ I am mystified. Peter Prymmer

[ID 20000202.017] Not OK: perl 5.00564 on MSWin32-x86 4.0 '(UNINSTALLED)'

2000-02-02 Thread Peter Prymmer
- Finally the `nmake test` results were: io/fs...ok 29/29FAILED test 16 Failed 1/29 tests, 96.55% okay (-12 skipped tests: 16 okay, 55.17%) Failed Test Status Wstat Total Fail Failed List of failed ----