This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
23 years agoCleanup MakeMaker 'not in config' noise
Nick Ing-Simmons [Sat, 8 Nov 1997 16:41:24 +0000 (16:41 +0000)]
Cleanup MakeMaker 'not in config' noise

p4raw-id: //depot/ansiperl@215

23 years agoRemove 'configure' leaving configure.gnu and Configure
Nick Ing-Simmons [Sat, 8 Nov 1997 15:07:24 +0000 (15:07 +0000)]
Remove 'configure' leaving configure.gnu and Configure
Win32 ignores case and keeps trying to update
repository copy of 'configure' or 'Configure' with
the other.

p4raw-id: //depot/ansiperl@214

23 years agoGet threads working again on Win32
Nick Ing-Simmons [Sat, 8 Nov 1997 15:03:39 +0000 (15:03 +0000)]
Get threads working again on Win32
Root cause of fail was init_thread_intern() in
new_struct_thread() (which is called in parent thread)
clobbering dTHR of parent thread.
It is doubtfull if setting 'self' in new_struct_thread()
is 'right' but left in for now.

p4raw-id: //depot/ansiperl@213

23 years agoAdd :base_thread to :default in Opcode.pm
Nick Ing-Simmons [Sat, 8 Nov 1997 00:34:03 +0000 (00:34 +0000)]
Add :base_thread to :default in Opcode.pm
This allows lib/safe.t to pass when threaded.
It is unclear if 'lock' should be safe as it allows
denial of service attack, but could not figure out
how to add just 'specific' (sic) to :default
without triggering 'already tagged' warning noise.

p4raw-id: //depot/ansiperl@212

23 years agoMerge changes as of 18:00 CST
Nick Ing-Simmons [Fri, 7 Nov 1997 23:59:31 +0000 (23:59 +0000)]
Merge changes as of 18:00 CST

p4raw-id: //depot/ansiperl@211

23 years agoReverse integrate Malcolm's chanes into local
Nick Ing-Simmons [Fri, 7 Nov 1997 23:52:35 +0000 (23:52 +0000)]
Reverse integrate Malcolm's chanes into local
repository, then import result back into my view
of Malcolm's repository.
Builds and passes (most) tests with GNU C++/Solaris
and Borland C++, Win32.

p4raw-id: //depot/ansiperl@210

23 years agoChange pp_tie and pp_dbmopen to use perl_call_sv instead of a
Malcolm Beattie [Fri, 7 Nov 1997 18:12:36 +0000 (18:12 +0000)]
Change pp_tie and pp_dbmopen to use perl_call_sv instead of a
DIY pp_entersub (in preparation for AUTOLOAD change). dbmopen
not tested. ofslen now maps to thr->Tofslen in thread.h. Added
missing #ifdef USE_THREADS around some DEBU_L statements in die().
Building without USE_THREADS fails quite a lot of tests. It looks
as though the move to per-thread magicals must be missing some
#ifdef USE_THREADS.

p4raw-id: //depot/perl@209

23 years agoRaw integrate of latest perl
Nick Ing-Simmons [Fri, 7 Nov 1997 01:37:28 +0000 (01:37 +0000)]
Raw integrate of latest perl

p4raw-id: //depot/ansiperl@208

23 years agoUpdate README.threads and Todo.5.005.
Malcolm Beattie [Thu, 6 Nov 1997 14:58:00 +0000 (14:58 +0000)]
Update README.threads and Todo.5.005.

p4raw-id: //depot/perl@207

23 years agoRemove #ifdef DEPRECATED stuff: newXSUB, pp_entersubr, FREE_TMPS().
Malcolm Beattie [Thu, 6 Nov 1997 14:37:37 +0000 (14:37 +0000)]
Remove #ifdef DEPRECATED stuff: newXSUB, pp_entersubr, FREE_TMPS().

p4raw-id: //depot/perl@206

23 years agoPer-thread magicals now stored in their own thr->magicals and keyed
Malcolm Beattie [Thu, 6 Nov 1997 14:31:38 +0000 (14:31 +0000)]
Per-thread magicals now stored in their own thr->magicals and keyed
more directly. cvcache and oursv become ordinary struct thread
fields instead of #defined thr->Tfoo ones. SvREFCNT_inc now checks
for 0 again. Main thread initialisation done by new function
init_main_thread instead of (now fixed) new_struct_thread.

p4raw-id: //depot/perl@205

23 years agoPer-thread magicals mostly working (and localisable). Now getting
Malcolm Beattie [Wed, 5 Nov 1997 17:18:18 +0000 (17:18 +0000)]
Per-thread magicals mostly working (and localisable). Now getting
intermittent occasional "Use of uninitialized value" warnings
which may be due to some op flag black magic I've broken.

p4raw-id: //depot/perl@204

23 years agoBuilds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)
Nick Ing-Simmons [Wed, 5 Nov 1997 01:04:10 +0000 (01:04 +0000)]
Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)

p4raw-id: //depot/ansiperl@203

23 years agoCompile(d) at least once with threads on win32
Nick Ing-Simmons [Wed, 5 Nov 1997 00:50:27 +0000 (00:50 +0000)]
Compile(d) at least once with threads on win32
but did not work

p4raw-id: //depot/ansiperl@202

23 years agoTrivial integrate
Nick Ing-Simmons [Wed, 5 Nov 1997 00:32:13 +0000 (00:32 +0000)]
Trivial integrate

p4raw-id: //depot/ansiperl@201

23 years agoUp patchlevel to 5.004_54 (I missed _53 for the last release).
Malcolm Beattie [Tue, 4 Nov 1997 12:06:09 +0000 (12:06 +0000)]
Up patchlevel to 5.004_54 (I missed _53 for the last release).

p4raw-id: //depot/perl@200

23 years agoIntegrate mainline @ 18:15 CST 31 Oct 1997
Nick Ing-Simmons [Sat, 1 Nov 1997 00:18:52 +0000 (00:18 +0000)]
Integrate mainline @ 18:15 CST 31 Oct 1997

p4raw-id: //depot/ansiperl@199

23 years agowin32thread.* not in MANIFEST which has muddled moving
Nick Ing-Simmons [Sat, 1 Nov 1997 00:08:33 +0000 (00:08 +0000)]
win32thread.* not in MANIFEST which has muddled moving
back and forth between depots.

p4raw-id: //depot/ansiperl@198

23 years agoTest changes
Nick Ing-Simmons [Sat, 1 Nov 1997 00:02:49 +0000 (00:02 +0000)]
Test changes

p4raw-id: //depot/ansiperl@197

23 years agoFurther ANSI changes now builds and passes (most) tests
Nick Ing-Simmons [Fri, 31 Oct 1997 23:54:01 +0000 (23:54 +0000)]
Further ANSI changes now builds and passes (most) tests
with gcc -x c++.

p4raw-id: //depot/ansiperl@196

23 years agoHalf way through moving per-thread magicals into per-thread fields
Malcolm Beattie [Fri, 31 Oct 1997 18:05:31 +0000 (18:05 +0000)]
Half way through moving per-thread magicals into per-thread fields
and the associated new OP_SPECIFIC and find_thread_magical stuff.
perl will compile but plenty of the magicals are still broken.

p4raw-id: //depot/perl@195

23 years agoConvert miniperl sources to ANSI C. Several passes of
Nick Ing-Simmons [Fri, 31 Oct 1997 01:43:49 +0000 (01:43 +0000)]
Convert miniperl sources to ANSI C. Several passes of
GNU C's 'protoize' plus a few hand edits.
Will compile miniperl with gcc -x c++ (i.e. treat .c a C++ files)
Does not link seems gcc's C++ does not define a symbol for
   const char foo[] = "....";
i.e. with empty [].

p4raw-id: //depot/ansiperl@194

23 years agoMake the ansi branch
Nick Ing-Simmons [Thu, 30 Oct 1997 03:00:01 +0000 (03:00 +0000)]
Make the ansi branch

p4raw-id: //depot/ansiperl@193

23 years agoRemove global macro "self". Change thr->Tself to thr->self.
Malcolm Beattie [Wed, 29 Oct 1997 14:39:54 +0000 (14:39 +0000)]
Remove global macro "self". Change thr->Tself to thr->self.

p4raw-id: //depot/perl@190

23 years agoAdd to Todo: compiler with fake SvCUR in comppad_name entries.
Malcolm Beattie [Wed, 29 Oct 1997 12:49:01 +0000 (12:49 +0000)]
Add to Todo: compiler with fake SvCUR in comppad_name entries.

p4raw-id: //depot/perl@189

23 years agoChange peep() to optimise away unneeded rv2av in lval->[] and lval->{}
Malcolm Beattie [Wed, 29 Oct 1997 12:45:02 +0000 (12:45 +0000)]
Change peep() to optimise away unneeded rv2av in lval->[] and lval->{}

p4raw-id: //depot/perl@187

23 years agoMove compiler OP class information into opcode.pl.
Malcolm Beattie [Wed, 29 Oct 1997 12:43:36 +0000 (12:43 +0000)]
Move compiler OP class information into opcode.pl.

p4raw-id: //depot/perl@186

23 years agoRemove xcv_condp CV field which is no longer used.
Malcolm Beattie [Fri, 24 Oct 1997 17:14:00 +0000 (17:14 +0000)]
Remove xcv_condp CV field which is no longer used.

p4raw-id: //depot/perl@174

23 years agoPatches for VMS [Dan Sugalski]
Malcolm Beattie [Fri, 24 Oct 1997 14:36:09 +0000 (14:36 +0000)]
Patches for VMS [Dan Sugalski]

p4raw-id: //depot/perl@173

23 years agoImprove internal threading API. Introduce win32/win32thread.[ch]
Malcolm Beattie [Fri, 24 Oct 1997 13:50:59 +0000 (13:50 +0000)]
Improve internal threading API. Introduce win32/win32thread.[ch]
to use new API and patch win32 makefile stuff a little.

p4raw-id: //depot/perl@172

23 years agoFix pp_hot.c:get_db_sub core dump when perl debugger used.
Malcolm Beattie [Thu, 23 Oct 1997 14:00:27 +0000 (14:00 +0000)]
Fix pp_hot.c:get_db_sub core dump when perl debugger used.

p4raw-id: //depot/perl@171

23 years agoFix refcounts for lock/magic_mutexfree. Make OP_LOCK auto-ref
Malcolm Beattie [Thu, 23 Oct 1997 09:22:40 +0000 (09:22 +0000)]
Fix refcounts for lock/magic_mutexfree. Make OP_LOCK auto-ref
its argument using ck_rfun as OP_DEFINED. Make pp_lock return
a ref to its argument for AV, HV, CV.

p4raw-id: //depot/perl@170

23 years agoMake lib/Bundle/CPAN.pm a text file
Nick Ing-Simmons [Sat, 18 Oct 1997 02:52:44 +0000 (02:52 +0000)]
Make lib/Bundle/CPAN.pm a text file

p4raw-id: //depot/perl@156

23 years agoAdd newly moved perl/ext/Thread/... files to MANIFEST.
Malcolm Beattie [Thu, 16 Oct 1997 16:52:55 +0000 (16:52 +0000)]
Add newly moved perl/ext/Thread/... files to MANIFEST.

p4raw-id: //depot/perl@142

23 years agoMove perlext/Thread into perl/ext/Thread.
Malcolm Beattie [Thu, 16 Oct 1997 16:42:13 +0000 (16:42 +0000)]
Move perlext/Thread into perl/ext/Thread.

p4raw-id: //depot/perl@141

23 years agoCorrect threads_mutex locking in main thread destruction.
Malcolm Beattie [Thu, 16 Oct 1997 16:26:53 +0000 (16:26 +0000)]
Correct threads_mutex locking in main thread destruction.
Add per-interp thrsv to hold SV struct thread for main thread.
Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread.
Add Thread/list.t test of Thread->list method.
Let Thread::Semaphore methods up and down take an extra argument.

p4raw-id: //depot/perl@140

23 years agoCorrect threads_mutex locking in main thread destruction.
Malcolm Beattie [Thu, 16 Oct 1997 16:26:53 +0000 (16:26 +0000)]
Correct threads_mutex locking in main thread destruction.
Add per-interp thrsv to hold SV struct thread for main thread.
Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread.
Add Thread/list.t test of Thread->list method.
Let Thread::Semaphore methods up and down take an extra argument.

p4raw-id: //depot/perlext/Thread@140

23 years agoFix up merge with 5.004_04.
Malcolm Beattie [Thu, 16 Oct 1997 14:01:11 +0000 (14:01 +0000)]
Fix up merge with 5.004_04.

p4raw-id: //depot/perl@139

23 years agoMerge maint-5.004 branch (5.004_04) with mainline.
Malcolm Beattie [Thu, 16 Oct 1997 11:09:25 +0000 (11:09 +0000)]
Merge maint-5.004 branch (5.004_04) with mainline.

p4raw-id: //depot/perl@137

23 years agoRemove out-of-date test Thread/cond.t.
Malcolm Beattie [Wed, 15 Oct 1997 17:02:38 +0000 (17:02 +0000)]
Remove out-of-date test Thread/cond.t.

p4raw-id: //depot/perlext/Thread@132

23 years agoFinish thread state machine: fixes global destruction of threads,
Malcolm Beattie [Wed, 15 Oct 1997 16:57:45 +0000 (16:57 +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

23 years agoFinish thread state machine: fixes global destruction of threads,
Malcolm Beattie [Wed, 15 Oct 1997 16:57:45 +0000 (16:57 +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/perlext/Thread@131

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

p4raw-id: //depot/perl@130

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

p4raw-id: //depot/perl@129

23 years agoMaintenance 5.004_04 changes
Tim Bunce [Wed, 15 Oct 1997 15:55:26 +0000 (15:55 +0000)]
Maintenance 5.004_04 changes

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

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

p4raw-id: //depot/perl@127

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

p4raw-id: //depot/perl@126

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

p4raw-id: //depot/perlext/Thread@125

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

p4raw-id: //depot/perl@125

23 years agoTweak a few Thread tests.
Malcolm Beattie [Fri, 10 Oct 1997 17:23:41 +0000 (17:23 +0000)]
Tweak a few Thread tests.

p4raw-id: //depot/perlext/Thread@121

23 years agoRewrite thread destruction system using linked list of threads.
Malcolm Beattie [Fri, 10 Oct 1997 17:22:46 +0000 (17:22 +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

23 years agoRewrite thread destruction system using linked list of threads.
Malcolm Beattie [Fri, 10 Oct 1997 17:22:46 +0000 (17:22 +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/perlext/Thread@120

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

p4raw-id: //depot/perl@119

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

p4raw-id: //depot/perl@118

23 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 (08:12 +0000)]
Took out mystack_foo for good, fixed up interp.sym and win32/makedef.pl

p4raw-id: //depot/perl@117

23 years agoAdd missing sig_pipe definition to Thread.xs.
Malcolm Beattie [Wed, 8 Oct 1997 15:41:08 +0000 (15:41 +0000)]
Add missing sig_pipe definition to Thread.xs.

p4raw-id: //depot/perlext/Thread@116

23 years agoFix up 5.004_03 merge: remove missing win32 files from MANIFEST,
Malcolm Beattie [Wed, 8 Oct 1997 15:40:46 +0000 (15:40 +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

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

p4raw-id: //depot/perl@114

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

p4raw-id: //depot/perl@113

23 years agoRemove last traces of "tokenbuf as temp buffer" and removed it
Malcolm Beattie [Fri, 3 Oct 1997 17:12:33 +0000 (17:12 +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

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

p4raw-id: //depot/perl@104

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

p4raw-id: //depot/perl@103

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

p4raw-id: //depot/perlext/Thread@102

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

p4raw-id: //depot/perl@102

23 years agoAdded Thread/queue.t.
Malcolm Beattie [Thu, 2 Oct 1997 17:23:48 +0000 (17:23 +0000)]
Added Thread/queue.t.

p4raw-id: //depot/perlext/Thread@99

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

p4raw-id: //depot/perl@98

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

p4raw-id: //depot/perlext/Thread@97

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

p4raw-id: //depot/perl@97

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

p4raw-id: //depot/perl@96

23 years agoFixed broken typemap for Thread.
Malcolm Beattie [Thu, 2 Oct 1997 16:50:21 +0000 (16:50 +0000)]
Fixed broken typemap for Thread.

p4raw-id: //depot/perlext/Thread@95

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

p4raw-id: //depot/perl@93

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

p4raw-id: //depot/perl@92

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

p4raw-id: //depot/perl@88

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

p4raw-id: //depot/perl@87

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

p4raw-id: //depot/perl@84

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

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

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

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

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

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

24 years agoRe-introduce the changes from change 68 (runops becomes a
Malcolm Beattie [Mon, 29 Sep 1997 16:57:23 +0000 (16:57 +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

24 years agoStart merge with maint-5.004 branch by creating an ancestral
Malcolm Beattie [Mon, 29 Sep 1997 16:44:16 +0000 (16:44 +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

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

p4raw-id: //depot/perlext/Thread@69

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

p4raw-id: //depot/perl@69

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

p4raw-id: //depot/perl@68

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

p4raw-id: //depot/perl@67

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

p4raw-id: //depot/perl@66

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

p4raw-id: //depot/perl@64

24 years agoMove Thread/Semaphore.pm to Thread/Thread/Semaphore.pm
Malcolm Beattie [Wed, 10 Sep 1997 14:49:00 +0000 (14:49 +0000)]
Move Thread/Semaphore.pm to Thread/Thread/Semaphore.pm

p4raw-id: //depot/perlext/Thread@63

24 years agoMove Thread/Queue.pm to Thread/Thread/Queue.pm
Malcolm Beattie [Wed, 10 Sep 1997 14:47:31 +0000 (14:47 +0000)]
Move Thread/Queue.pm to Thread/Thread/Queue.pm

p4raw-id: //depot/perlext/Thread@62

24 years agoSolaris fixes: delete pad and padname from thread.h and remove
Malcolm Beattie [Wed, 10 Sep 1997 13:56:50 +0000 (13:56 +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

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

p4raw-id: //depot/perl@60

24 years agoAdd Thread modules Queue.pm and Semaphore.pm
Malcolm Beattie [Tue, 9 Sep 1997 16:49:08 +0000 (16:49 +0000)]
Add Thread modules Queue.pm and Semaphore.pm

p4raw-id: //depot/perlext/Thread@59

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

p4raw-id: //depot/perl@58

24 years agoAdd debug info to Thread typemap.
Malcolm Beattie [Tue, 9 Sep 1997 16:26:47 +0000 (16:26 +0000)]
Add debug info to Thread typemap.

p4raw-id: //depot/perlext/Thread@57

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

p4raw-id: //depot/perl@56

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

p4raw-id: //depot/perlext/Thread@56

24 years ago[inseparable changes from patch to perl 5.004_04] perl-5.004_04
Perl 5 Porters [Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)]
[inseparable changes from patch to perl 5.004_04]

[editor's note: this one imported like a charm!]

 TESTS  -

Subject: Improve pragma/locale test 102 - and don't fail, just warn
From: Jarkko Hietaniemi <jhi@anna.in-berlin.de>
Files: t/pragma/locale.t

Subject: Invalid test output in t/op/taint.t in trial 1
From: Dan Sugalski <sugalsd@lbcc.cc.or.us>
Files: t/op/taint.t

    t/op/taint.t prints out invalid ok messages for tests it skips.
    Rather than printing "ok 136" it prints "136 ok".

    p5p-msgid: 3.0.3.32.19970919160918.00857a50@stargate.lbcc.cc.or.us

 UTILITIES  -

Subject: Perldoc tiny patch to avoid $0
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: utils/perldoc.PL
Msg-ID: 199709122141.RAA16846@monk.mps.ohio-state.edu

    (applied based on p5p patch as commit 0b166b6635cf199f072db516b2a523ee659394d5)

Subject: h2ph broken in 5.004_02
From: David Mazieres <dm@reeducation-labor.lcs.mit.edu>
Files: utils/h2ph.PL
Msg-ID: 199708201700.KAA02621@www.chapin.edu

    (applied based on p5p patch as commit 4a8e146e38ec2045f1f817a7cb578e1b1f80f39f)

Subject: add key_t caddr_t to h2ph
From: Tony Sanders <sanders@bsdi.com>
Files: eg/sysvipc/ipcsem utils/h2ph.PL
Msg-ID: 199708272301.RAA12803@austin.bsdi.com

    (applied based on p5p patch as commit 0806a92ffc3a74ca70aa81051cdf2a306cd0a8af)

Subject: perldoc search ., lib and blib/* if -f 'Makefile.PL'
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL

    Subject: perldoc finds wrong pod2man

    (from perldoc source)

        # We must look both in @INC for library modules and in PATH
        # for executables, like h2xs or perldoc itself.

    Unfortunately, searching PATH for installed perl executables like
    pod2man is INCORRECT.  perldoc should start by searching the
    directory it was executed from, which might not be in the PATH
    at all.

    Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com>

    p5p-msgid: 199708251732.KAA19299@gadget.cscaper.com

Subject: 5.004m4t1: perlbug: NIS domainname gets into wrong places
From: Andreas J. Koenig <koenig@anna.mind.de>
Files: utils/perlbug.PL
Msg-ID: sfcg1qy38as.fsf@anna.in-berlin.de

    (applied based on p5p patch as commit 41f926b844140b7f7eaa9302113e45df3a9f9ff4)

Subject: add better local patch info to perlbug
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perlbug.PL

Subject: perldoc - suggest modules if requested module not found
From: Anthony David <adavid@netinfo.com.au>
Files: utils/perldoc.PL

    private-msgid: 3439CD83.6969@netinfo.com.au

Subject: perldoc mail::foo tries to read binary /usr/ucb/mail
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL

    Subject: perldoc weirdness

    perldoc mail::imap yields:

    {joseph}:79% perldoc mail::foo
    can't open /usr/ucb/mail: Permission denied at ./pod2man line 362.

    Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com>

    p5p-msgid: 199710082014.NAA00808@gadget.cscaper.com

Subject: perldoc -f setpwent (for example) returns no descriptive text
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: utils/perldoc.PL

Subject: perldoc diffs: don't search auto - much faster
From: "Joseph N. Hall" <joseph@5sigma.com>
Files: utils/perldoc.PL
Msg-ID: MailDrop1.2d7dPPC.971012211957@screechy.cscaper.com

    (applied based on p5p patch as commit 62b753c6ae4ab9bf22fbb6ec7ceac820bcef8fe4)

24 years ago[inseperable differences to perl 5.004_03] perl-5.004_03
Tim Bunce [Fri, 5 Sep 1997 00:00:00 +0000 (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

24 years agoMissing 'require' in auto-generated .pm by h2xs
David Kerry [Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)]
Missing 'require' in auto-generated .pm by h2xs

private-msgid: 97Aug27.131618edt.11650@janus.tor.securecomputing.com

24 years agoperldoc diffs: don't search auto - much faster
Joseph N. Hall [Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)]
perldoc diffs: don't search auto - much faster

Give this a try.  It causes unsuccessful searches to run about
3 times as fast on my machine.  Not exactly a speed demon but
at least you don't have time to get up and make coffee.

I tried adding caching to stop the repeated readdir in the
case-insensitive matching subroutine, but a) it only lopped off
another 20% and b) the patch made a kind of a Frankenstein thing
out of the subroutine, so c) I will try to write a better one
later when I have time.

p5p-msgid: MailDrop1.2d7dPPC.971012211957@screechy.cscaper.com

24 years agofix poor t/op/runlevel.t test
Norton Allen [Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)]
fix poor t/op/runlevel.t test

This patch fixes the Can't "goto" outside block test. Before, the
test only hit the desired error if the system sort did a compare
where $a was 0, which is not guaranteed (and does not occur on at
least one system.) Now both arguments are tested.

Credited: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Credited: Gurusamy Sarathy <gsar@engin.umich.edu>

p5p-msgid: 199709261458.KAA28611@dolores.harvard.edu