27 years agoWin32 changes over 5.004_52:
Gurusamy Sarathy [Wed, 15 Oct 1997 21:46:05 +0000]
Win32 changes over 5.004_52:
 - rearranged MUTEX_LOCK()s in perl_destroy so that we don't call it
   on an already locked mutex.
 - other minor tweaks.
Now builds and runs win32-version of Thread_52, passing all tests.

p4raw-id: //depot/win32/perl@135

27 years agofixup makefile.mk conflict.
Gurusamy Sarathy [Wed, 15 Oct 1997 18:19:31 +0000]
fixup makefile.mk conflict.

p4raw-id: //depot/win32/perl@134

27 years agoIntegrated latest changes from mainline into win32.
Gurusamy Sarathy [Wed, 15 Oct 1997 18:02:46 +0000]
Integrated latest changes from mainline into win32.

p4raw-id: //depot/win32/perl@133

27 years agoFinish thread state machine: fixes global destruction of threads,
Malcolm Beattie [Wed, 15 Oct 1997 16:57:45 +0000]
Finish thread state machine: fixes global destruction of threads,
detaching, joining etc. Alter FAKE_THREADS-specific fields to use
new HAVE_THREAD_INTERN stuff. Updates docs. Various fixes to
Thread.xs.

p4raw-id: //depot/perl@131

27 years agoAdd HAVE_THREAD_INTERN for platform-dependent struct thread additions.
Malcolm Beattie [Wed, 15 Oct 1997 16:55:10 +0000]
Add HAVE_THREAD_INTERN for platform-dependent struct thread additions.
Fix ThrSETSTATE not to lock t->mutex itself.

p4raw-id: //depot/perl@130

27 years agoRemove stale code from pp_entersub which breaks sub ownership locks.
Malcolm Beattie [Wed, 15 Oct 1997 16:53:35 +0000]
Remove stale code from pp_entersub which breaks sub ownership locks.

p4raw-id: //depot/perl@129

27 years agoAdded fakethr.h.
Malcolm Beattie [Wed, 15 Oct 1997 10:00:18 +0000]
Added fakethr.h.

p4raw-id: //depot/perl@127

27 years agopthread_condattr_init in thread.h for OLD_PTHREADS_API.
Malcolm Beattie [Wed, 15 Oct 1997 09:50:57 +0000]
pthread_condattr_init in thread.h for OLD_PTHREADS_API.

p4raw-id: //depot/perl@126

27 years agoStarted rewriting thread state machine.
Malcolm Beattie [Wed, 15 Oct 1997 09:09:24 +0000]
Started rewriting thread state machine.

p4raw-id: //depot/perl@125

27 years agoRemove spurious extra MUTEX_LOCK in pp_entersub(). Now builds and passes
Gurusamy Sarathy [Tue, 14 Oct 1997 00:23:15 +0000]
Remove spurious extra MUTEX_LOCK in pp_entersub().  Now builds and passes
tests in win32 version of latest perlext/Thread.

p4raw-id: //depot/win32/perl@124

27 years agoInitial merge of win32 threads patch.
Gurusamy Sarathy [Mon, 13 Oct 1997 23:18:38 +0000]
Initial merge of win32 threads patch.

p4raw-id: //depot/win32/perl@123

27 years agoIntegrated changes on mainline into the win32 branch. Had to set
Gurusamy Sarathy [Fri, 10 Oct 1997 20:58:40 +0000]
Integrated changes on mainline into the win32 branch.  Had to set
P4USER=mbeattie for the resolve step (due to the presence of newly
branched files that had not been submitted?)

p4raw-id: //depot/win32/perl@122

27 years agoRewrite thread destruction system using linked list of threads.
Malcolm Beattie [Fri, 10 Oct 1997 17:22:46 +0000]
Rewrite thread destruction system using linked list of threads.
Still not completely done. Add methods self, equal, flags, list
to Thread.xs. Add Thread_MAGIC_SIGNATURE check to typemap.

p4raw-id: //depot/perl@120

27 years agoFix up locking/synchronisation for pp_entersub.
Malcolm Beattie [Fri, 10 Oct 1997 17:19:55 +0000]
Fix up locking/synchronisation for pp_entersub.

p4raw-id: //depot/perl@119

27 years agoPut back entries in MANIFEST for the four now-returned win32/* files
Malcolm Beattie [Fri, 10 Oct 1997 09:55:32 +0000]
Put back entries in MANIFEST for the four now-returned win32/* files

p4raw-id: //depot/perl@118

27 years agoTook out mystack_foo for good, fixed up interp.sym and win32/makedef.pl
Malcolm Beattie [Fri, 10 Oct 1997 08:12:23 +0000]
Took out mystack_foo for good, fixed up interp.sym and win32/makedef.pl

p4raw-id: //depot/perl@117

27 years agoFix up 5.004_03 merge: remove missing win32 files from MANIFEST,
Malcolm Beattie [Wed, 8 Oct 1997 15:40:46 +0000]
Fix up 5.004_03 merge: remove missing win32 files from MANIFEST,
add missing dTHR; to new function unwind_handler_stack() in mg.c
and bump patchlevel.h to 5.004_52.

p4raw-id: //depot/perl@115

27 years agoMerge maint-5.004 branch (5.004_03) with mainline.
Malcolm Beattie [Wed, 8 Oct 1997 10:19:27 +0000]
Merge maint-5.004 branch (5.004_03) with mainline.
MANIFEST is out of sync.

p4raw-id: //depot/perl@114

27 years agoMove init of global mutexes/cond vars earlier.
Malcolm Beattie [Sun, 5 Oct 1997 17:52:49 +0000]
Move init of global mutexes/cond vars earlier.

p4raw-id: //depot/perl@113

27 years agoRemove last traces of "tokenbuf as temp buffer" and removed it
Malcolm Beattie [Fri, 3 Oct 1997 17:12:33 +0000]
Remove last traces of "tokenbuf as temp buffer" and removed it
from struct thread. Added missing thr->Tfoo defines for statbuf
and timesbuf and removed unused Tbuf field.

p4raw-id: //depot/perl@106

27 years agoBack out sv_bless3 change which made pp_bless zap '~'-magic.
Malcolm Beattie [Fri, 3 Oct 1997 15:23:25 +0000]
Back out sv_bless3 change which made pp_bless zap '~'-magic.

p4raw-id: //depot/perl@104

27 years agoFixed sv_mutex locking for new_SV, del_SV and nice_chunks.
Malcolm Beattie [Fri, 3 Oct 1997 15:17:39 +0000]
Fixed sv_mutex locking for new_SV, del_SV and nice_chunks.

p4raw-id: //depot/perl@103

27 years agoReliable thread signal handling.
Malcolm Beattie [Fri, 3 Oct 1997 11:53:51 +0000]
Reliable thread signal handling.

p4raw-id: //depot/perl@102

27 years agoBumped patchlevel to 51. Updated Todo.5.005.
Malcolm Beattie [Thu, 2 Oct 1997 17:19:44 +0000]
Bumped patchlevel to 51. Updated Todo.5.005.

p4raw-id: //depot/perl@98

27 years agoUpdate README.threads amd Thread/README
Malcolm Beattie [Thu, 2 Oct 1997 17:07:47 +0000]
Update README.threads amd Thread/README

p4raw-id: //depot/perl@97

27 years agoConfigure -Dusethreads hints for dec_osf and solaris_2 and
Malcolm Beattie [Thu, 2 Oct 1997 16:58:47 +0000]
Configure -Dusethreads hints for dec_osf and solaris_2 and
fix sv_bless3 prototype.

p4raw-id: //depot/perl@96

27 years agoAdd Todo.5.005 to MANIFEST and submit remade embed.h.
Malcolm Beattie [Thu, 2 Oct 1997 13:44:46 +0000]
Add Todo.5.005 to MANIFEST and submit remade embed.h.

p4raw-id: //depot/perl@93

27 years agoAdd Todo.5.005
Malcolm Beattie [Thu, 2 Oct 1997 13:27:10 +0000]
Add Todo.5.005

p4raw-id: //depot/perl@92

27 years agoStart of Configure support for -Dusethreads plus associated
Malcolm Beattie [Wed, 1 Oct 1997 17:04:12 +0000]
Start of Configure support for -Dusethreads plus associated
Linux hints.

p4raw-id: //depot/perl@88

27 years agoMove runops_foo prototypes from proto.h to early in perl.h.
Malcolm Beattie [Wed, 1 Oct 1997 17:03:34 +0000]
Move runops_foo prototypes from proto.h to early in perl.h.

p4raw-id: //depot/perl@87

27 years agoMerge maint-5.004 branch (5.004_01) with mainline.
Malcolm Beattie [Tue, 30 Sep 1997 15:11:07 +0000]
Merge maint-5.004 branch (5.004_01) with mainline.

p4raw-id: //depot/perl@84

27 years agoMaintenance 5.004_03 changes (addendum)
Tim Bunce [Tue, 30 Sep 1997 14:27:09 +0000]
Maintenance 5.004_03 changes (addendum)

p4raw-id: //depot/maint-5.004/perl@83

27 years agoMaintenance 5.004_03 changes
Tim Bunce [Tue, 30 Sep 1997 14:11:29 +0000]
Maintenance 5.004_03 changes

p4raw-id: //depot/maint-5.004/perl@82

27 years agoMaintenance 5.004_02 changes
Tim Bunce [Tue, 30 Sep 1997 13:17:27 +0000]
Maintenance 5.004_02 changes

p4raw-id: //depot/maint-5.004/perl@81

27 years agoRe-introduce the changes from change 68 (runops becomes a
Malcolm Beattie [Mon, 29 Sep 1997 16:57:23 +0000]
Re-introduce the changes from change 68 (runops becomes a
function pointer and sv_bless3 for '~'-magic) which got lost
during the preparation for the maint-merge.

p4raw-id: //depot/perl@78

27 years agoStart merge with maint-5.004 branch by creating an ancestral
Malcolm Beattie [Mon, 29 Sep 1997 16:44:16 +0000]
Start merge with maint-5.004 branch by creating an ancestral
branch point via a fake resolution with the maint-merge branch.
See Perforce Tech Note 9 for details.

p4raw-id: //depot/perl@77

27 years agostruct thread now stored in an SV and uses '~'-magic for access.
Malcolm Beattie [Mon, 22 Sep 1997 16:02:37 +0000]
struct thread now stored in an SV and uses '~'-magic for access.

p4raw-id: //depot/perl@69

27 years agorunops becomes a funtion pointer and sv_bless3 created
Malcolm Beattie [Mon, 22 Sep 1997 16:01:48 +0000]
runops becomes a funtion pointer and sv_bless3 created
to avoid pointer forgery with '~'-magic.

p4raw-id: //depot/perl@68

27 years agoMore fprintf -> PerlIO_printf changes.
Malcolm Beattie [Mon, 22 Sep 1997 15:45:56 +0000]
More fprintf -> PerlIO_printf changes.

p4raw-id: //depot/perl@67

27 years agoMinor multi-threading patches for VMS.
Malcolm Beattie [Mon, 22 Sep 1997 15:10:40 +0000]
Minor multi-threading patches for VMS.

p4raw-id: //depot/perl@66

27 years agoDebugging output for lock handling.
Malcolm Beattie [Wed, 10 Sep 1997 16:39:41 +0000]
Debugging output for lock handling.

p4raw-id: //depot/perl@64

27 years agoSolaris fixes: delete pad and padname from thread.h and remove
Malcolm Beattie [Wed, 10 Sep 1997 13:56:50 +0000]
Solaris fixes: delete pad and padname from thread.h and remove
MUTEX_* stuff when malloc.c gets copied to x2p/malloc.c.

p4raw-id: //depot/perl@61

27 years agoUpdate README.threads to mention -DL.
Malcolm Beattie [Tue, 9 Sep 1997 16:57:41 +0000]
Update README.threads to mention -DL.

p4raw-id: //depot/perl@60

27 years agoUpdate README.threads
Malcolm Beattie [Tue, 9 Sep 1997 16:33:45 +0000]
Update README.threads

p4raw-id: //depot/perl@58

27 years agoRewrite synchronisation of subs/methods and add attrs
Malcolm Beattie [Tue, 9 Sep 1997 15:04:26 +0000]
Rewrite synchronisation of subs/methods and add attrs
extension for specifying 'locked' and 'method' attributes.

p4raw-id: //depot/perl@56

27 years ago[inseperable differences to perl 5.004_03]
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000]
[inseperable differences to perl 5.004_03]

[editor's note: the following patches could not be applied from the
list messages.  There are also various unattributed changes.]

  ------  BUILD PROCESS  ------

  Title:  "Configure can stop without fully explaining itself"
   From:  Jim Anderson <jander@ml.com>
 Msg-ID:  <199708111328.JAA28976@nsd15.ny-swaps-develop.ml.com>,
          <199708111952.PAA29346@nsd15.ny-swaps-develop.ml.com>
  Files:  Configure

  ------  CORE LANGUAGE  ------

  Title:  "GNU style perl --version (or any other --foo) ignored"
   From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Kenneth Albanowski
          <kjahds@kjahds.com>, Stephen McCamant <alias@mcs.com>
 Msg-ID:  <E0wx8MO-0007BS-00@ursa.cus.cam.ac.uk>,
          <Pine.LNX.3.93.970813122557.9443C-100000@kjahds.com>,
          <m0wy8nl-000EYgC@alias-2.pr.mcs.net>
  Files:  pod/perldiag.pod perl.c

  ------  DOCUMENTATION  ------

  Title:  "perlop pod inconsistent in presentation of regexp options"
   From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Hans Mulder <hansm@icgned.nl>,
          jmr@whirlwind.fmr.com
 Msg-ID:  <199708061404.KAA06717@whirlwind.fmr.com>,
          <199708081505.LAA09810@whirlwind.fmr.com>,
          <1997Aug7.160530.2196011@hmivax.humgen.upenn.edu>,
          <E0wwnqc-00057s-00@ursa.cus.cam.ac.uk>,
          <E0wwswg-00017x-00@ursa.cus.cam.ac.uk>
  Files:  pod/perlop.pod

  [ 2 messages had applied changes,
    d1a7f0f436d72614358862f92db9613296be2744 and
    b7e30b65e77616e7336a6cda54d9c3d5935d0cfc ]

  ------  PORTABILITY - WIN32  ------

  Title:  "[PATCH] Win95-proofing pl2bat"
   From:  Gurusamy Sarathy <gsar@engin.umich.edu>
 Msg-ID:  <199708121733.NAA14888@aatma.engin.umich.edu>
  Files:  win32/bin/*.bat

  [ d444a43172237b6bdd9f0a52017be3b0d792aa5c didn't apply the deletion
    patches, so the deletes in this commit are a carried error ]

  ------  PORTABILITY - OTHER  ------

  Title:  "5.004_02 Configure - worrying but normal errors displayed to user"
   From:  Paul Marquess <pmarquess@bfsec.bt.co.uk>, pmarquess@bfsec.bt.co.uk
          (Paul Marquess)
 Msg-ID:  <01BCA3DE.E257BFC0.pmarquess@bfsec.bt.co.uk>,
          <9708102159.AA11726@claudius.bfsec.bt.co.uk>
  Files:  Configure os2/diff.configure

  [ one patch found, see 61167c6fd6d55c5f975404dcb56c3d0a87cd2c21 ]

  Title:  "Minor glitch with Perl 5.004_01 on SunOS 4.1.3 (groupstype)"
   From:  thad@thadlabs.com (Thad Floryan)
 Msg-ID:  <9708111415.AA03808@thadlabs.com>
  Files:  hints/sunos_4_1.sh

27 years agoImprove dual-universe comments in hints/sunos_4_1.sh
Andy Dougherty [Tue, 12 Aug 1997 23:00:37 +0000]
Improve dual-universe comments in hints/sunos_4_1.sh

On Tue, 12 Aug 1997, Tim Bunce wrote:

> Here's the 5.004_03 trial 1 patch.

5.004_03 trial 1 included the following update to hints/sunos_4_1.sh:

p5p-msgid: Pine.SUN.3.96.970812170358.14488E-100000@newton.phys

27 years ago[OK] Perl5.004_02 on Alpha NT
William Middleton [Thu, 4 Sep 1997 12:00:00 +0000]
[OK] Perl5.004_02 on Alpha NT

After applying the patch below, perl5.004_02 builds and passes
all tests 100% on Alpha NT with MSVC 4.2.

The patch simply wraps around the initialization code in
win32.c which calls _control87().

If desired, I can build a binary dist for Alpha NT based on
Sarathy's packlist for his.

Bill

p5p-msgid: 199708072100.OAA13141@ducks

27 years ago/x is not a valid shell switch on Win95
Gurusamy Sarathy [Mon, 11 Aug 1997 18:44:42 +0000]
/x is not a valid shell switch on Win95

This one fixes `Invalid switch' messages on Windows95 when
running system() et al.

p5p-msgid: 199708121720.NAA14760@aatma.engin.umich.edu

27 years agoperlfunc.pod error
Tom Christiansen [Thu, 4 Sep 1997 12:00:00 +0000]
perlfunc.pod error

Considering that writing "whom" for "who" is a pet peeve of mine,
I doubt whether I introduced that one, but let's please fix it anyway. :-)

p5p-msgid: 199708102235.QAA18420@jhereg.perl.com

27 years agodoc patch for pack("p",undef) packing a NULL pointer
Paul Marquess [Sun, 10 Aug 1997 10:54:01 +0000]
doc patch for pack("p",undef) packing a NULL pointer

I just noticed that the new feature where pack p/P will generate a NULL
pointer when given undef isn't documented anywhere. So here is a patch

p5p-msgid: 9708102159.AA11726@claudius.bfsec.bt.co.uk

27 years agoperlop pod inconsistent in presentation of regexp options
John Redford [Thu, 4 Sep 1997 12:00:00 +0000]
perlop pod inconsistent in presentation of regexp options

  [regarding b7e30b65e77616e7336a6cda54d9c3d5935d0cfc]

Uh, I dont normally comment on patches, but I hope this is rejected. I
have no idea what the 'standard' is, but the modifier is not '/c' (I
dont recall if I refered to it that way in my first message, but I was
being coloquial if so), insofar as the '/' is part of another
syntactic structure which does not even require it to be a '/'.

Credited: Hans Mulder <hansm@icgned.nl>

p5p-msgid: 199708081505.LAA09810@whirlwind.fmr.com

27 years agoseen_dot declaration in perl.c needed for VMS
Gurusamy Sarathy [Tue, 5 Aug 1997 04:12:49 +0000]
seen_dot declaration in perl.c needed for VMS

On Thu, 07 Aug 1997 13:04:38 -0000, Brad Hughes wrote:
>I'm not sure this is your bailiwick or not:
>
>After applying perl5_004m2t3 patch, perl.c compile dies with
>
>CC /Define=(DEBUGGING)/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/No
>List PERL.C
>
>        if (!xfound && !seen_dot && !xfailed && (Stat(scriptname,&statbuf) < 0
>))
>........................^
>%CC-E-UNDECLARED, In this statement, "seen_dot" is not declared.
>at line number 1796 in file PERL_ROOT:[PERL5_004_01_03]PERL.C;2
>
>C<seen_dot> is not declared in C<#ifdef VMS> code.

Here's a patch.  Hope this will go in 4_02 (if it works).  Note
this just effectively disables the "'.' in PATH" addition to
the message on VMS.  I don't know enough VMS to do anything
else :)

p5p-msgid: 199708072033.QAA09167@aatma.engin.umich.edu

27 years agotypos in perl -h output
Richard A. Wells [Thu, 4 Sep 1997 12:00:00 +0000]
typos in perl -h output

Typos in perl -h:

Usage: C:\PERL5.004_01\BIN\PERL.EXE [switches] [--] [programfile] [arguments]
[...]

  -Idirectory     specify @INC/#include directory (may be used more then once)
                                                                    ^^^^
  -l[octal]       enable line ending processing, specifies line teminator
                                                                ^^^^^^^^^
[...]
  -n              assume 'while (<>) { ... }' loop arround your script
                                                   ^^^^^^^
[...]

p5p-msgid: 6D0BF914BC@gateuhs.harvard.edu

27 years agoShow Configure failure reason even with -s
Andy Dougherty [Tue, 12 Aug 1997 01:54:38 +0000]
Show Configure failure reason even with -s

Subject: [PATCH] Re: Problem during configure of perl5.00402

On Mon, 11 Aug 1997, Jim Anderson wrote:

> Configure is failing and not giving any indication why :-( Any help
> appreciated.

> Checking your choice of C compiler, libs, and flags for coherency...
> You have a BIG problem.  Shall I abort Configure [y]
> Ok.  Stopping Configure.

It's not giving any indication why because you're running in silent
mode.  If you didn't have the '-s', you would have seen the contents of
UU/try.msg.

Of course, such a failure is certainly 'essential information' of the type
that Configure -s certainly ought to put out, so Configure probably ought
to have the following patch applied:

p5p-msgid: Pine.SUN.3.96.970812141623.14256K-100000@newton.phys

27 years ago[dummy merge]
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoperlbug -d non-interactive (with patch)
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
perlbug -d non-interactive (with patch)

(this is the same change as commit 3eccf6d0e7f74349d397cf28f511c9dfc1b064ba, but as applied)

27 years agoperlbug -d non-interactive (with patch)
Ted Ashton [Wed, 6 Aug 1997 22:14:59 +0000]
perlbug -d non-interactive (with patch)

Greetings,
  When I am writing to module authors about their modules, I sometimes want to
include the output of perlbug -d at the end of my message.  I tried (in vi)
!!perlbug -d, but perlbug complained about being non-interactive.  I checked
the source and found a simple fix.  I split the check for opt_d off from the
!-t STDOUT and moved it above the if(!-t STDIN).

p5p-msgid: 199708071418.KAA15711@ns.southern.edu

27 years agoSCO Openserver 5.0.4 - add comment to hint file re compiler bug
Bill Glicker [Fri, 5 Sep 1997 00:00:00 +0000]
SCO Openserver 5.0.4 - add comment to hint file re compiler bug

Perl 5.004_02 successfully compiles and passes all tests under SCO
Openserver 5.0.4p.

However, there is a bug in the Optimizing C Compiler (ver 2.1.4d).  When
using icc as the compiler, optimization must either be turned off or set to
"-O0" -- otherwise the "pack" tests fail.  The bug has been reported to SCO.

p5p-msgid: Pine.SCO.3.96.970811153021.18457A-100000@laura.burrelles.com

27 years agoDynamic Loading on MkLinux (osname=linux,archname=ppc-linux)
Chris Nandor [Fri, 5 Sep 1997 00:00:00 +0000]
Dynamic Loading on MkLinux (osname=linux,archname=ppc-linux)

MkLinux (osname=linux,archname=ppc-linux), which differs slightly from other
linuces, needs special flags passed in order for dynamic loading to work.
Perhaps this should be somehow incorporated into linux.sh or something?  I'd
propose a patch, but this is not my area of expertise at all.

instead of the recommended:
ccdlflags='-rdynamic'

it should be:
ccdlflags='-Wl,-E'

Thanks to Shimpei Yamashita <shimpei@socrates.patnet.caltech.edu> for pointing
this out.

Credited: Shimpei Yamashita <shimpei@socrates.patnet.caltech.edu>

p5p-msgid: 33EF1634.B36B6500@pobox.com

27 years ago[dummy merge]
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoWin95-proofing pl2bat
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
Win95-proofing pl2bat

(this is the same change as commit b2dfa14c0b6969b69807f3aadd535d36b8ceb8d3, but as applied)

27 years agoWin95-proofing pl2bat
Gurusamy Sarathy [Mon, 11 Aug 1997 11:01:26 +0000]
Win95-proofing pl2bat

This patch+shell script removes all the *.bat files in
the distribution.  Instead, these files will be created
during build time (which will take care of making sure they
work on Win95, in that silly only-nine-args way).
pl2bat is now a little smarter.

p5p-msgid: 199708121733.NAA14888@aatma.engin.umich.edu

27 years agoCPAN Use of uninitialized value in newest perl
Tom Horsley [Fri, 5 Sep 1997 00:00:00 +0000]
CPAN Use of uninitialized value in newest perl

p5p-msgid: 9708091738.AA16435@amber.ssd.hcsc.com

27 years ago5.004_02: Complex/Trig: update
Jarkko Hietaniemi [Fri, 5 Sep 1997 00:00:00 +0000]
5.004_02: Complex/Trig: update

The following patches do not fix actual grave errors but they do:

- make the code more robust (more discontinuities catched)
  (e.g. atan(-i), atanh(-1))
- make the results agree on signs and/or conjugate forms with the
  results MATLAB gives: the results were already correct thanks to
  the periodicity of trig funcs but now they are also consistent.
  (e.g. acos(x) did have an unnecessary discontinuity at x = 0)
- for some pure real arguments short-circuit the calculation
  to avoid rounding errors (which make epsilons appear where
  clear zeros should reign)

Tested on NetBSD 1.2G i686, Linux 2.0.25 i686, Digital UNIX 4.0 EV56.

p5p-msgid: 199708081842.VAA31214@alpha.hut.fi

27 years agopatch for documentation error in FileCache.pm
Mike Stok [Fri, 5 Sep 1997 00:00:00 +0000]
patch for documentation error in FileCache.pm

I think that this patch brings FileCache's pod documentation into line
with the module's behaviour.

Credited: Unknown Contributor <mikebo@tellabs.com>

p5p-msgid: Pine.LNX.3.95.970810143321.437C-100000@stok.co.uk

27 years agoThe description of the \Q metacharacter is confusing to novices
Andrew M. Langmead [Fri, 5 Sep 1997 00:00:00 +0000]
The description of the \Q metacharacter is confusing to novices

The perlre man page talks about "quoting" metacharacters. This may
not be the easiest terminology for novice perl programmers to
understand. Also this man page seems to downplay the utility
of the quotemeta() function and \Q escape sequence compared
to the older idiom of s/(\W)/\\$1/g

Maybe text similar to the changes below would be clearer.

p5p-msgid: 199708101946.AA06339@world.std.com

27 years agopod2man generated .IX lines upset whatis on Solaris
M.J.T. Guy [Fri, 5 Sep 1997 00:00:00 +0000]
pod2man generated .IX lines upset whatis on Solaris

Subject: Re: Perl generates incorrect manpages

John Redford wrote
> Perl is generating manpages which contain lines like:

> .SH "NAME"
> .IX Header "NAME"
> perlbot \- Bag'o Object Tricks (the BOT)
>
> Which on Solaris at least causes the manpage index to think that '.IX'
> 'header' and '"NAME"' are all manpages.

There was a thread about this about two weeks ago under the subject
"Re: pod2man .IX question (for Solaris bug fix)".   Kurt Starsinic
posted a patch which didn't get into the 5.004_02 release, probably because
it appears to be incorrect (see below).

>                                         This is trivially fixed by
> moving the .IX to before the .SH:
>
> .IX Header "NAME"
> .SH "NAME"
> perlbot \- Bag'o Object Tricks (the BOT)

It may need something more complicated, since Kurt wrote
:I would like to keep them, if possible, but moving them down a line or two
:doesn't solve the problem.  Following is a patch which moves all of the .IX
:lines to the end of the man page, which (I believe) will appease all
:interested parties.  This patch DTRT under Solaris 2.5.1/SPARC and OSF1
:V4.0/DEC Alpha, both running perl 5.004 (no patches):

I doubt this last assertion, since I noted a couple of suspicious looking
bits in the patch (in a subsequent message in the above thread).   This
is perhaps why Tim didn't include it in 5.004_02.   (Also, the patch
was for pod2man rather than pod2man.PL.)

I attach below Kurt's patch with my corrections.   I've checked that this
doesn't actually wreck pod2man totally, but I can't test it further since
i)   I don't know what the .IX is meant to do.
ii)  I don't actually know what the code is meant to be doing.
iii) I don't have a suitable Solaris (etc) system to try on.

Perhaps someone else could take this further.

Credited: John Redford <jmr@whirlwind.fmr.com>
Credited: Kurt Starsinic <kstar@isinet.com>

p5p-msgid: E0wxoUZ-0006Ee-00@ursa.cus.cam.ac.uk

27 years agoperlop pod inconsistent in presentation of regexp options
M.J.T. Guy [Fri, 5 Sep 1997 00:00:00 +0000]
perlop pod inconsistent in presentation of regexp options

ts <decoux@moulon.inra.fr> wrote
> man perlop :
>
>            entry in the perlfunc manpage.)  A failed match
>            normally resets the search position to the beginning
>            of the string, but you can avoid that by adding the
>            "c" modifier (e.g. m//gc).  Modifying the target
>            string also resets the search position.

Doh!   Didn't see that.  My excuse is that a search for "/c" doesn't find
it.    And since all other modifiers are referred to as C</g> etc, I
submit the following micropatch.

Credited: Hans Mulder <hansm@icgned.nl>
Credited: John Redford <jmr@whirlwind.fmr.com>

p5p-msgid: E0wwnqc-00057s-00@ursa.cus.cam.ac.uk

27 years ago[dummy merge]
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years ago-D info in perlrun
Tim Bunce [Thu, 4 Sep 1997 12:00:00 +0000]
-D info in perlrun

(this is the same change as commit 5267b140323062798f51897718a803fcd7de637d, but as applied)

27 years ago-D info in perlrun
Stephen McCamant [Sat, 9 Aug 1997 07:27:41 +0000]
-D info in perlrun

This changes the description of -Do to its current meaning, tweaks the
entries for -Dl and -Dr, and makes the description prefer the letters
form to the numeric one.

Note 1: The code in magic_get() sets $^D to `debug & 32767', which
loses the value of -DD. Is this intentional?

Note 2: `Label stack' doesn't seem like an especially good name for
the thing -Dl traces. `Context' matches the name of the variable
`cxstack'. If we wanted to retain the letter, it could be called the
`loop' stack, since perlsyn says `A BLOCK by itself (labeled or not)
is semantically equivalent to a loop that executes once', s///g is
like a loop, and subs and formats, um, aren't that important anyway
:-).

Credited: Ilya Zakharevich <ilya@math.ohio-state.edu>

p5p-msgid: m0wxNNL-000EYgC@alias-2.pr.mcs.net

27 years agoFurther fix to lseek's in lockf_emulate_flock
Hallvard B Furuseth [Fri, 5 Sep 1997 00:00:00 +0000]
Further fix to lseek's in lockf_emulate_flock

private-msgid: 199708102225.AAA16970@bombur2.uio.no

27 years agoSome perldb -> PERLDB_* macro changes were missed
Ilya Zakharevich [Fri, 5 Sep 1997 00:00:00 +0000]
Some perldb -> PERLDB_* macro changes were missed

Subject: [PATCH] After 4_02 perldb again

A couple of places where perldb is mentioned slipped through the
cracks of the previous patch:

p5p-msgid: 199708100323.XAA27155@monk.mps.ohio-state.edu

27 years agoAdd new keyword "lock" to Opcode.pm
Malcolm Beattie [Wed, 3 Sep 1997 16:34:47 +0000]
Add new keyword "lock" to Opcode.pm

p4raw-id: //depot/perl@55

27 years agoRun embed.pl and keywords.pl to complete RESTART -> INIT change
Malcolm Beattie [Wed, 3 Sep 1997 14:44:44 +0000]
Run embed.pl and keywords.pl to complete RESTART -> INIT change

p4raw-id: //depot/perl@54

27 years agoAdd to MANIFEST: README.threads, lib/ISA.pm, lib/Class/Fields.pm
Malcolm Beattie [Wed, 3 Sep 1997 13:52:24 +0000]
Add to MANIFEST: README.threads, lib/ISA.pm, lib/Class/Fields.pm

p4raw-id: //depot/perl@53

27 years agoBump patchlevel.h to 5.004_50
Malcolm Beattie [Wed, 3 Sep 1997 13:20:12 +0000]
Bump patchlevel.h to 5.004_50

p4raw-id: //depot/perl@51

27 years agoRename RESTART to INIT and associated changes
Malcolm Beattie [Wed, 3 Sep 1997 12:28:05 +0000]
Rename RESTART to INIT and associated changes

p4raw-id: //depot/perl@49

27 years agoThreading fixups for Digital UNIX.
Malcolm Beattie [Wed, 13 Aug 1997 16:15:25 +0000]
Threading fixups for Digital UNIX.

p4raw-id: //depot/perl@45

27 years agoAssorted changes for multi-threading (now works rather more).
Malcolm Beattie [Mon, 11 Aug 1997 15:46:29 +0000]
Assorted changes for multi-threading (now works rather more).

p4raw-id: //depot/perl@44

27 years ago[inseperable differences up to perl 5.004_02]
Tim Bunce [Thu, 7 Aug 1997 00:00:00 +0000]
[inseperable differences up to perl 5.004_02]

[editor's note - this list of differences was built manually, so is
either a little inaccurate or the most well preened out of the
"unapplied changes" lists so far.  It certainly didn't get the usual
injection of message bodies.

The aim of these changes is to give you a vector for finding a list
message if you have an annotate operation hit this commit]

 ------  BUILD PROCESS  ------

 Title:  "[PATCH]: HP-UX 10 w/o transition links"
  From:  Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Msg-ID:  <199706231650.AA070364627@hpcc123.corp.hp.com>
 Files:  Configure

 Title:  "INSTALL updates for GNU ld and __inet_* errors"
  From:  Andy Dougherty <doughera@newton.phys.lafayette.edu>
 Files:  INSTALL

 ------  CORE LANGUAGE  ------

 Title:  "[PATCH] Additional patch for "Can't execute ...""
  From:  Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID:  <199707191651.MAA04897@monk.mps.ohio-state.edu>
 Files:  pod/perldiag.pod perl.c

  See 21fc060b433a5fd003b9aca5789342207c46ada4 and
      2a92aaa05aa1acbf01092228d30e9b1d7b2a3f61

 Title:  "[PATCH] Re: Can't pack literals as pointers"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199708012250.SAA20278@aatma.engin.umich.edu>
 Files:  pod/perldiag.pod pod/perlfunc.pod pp.c t/op/pack.t

    On Wed, 25 Jun 1997 00:23:18 GMT, John Tobey wrote:
    >
    >IMHO, pack("p","foo") should evaluate to a pointer that's valid
    >in the current context.  pack("p",undef) should return the NULL
    >value.  Currently, they both produce the error "Modification of a
    >read-only value attempted".
    >
    >This looks pretty easy to fix, so I've prepared a diff against
    >the 5.004_01 distribution.  This tests fine on my Linux.  I hope
    >I'm not introducing a memory leak or other ailment...

    That doesn't look quite right to me.  When provided a literal, you
    should point at the actual literal (which normally has a global
    lifetime), rather than making a mortal copy of it and pointing at
    that.  The mortal copy will be destroyed at the next statement
    boundary, and you'll be left with a dangling pointer when you
    unpack().

    You're doing the very thing the XXX comment above was intended to
    highlight.

    I do agree that literals should be pack('p')-able. So, I'd suggest
    the change be modified [...]

 Title:  "One-liner regex causes SEGV on 5.003 under HP-UX and Linux"
  From:  Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID:  <199707061144.MAA04443@crypt.compulink.co.uk>
 Files:  regexec.c t/op/re_tests

    [was originally credited as the same change as
     44ed422101809141bc33c2b85c1cff357de4d7bf]

 Title:  "Free temps before calling END blocks", "Too late destruction"
  From:  Chip Salzenberg <chip@rio.atlantic.net>
Msg-ID:  <m33erfv5hx.fsf@chany-p100.emwp.com>
 Files:  perl.c

 Title:  "Forbid "goto" into middle of foreach loop"
  From:  Chip Salzenberg <chip@rio.atlantic.net>
 Files:  pod/perldiag.pod pp_ctl.c

 Title:  "[PATCH] m2t2: problem in NetBSD 1.2D with sfio"
  From:  Jarkko Hietaniemi <jhi@iki.fi>
 Files:  perl.h

 Title:  "Forbid negative splice offset beyond array start"
  From:  "John L. Allen" <allen@gateway.grumman.com>, Chip Salzenberg
         <chip@rio.atlantic.net>
Msg-ID:  <Pine.SOL.3.91.970625111744.19300A-100000@gateway>
 Files:  pp.c

 Title:  "Fix memory leak on eval 'sub {}'"
  From:  Chip Salzenberg <chip@rio.atlantic.net>
 Files:  pp_ctl.c

 Title:  "Fix C<qq #hi#>"
  From:  Chip Salzenberg <chip@rio.atlantic.net>
 Files:  toke.c

 Title:  "Don't warn about "${foo}" in string, even if &foo exists"
  From:  Chip Salzenberg <chip@rio.atlantic.net>
 Files:  toke.c

 Title:  "Perldb internal flag rehaul"
  From:  Ilya Zakharevich <ilya@math.ohio-state.edu>
 Files:  pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
         pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c

 Title:  "Fix C<print $foo x 2> parsing"
  From:  "Chuck D. Phillips (NON-HP Employee)" <cdp@hpescdp.fc.hp.com>, Chip
         Salzenberg <chip@rio.atlantic.net>
Msg-ID:  <199706121737.KAA00503@palrel3.hp.com>
 Files:  toke.c

 Title:  "Fix lockf_emulate_flock() positioning"
  From:  Chip Salzenberg <chip@rio.atlantic.net>, gen@atd.rdc.ricoh.co.jp
Msg-ID:  <199706091132.UAA00895@wampa.atd.rdc.ricoh.co.jp>
 Files:  pp_sys.c

 Title:  "[PATCH] Make DEBUGGING_MSTATS info consistent"
  From:  Andy Dougherty <doughera@newton.phys.lafayette.edu>
Msg-ID:  <Pine.SUN.3.96.970731131529.3740A-100000@newton.phys>
 Files:  INSTALL pod/perldelta.pod perl.h

 Title:  "semctl broken under Linux"
  From:  Andreas Schwab <schwab@LS5.informatik.uni-dortmund.de>, Andreas
         Schwab <schwab@issan.informatik.uni-dortmund.de>, Graham
         Barr <gbarr@ti.com>, Tim Bunce <Tim.Bunce@ig.co.uk>
Msg-ID:  <33C38291.2D9302DA@ti.com>,
         <9707040912.AA03470@issan.informatik.uni-dortmund.de>,
         <9707041538.AA08946@toad.ig.co.uk>,
         <9707070924.AA11774@issan.informatik.uni-dortmund.de>,
         <9707090933.AA19012@issan.informatik.uni-dortmund.de>
 Files:  doio.c

   [one change made it, as 8e591e46b4c6543ed80895327199c4a628ce11b6]

 Title:  "One-liner regex causes SEGV on 5.003 under HP-UX and Linux"
  From:  Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID:  <199707061144.MAA04443@crypt.compulink.co.uk>
 Files:  regexec.c t/op/re_tests

    [was originally credited as the same change as
     44ed422101809141bc33c2b85c1cff357de4d7bf]

 Title:  "Fix up problems with *DBM tests"
  From:  Paul Marquess <pmarquess@bfsec.bt.co.uk>
 Files:  t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t

 Title:  "Faster int to string conversion",
   "[PATCH} Re: memory leak in buffer
         safety code"
  From:  Chip Salzenberg <chip@rio.atlantic.net>, Hugo van der Sanden
         <hv@crypt.compulink.co.uk>, Tim Bunce <Tim.Bunce@ig.co.uk>
Msg-ID:  <199707140912.KAA09935@crypt.compulink.co.uk>,
         <199707142050.QAA20976@rio.atlantic.net>,
         <199707182035.VAA20990@crypt.compulink.co.uk>,
         <9707151040.AA02883@toad.ig.co.uk>
 Files:  global.sym sv.c

 Title:  "Fix '-' flag on sprintf() of floats"
  From:  Chip Salzenberg <chip@rio.atlantic.net>, Jarkko Hietaniemi
         <jhi@iki.fi>
Msg-ID:  <199705270646.JAA02510@alpha.hut.fi>
 Files:  sv.c

 Title:  "Don't use atol() for unsigned values", "signedness problem in
         pack("N", "value");"
  From:  Chip Salzenberg <chip@rio.atlantic.net>, Roger Espel Llima
         <espel@llaic.univ-bpclermont.fr>
Msg-ID:  <19970531200007.40218@llaic.univ-bpclermont.fr>
 Files:  sv.c

 Title:  "Perldb internal flag rehaul"
  From:  Ilya Zakharevich <ilya@math.ohio-state.edu>
 Files:  pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
         pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c

 Title:  "[PATCH] Exporter new export_to_level method"
  From:  epeschko@elmer.tci.com (Ed Peschko)
 Files:  lib/Exporter.pm

 Title:  "[MM] Small patch to MakeMaker, new release"
  From:  "Andreas J. Koenig" <k@anna.in-berlin.de>
Msg-ID:  <199706281603.SAA10869@anna.in-berlin.de>
 Files:  lib/ExtUtils/Command.pm lib/ExtUtils/Install.pm
         lib/ExtUtils/Liblist.pm lib/ExtUtils/MM_Unix.pm
         lib/ExtUtils/MakeMaker.pm lib/ExtUtils/Mksymlists.pm

 Title:  "CPAN.pm, $VERSION and nested (bundled) modules."
  From:  a.koenig@kulturbox.de (Andreas J. Koenig)
 Files:  lib/ExtUtils/Install.pm lib/ExtUtils/Liblist.pm
         lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MakeMaker.pm
         lib/ExtUtils/Mksymlists.pm

 Title:  "Time::Local patch (plus perl.c and filehand.t)"
  From:  ilya@math.ohio-state.edu (Ilya Zakharevich)
 Files:  lib/Time/Local.pm perl.c t/lib/filehand.t

 Title:  "Slightly safer signals"
  From:  Ilya Zakharevich <ilya@math.ohio-state.edu>
 Files:  mg.c perl.c

 Title:  "Perldb internal flag rehaul"
  From:  Ilya Zakharevich <ilya@math.ohio-state.edu>
 Files:  pod/perldebug.pod pod/perlvar.pod perl.h gv.c mg.c op.c perl.c
         pp_ctl.c pp_hot.c pp_sys.c sv.c toke.c

 Title:  "'use UNIVERSAL;' deprecated, do C<UNIVERSAL::isa()> instead",
         "UNIVERSAL.pm and import methods"
  From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Gisle Aas <aas@bergen.sn.no>,
         Graham Barr <gbarr@ti.com>, Gurusamy Sarathy
         <gsar@engin.umich.edu>, Hugo van der Sanden
         <hv@crypt.compulink.co.uk>
Msg-ID:  <199706271701.NAA25664@aatma.engin.umich.edu>,
         <199706271904.UAA00120@crypt.compulink.co.uk>,
         <199706272054.QAA28913@aatma.engin.umich.edu>,
         <199706301554.LAA03763@aatma.engin.umich.edu>,
         <33B22248.7D7C1985@ti.com>,
         <E0wf5TN-0006ps-00@taurus.cus.cam.ac.uk>,
         <E0wguTR-0005bs-00@ursa.cus.cam.ac.uk>,
         <E0whaZJ-0007BA-00@ursa.cus.cam.ac.uk>,
         <E0whfHh-0007bW-00@ursa.cus.cam.ac.uk>,
         <E0wiyUG-00073j-00@taurus.cus.cam.ac.uk>,
         <hiuyv6q9k.fsf@bergen.sn.no>
 Files:  lib/Class/Struct.pm lib/File/Compare.pm lib/File/Copy.pm
         t/op/universal.t universal.c

  [two changes made it, as
   d704f39a0db2dc23790dfd9d7bd59ce9928a6e2c,
   e09f3e01ccd721309f0eb0aae224d84db2e8436a]

 ------  PORTABILITY - WIN32  ------

 Title:  "[PATCH] Embedding threaded apps in perl.dll"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199707261518.LAA24346@aatma.engin.umich.edu>,
         <199707301833.OAA19570@aatma.engin.umich.edu>
 Files:  win32/win32.c

  [one change made it, as
   4dd614da4d1132b957c4951dd00f64d81b89dc20]

 Title:  "minor win32 scribbles"
  From:  Hugo van der Sanden <hv@crypt.compulink.co.uk>
Msg-ID:  <199707270832.JAA19399@crypt.compulink.co.uk>
 Files:  README.win32

  [nitpicking f7c603cbfba7c97f77e257c42aa119ffdb47fe1e]

 Title:  "[PATCH] binary coexistence on win32", "[RESEND] [PATCH] binary
         coexistence on win32"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199707250109.VAA02666@aatma.engin.umich.edu>,
         <199707301829.OAA19516@aatma.engin.umich.edu>
 Files:  lib/ExtUtils/Mksymlists.pm win32/win32.h win32/win32io.h
         win32/win32iop.h win32/makedef.pl win32/win32.c
         win32/win32io.c

 Title:  "WIN32 Build - pod2xxx.bat Missing?", "[PATCH] Re: WIN32 Build -
         pod2xxx.bat Missing?"
  From:  Chris Williams <chrisw@netinfo.com.au>, Gurusamy Sarathy
         <gsar@engin.umich.edu>
Msg-ID:  <199707011423.KAA15855@aatma.engin.umich.edu>,
         <33B8B962.D96FA1F5@netinfo.com.au>
 Files:  win32/Makefile win32/makefile.mk

 Title:  "[PATCH] docs for win32 utilities"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199707250045.UAA02510@aatma.engin.umich.edu>
 Files:  win32/bin/pl2bat.bat win32/bin/runperl.bat

 Title:  "[PATCH] trial2: some batch files won't run"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199708040226.WAA17301@aatma.engin.umich.edu>
 Files:  win32/bin/pl2bat.bat win32/bin/runperl.bat

 Title:  "[PATCH] win32 extras and embedding"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID:  <199707250232.WAA03421@aatma.engin.umich.edu>,
         <199707301831.OAA19528@aatma.engin.umich.edu>
 Files:  dosish.h win32/win32.h perl.c win32/config.bc win32/config_H.bc
         win32/makedef.pl win32/perllib.c win32/win32.c

   [one change was applied (hastily), as
    ad2e33dc060dc2ccf73a5ff1557a69a9b09c30c8]

 ------  PORTABILITY - OTHER  ------

 Title:  "Additional OS/2 patches"
  From:  Gurusamy Sarathy <gsar@engin.umich.edu>, Ilya Zakharevich
         <ilya@math.ohio-state.edu>
Msg-ID:  <199708020823.EAA19521@monk.mps.ohio-state.edu>,
         <199708021424.KAA28561@aatma.engin.umich.edu>,
         <199708042108.RAA27671@aatma.engin.umich.edu>
 Files:  README.os2 os2/Changes perl.c

  [one change was applied, as
   d8c2d278168b862ff4120ad8e5887d37d31f858b]

 Title:  "make depend loop fix and minor OS/2 improvements to build process"
  From:  ilya@math.ohio-state.edu (Ilya Zakharevich)
 Files:  Makefile.SH hints/os2.sh os2/Makefile.SHs

 Title:  "Minor VMS patches"
  From:  Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Msg-ID:  <01ILCUO6XXTE000WFK@hmivax.humgen.upenn.edu>
 Files:  lib/ExtUtils/MM_VMS.pm vms/vmsish.h vms/descrip.mms vms/test.com
         vms/vms.c vms/ext/filespec.t

 Title:  "[PATCH] Two un-disabled tests for VMS"
  From:  Dan Sugalski <sugalsd@lbcc.cc.or.us>
Msg-ID:  <3.0.2.32.19970718095842.00879220@stargate.lbcc.cc.or.us>
 Files:  vms/test.com

 Title:  "fix substr fix (tests 27 etc)", "perl5.004_02 trial 1 available
         (with substr bug and still some"
  From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Hugo van der Sanden
         <hv@crypt.compulink.co.uk>, Jarkko Hietaniemi <jhi@iki.fi>
Msg-ID:  <199707301759.SAA02899@crypt.compulink.co.uk>,
         <199707302228.BAA18032@alpha.hut.fi>,
         <199707310929.KAA06515@crypt.compulink.co.uk>,
         <E0wtruH-0002JM-00@ursa.cus.cam.ac.uk>
 Files:  pp.c

 Title:  "Fwd: substr("foo", -1000)", "substr: warn if substring doesn't
         intersect original at all"
  From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Jarkko Hietaniemi <jhi@iki.fi>
Msg-ID:  <199707100655.JAA14924@alpha.hut.fi>,
         <E0wm1JG-0000UY-00@taurus.cus.cam.ac.uk>
 Files:  pod/perlfunc.pod pp.c t/op/substr.t

  [one change was applied, as
   d9fdd1afe4b88705294e21dc4e070c42d3d9a4d8]

 Title:  "[PATCH] Changes for VMS 7.1 support"
  From:  Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>, Dan Sugalski
         <sugalsd@lbcc.cc.or.us>
Msg-ID:  <01ILDXUH0J1W00026U@hmivax.humgen.upenn.edu>,
         <3.0.2.32.19970718095935.0087a2d0@stargate.lbcc.cc.or.us>
 Files:  vms/sockadapt.h vms/config.vms vms/sockadapt.c

 ------  DOCUMENTATION  ------

 Title:  "Document bug fix in localization of $1 etc."
  From:  Chip Salzenberg <salzench@nielsenmedia.com>
 Files:  pod/perldelta.pod

 Title:  "[BUG:PATCH] Missing semicolon message wrong in perldiag"
  From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>
Msg-ID:  <E0welEn-0002vT-00@taurus.cus.cam.ac.uk>,
         <E0wfRJU-0006Aw-00@taurus.cus.cam.ac.uk>
 Files:  pod/perldiag.pod

  [one change was applied, as
   702d120df290e0de1b21f167f7d0110b35ee2fef]

 Title:  "OK: perl <some_version> on <some_system> (corrected)", "enhancements
         to perlbug -ok"
  From:  "M.J.T. Guy" <mjtg@cus.cam.ac.uk>, Stephen McCamant <alias@mcs.com>
Msg-ID:  <E0wukVt-0006Da-00@ursa.cus.cam.ac.uk>,
         <E0wvMQl-00055y-00@ursa.cus.cam.ac.uk>,
         <m0wv81x-000EYPC@alias-2.pr.mcs.net>
 Files:  utils/Makefile utils/perlbug.PL

 Title:  "perldoc doesn't grok Win32 UNC paths"
  From:  Warren Jones <wjones@tc.fluke.com>
Msg-ID:  <97Jun17.184420pdt.35728-1@gateway.fluke.com>,
         <97Jun18.165618pdt.35713-1@gateway.fluke.com>
 Files:  utils/perldoc.PL

  [one change was applied, as
   f72119fc50f0d88b02501ba41112f82ab99f0c3b]

27 years agoperldoc under OS/2
Ilya Zakharevich [Mon, 16 Jun 1997 00:18:02 +0000]
perldoc under OS/2

We split path on $Config{path_sep} instead of '/' (Yes!), check for
.cmd and .bat files if needed, and use POSIX::tmpnam to get a tmp
file (last only on OS/2 for extra safety).

Enjoy,

p5p-msgid: 199707180340.XAA03114@monk.mps.ohio-state.edu

27 years agoperldoc doesn't grok Win32 UNC paths
Warren Jones [Tue, 17 Jun 1997 13:34:32 +0000]
perldoc doesn't grok Win32 UNC paths

p5p-msgid: 97Jun17.184420pdt.35728-1@gateway.fluke.com

27 years agoperlbug under OS/2
Ilya Zakharevich [Fri, 6 Jun 1997 03:35:40 +0000]
perlbug under OS/2

We actually check for return from sendmail (!), protect agains getpw*
missing in Perl, and do some harder work under OS/2.

Enjoy,

p5p-msgid: 199707180333.XAA03102@monk.mps.ohio-state.edu

27 years agoperlbug broken
Andreas Schwab [Wed, 2 Jul 1997 10:05:30 +0000]
perlbug broken

This is a bug report for perl from schwab@issan.informatik.uni-dortmund.de,
generated with the help of perlbug 1.17 running under perl 5.00401.

p5p-msgid: 9707040912.AA03466@issan.informatik.uni-dortmund.de

27 years agoperlbug -ok [PATCH]
Charles F. Randall [Wed, 18 Jun 1997 00:03:33 +0000]
perlbug -ok [PATCH]

Here's a simple patch to perlbug.PL to add an "-ok" option for
reporting success. It includes the configuration data from the Config
module by forcing the -v option.

The resulting subject line on my system is,

OK: perl 5.00401 on freebsd 2.1.5-release
                 ^version   ^osname ^osvers

p5p-msgid: 199706181824.MAA04082@free.click-n-call.com

27 years agoperlbug - check sendmail and fix win32 tmp path
Gurusamy Sarathy [Tue, 5 Aug 1997 10:36:54 +0000]
perlbug - check sendmail and fix win32 tmp path

Subject: [PATCH] "perlbug" =~ /(bug){2}/

perlbug -ok fails to quit cleanly and save a copy of the report
if there is no sendmail.

Further, it saves the bugreport in the wrong place on win32
(c:\tempbugrep027) due to a missing path-separator.

The attached patch fixes both problems.

p5p-msgid: 199708060349.XAA15895@aatma.engin.umich.edu

27 years agoEasier TCP stack selection for VMS
Dan Sugalski [Wed, 6 Aug 1997 12:00:00 +0000]
Easier TCP stack selection for VMS

Here's a patch for [.vms]descrip.mms to make it a touch easier to use UCX
sockets instead of socketshr ones. (Use /Macro= DECC_SOCKETS=1 or
SOCKETSHR_SOCKETS=1 to select the stack)

It also skips the ?2P programs when compiling with __DEBUG__ support, as MMK
gets real unhappy up if you try. This is an evil hack, though, as the real
answer is to fix things so they work either way.

Hopefully Eudora hasn't word wrapped this...

p5p-msgid: 3.0.1.32.19970624151939.00994490@stargate.lbcc.cc.or.us

27 years agoAssorted OS/2 fixes
Ilya Zakharevich [Mon, 9 Jun 1997 04:52:06 +0000]
Assorted OS/2 fixes

In article <9706131709.AA05526@toad.ig.co.uk>,
Tim Bunce  <Tim.Bunce@ig.co.uk> wrote:
> It give me great pleasure to announce the arrival of perl5.004_01.

Thank you for a great job!  You even corrected os2/diff.configure!

Unfortunately, several sections of os2/diff.configure were erroneously
removed, so it will not create a valid config.sh any more (ar used
instead of $ar, and one extra method to extract symbols is not
tried).  Unfortunately, I was away from my development machine, so
could not try it earlier.

A patch to correct this problem, and some other ones, follows.

a) Missing sections restored;
os2/diff.configure
b) my_flock added to os2/os2.c (libc contains a dummy
implementation only) (switchable off in case CRT DLL
is fixed in this respect);
os2/os2ish.h os2/Makefile.SHs os2/os2.c
c) depending on architecture, waitpid may be implemented or not.
New define HAS_WAITPID_RUNTIME is added and wait4pid
corrected correspondingly;
os2/os2ish.h util.c
d) if -S was given and the file name contained \ , it was
nevertheless searched on path;
perl.c
e) updated:
os2/Changes README.os2
f) by default use better gcc optimization options (as mbeattie
advices):
hints/os2.sh

[editor's note: this was applied in the reverse order to one a couple
of commits ago]

p5p-msgid: 1997Jun16.163234.2091727@hmivax.humgen.upenn.edu

27 years agoAdditional patch is needed for os2/diff.configure
Ilya Zakharevich [Fri, 1 Aug 1997 11:12:36 +0000]
Additional patch is needed for os2/diff.configure

I spoke too quick, and in fact an additional patch is needed for
os2/diff.configure.

[editor's note: some failed hunks here, hunk header numbers had
changed]

p5p-msgid: 199708020745.DAA19483@monk.mps.ohio-state.edu

27 years agoAdditional OS/2 patches
Ilya Zakharevich [Fri, 1 Aug 1997 11:58:26 +0000]
Additional OS/2 patches

This is yet-another after-candidate2 -S fix:

a) We enable adding extensions for -S search on OS/2 (needed for pod2man
in makemaker after binary install);

b) remove an extra stat();

c) Update docs;

Credited: Gurusamy Sarathy <gsar@engin.umich.edu>

[editor's note: one hunk from original patch was already applied]

p5p-msgid: 199708020823.EAA19521@monk.mps.ohio-state.edu

27 years agowin32_stat() fixes (2nd try)
Gurusamy Sarathy [Thu, 31 Jul 1997 13:26:12 +0000]
win32_stat() fixes (2nd try)

Here's a better version (the earlier one didn't clear the
execute bit for some files).  This one also enables a
test.

p5p-msgid: 199708040137.VAA16810@aatma.engin.umich.edu

27 years agowin32 tweaks
Gurusamy Sarathy [Mon, 23 Jun 1997 23:07:34 +0000]
win32 tweaks

One of my earlier patches used the unportable MAXPATH
instead of MAX_PATH.  The getenv() fix produced linker
warnings because of a missing declaration.  This fixes
both problems.

p5p-msgid: 199707042150.RAA01065@aatma.engin.umich.edu

27 years agowin32 extras and embedding
Gurusamy Sarathy [Thu, 24 Jul 1997 09:58:46 +0000]
win32 extras and embedding

This patch makes the various Win32-specific builtins available
in embedded perl.

It also fixes a problem with FP errors thrown by the Borland
runtime when doing something like C<perl -e "print(1.0e+26 % 1">.
The VC runtime doesn't throw those errors because FP errors are
off by default in VC, on in Borland.  The patch adds code to always
turn them off.  (This should ultimately be made user-settable via
$SIG{FPE}, when we have more robust signal handling).

I've also made Borland builds use gcvt(), which is available there,
and is much faster than sprintf().

Most of the size of the patch comes from moved code.

[editor's note: some of these changes are being applied in the wrong
order and changing slightly]

p5p-msgid: 199707250232.WAA03421@aatma.engin.umich.edu

27 years agowin32 docs and runperl.bat
Gurusamy Sarathy [Sun, 6 Jul 1997 12:40:58 +0000]
win32 docs and runperl.bat

This patch fills in some gaps in the docs, and adds
runperl.bat.  The fix to pl2bat makes it so that
a #!perl line is always available, so that "perl -x"
always works on a batific file.

This goes over my previous win32 patches (esp. the exec
patch and the pl2bat patch).  I'm going to post a
consolidated win32 patch here soon, never fear.

p5p-msgid: 199707070446.AAA29560@aatma.engin.umich.edu

27 years agominor win32 scribbles
Gurusamy Sarathy [Sat, 26 Jul 1997 06:56:48 +0000]
minor win32 scribbles

This patch updates the Config.pm templates to have more
reasonable entries.

Credited: Hugo van der Sanden <hv@crypt.compulink.co.uk>

p5p-msgid: 199707262307.TAA28410@aatma.engin.umich.edu

27 years agogetenv() after my_setenv() gets old entry on Win32
Gurusamy Sarathy [Sun, 22 Jun 1997 05:34:00 +0000]
getenv() after my_setenv() gets old entry on Win32

Perl uses the environment to communicate the -d:DProf
switch to itself.

Since the win32 code sets the operating system's env block
directly when my_setenv() is called, calls to the RTL's
getenv() won't see the changed environment, so the -d:Foo
option is not honored.

The attached patch fixes the problem by supplying our own
getenv() equivalent.

p5p-msgid: 199706231700.NAA23400@aatma.engin.umich.edu

27 years agoexec() fixed on win32
Gurusamy Sarathy [Mon, 23 Jun 1997 22:49:12 +0000]
exec() fixed on win32

exec() doesn't work right on Win32 because of the UNIX-specific
do_exec().

This patch fixes that, and updates the README.win32 in spots.

p5p-msgid: 199706241525.LAA06554@aatma.engin.umich.edu

27 years agoWin32 sitelib intuition from DLL location
Gurusamy Sarathy [Sun, 22 Jun 1997 05:34:00 +0000]
Win32 sitelib intuition from DLL location

There is code for win32 that determines archlib from the location
of PERL.DLL.  This is only 50% effective, as any sitelib at
the same location is not found.

This simple patch adds that feature.  It is needed for the win32
binary distribution to work in a relocatable fashion.

[editor's note: perhaps only partially applied]

p5p-msgid: 199706231647.MAA23260@aatma.engin.umich.edu