Gurusamy Sarathy [Sun, 23 Jan 2000 08:48:46 +0000 (08:48 +0000)]
prefer POSIX::uname() rather than syscalls, which require attempting
to load syscall.ph (from David Huggins-Daines <dhd@eradicator.org>)
p4raw-id: //depot/perl@4851
Gurusamy Sarathy [Sun, 23 Jan 2000 08:36:43 +0000 (08:36 +0000)]
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@4850
Gurusamy Sarathy [Sun, 23 Jan 2000 08:17:30 +0000 (08:17 +0000)]
fix localization in while BLOCK when there is a continue BLOCK
by introducing an explicit scope (c.f. change#4848)
p4raw-link: @4848 on //depot/perl:
1ee987245c095afd177d3e2ca6255cec8dbb53ca
p4raw-id: //depot/perl@4849
Gurusamy Sarathy [Sun, 23 Jan 2000 06:43:51 +0000 (06:43 +0000)]
fix scope cleanup when next jumps to a continue block; this is rather
in the nature of a kludge; it doesn't fix the longstanding bug that
makes C<while (!$x++) { local $x = 7 } continue { print $x }> print "7"
instead of "1")
p4raw-id: //depot/perl@4848
Gurusamy Sarathy [Sun, 23 Jan 2000 04:47:25 +0000 (04:47 +0000)]
don't warn about masked lexical in C<if (my $x = 1) { my $x; }>,
C<while (my $x = foo()) { my $x = bar(); }> etc.
p4raw-id: //depot/perl@4847
Gurusamy Sarathy [Sun, 23 Jan 2000 04:44:17 +0000 (04:44 +0000)]
avoid warnings in change#4839
p4raw-link: @4839 on //depot/perl:
191f2cf3f90fff5e4eb7a8663a83ed6c7031cf5d
p4raw-id: //depot/perl@4846
Gurusamy Sarathy [Sat, 22 Jan 2000 13:12:38 +0000 (13:12 +0000)]
Configure typos (from Ray Phillips <r.phillips@mailbox.uq.edu.au>)
p4raw-id: //depot/perl@4845
Gurusamy Sarathy [Sat, 22 Jan 2000 12:46:26 +0000 (12:46 +0000)]
wrong category for exec() warning
p4raw-id: //depot/perl@4844
Gurusamy Sarathy [Sat, 22 Jan 2000 12:42:40 +0000 (12:42 +0000)]
fix line continuations in argument lists (from Helmut Jarausch)
p4raw-id: //depot/perl@4843
Gurusamy Sarathy [Sat, 22 Jan 2000 12:34:39 +0000 (12:34 +0000)]
CGI.pm upgraded to v2.56 from CPAN
p4raw-id: //depot/perl@4842
Gurusamy Sarathy [Sat, 22 Jan 2000 12:07:23 +0000 (12:07 +0000)]
avoid warnings due to lack of forward declarations
p4raw-id: //depot/perl@4841
Gurusamy Sarathy [Sat, 22 Jan 2000 12:04:30 +0000 (12:04 +0000)]
heavy cleanup of Pod::Html bug fixes (from Wolfgang Laun
<wolfgang.laun@alcatel.at>)
p4raw-id: //depot/perl@4840
Gurusamy Sarathy [Sat, 22 Jan 2000 11:57:24 +0000 (11:57 +0000)]
better Carp reporting within subclassed modules (from Wolfgang Laun
<wolfgang.laun@alcatel.at>)
p4raw-id: //depot/perl@4839
Gurusamy Sarathy [Sat, 22 Jan 2000 10:53:06 +0000 (10:53 +0000)]
truncate(FH) flushes FH before truncating it
p4raw-id: //depot/perl@4838
Gurusamy Sarathy [Sat, 22 Jan 2000 10:37:16 +0000 (10:37 +0000)]
#line directives without a filename leave the file name as it was
instead of setting it to the script name (from Andrew Pimlott
<andrew@pimlott.ne.mediaone.net>)
p4raw-id: //depot/perl@4837
Gurusamy Sarathy [Sat, 22 Jan 2000 10:06:53 +0000 (10:06 +0000)]
add patch for printf-style format typechecks (from Robin Barker
<rmb1@cise.npl.co.uk>); fixes for problems so identified
p4raw-id: //depot/perl@4836
John Tobey [Thu, 16 Dec 1999 20:20:38 +0000 (15:20 -0500)]
[ID
19991216.006] [PATCH 5.005_63] Reloading modules that use 'fields'
Message-Id: <E11ym4U-0000c7-00@einstein.localnet>
p4raw-id: //depot/perl@4835
Gurusamy Sarathy [Sat, 22 Jan 2000 08:08:08 +0000 (08:08 +0000)]
fix deeply nested closures that have no references to lexical in
intervening subs
p4raw-id: //depot/perl@4834
Gurusamy Sarathy [Fri, 21 Jan 2000 17:04:21 +0000 (17:04 +0000)]
add $VERSION
p4raw-id: //depot/perl@4833
Gurusamy Sarathy [Fri, 21 Jan 2000 16:49:09 +0000 (16:49 +0000)]
fix bug in dumping self-referential scalars
p4raw-id: //depot/perl@4832
Jarkko Hietaniemi [Fri, 21 Jan 2000 09:16:07 +0000 (09:16 +0000)]
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4831
Gurusamy Sarathy [Fri, 21 Jan 2000 04:28:08 +0000 (04:28 +0000)]
patch to report warnings on bogus filehandles passed to flock(),
more consistent warnings, from Greg Bacon <gbacon@itsc.uah.edu>
(slightly modified)
p4raw-id: //depot/perl@4830
Gurusamy Sarathy [Fri, 21 Jan 2000 03:43:46 +0000 (03:43 +0000)]
typo fix
p4raw-id: //depot/perl@4829
Gurusamy Sarathy [Fri, 21 Jan 2000 03:32:31 +0000 (03:32 +0000)]
notes about $^H and %^H from Ilya Zakharevich; substantial
fixups of faulty facts and prose
p4raw-id: //depot/perl@4828
Gurusamy Sarathy [Fri, 21 Jan 2000 01:45:51 +0000 (01:45 +0000)]
support for C<exists &func> (from Spider Boardman)
p4raw-id: //depot/perl@4827
Gurusamy Sarathy [Fri, 21 Jan 2000 01:35:46 +0000 (01:35 +0000)]
mention the fact that open(my $foo, ...) covers all handle
constructors
p4raw-id: //depot/perl@4826
Ilya Zakharevich [Wed, 19 Jan 2000 15:05:11 +0000 (10:05 -0500)]
h2xs goof and a depessimization
Message-ID: <
20000119150511.A22859@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@4825
Gurusamy Sarathy [Thu, 20 Jan 2000 19:14:26 +0000 (19:14 +0000)]
INSTALL updates from Andy Dougherty
p4raw-id: //depot/perl@4824
Gurusamy Sarathy [Thu, 20 Jan 2000 08:40:13 +0000 (08:40 +0000)]
sv_true() has a superfluous test
p4raw-id: //depot/perl@4823
Jarkko Hietaniemi [Wed, 19 Jan 2000 22:46:42 +0000 (22:46 +0000)]
More robust inc_version_list from Andy.
p4raw-id: //depot/cfgperl@4820
Jarkko Hietaniemi [Wed, 19 Jan 2000 17:36:56 +0000 (17:36 +0000)]
Add NV_PRESERVES_UV.
p4raw-id: //depot/cfgperl@4819
Jarkko Hietaniemi [Wed, 19 Jan 2000 08:13:05 +0000 (08:13 +0000)]
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4818
Gurusamy Sarathy [Wed, 19 Jan 2000 05:25:43 +0000 (05:25 +0000)]
regen win32/config*
p4raw-id: //depot/perl@4817
Jarkko Hietaniemi [Tue, 18 Jan 2000 21:19:10 +0000 (21:19 +0000)]
Policy patch from Andy for installation directories,
removing the $apiversion.
p4raw-id: //depot/cfgperl@4816
Jarkko Hietaniemi [Tue, 18 Jan 2000 21:11:03 +0000 (21:11 +0000)]
Move _GNU_SOURCE into config_h.SH awaay from Configure
as suggested by Andy.
p4raw-id: //depot/cfgperl@4815
Gurusamy Sarathy [Tue, 18 Jan 2000 20:48:10 +0000 (20:48 +0000)]
integrate cfgperl changes into mainline
p4raw-id: //depot/perl@4814
Jarkko Hietaniemi [Tue, 18 Jan 2000 19:41:33 +0000 (19:41 +0000)]
metaconfig todo note from Andy.
p4raw-id: //depot/cfgperl@4813
Jarkko Hietaniemi [Tue, 18 Jan 2000 15:02:55 +0000 (15:02 +0000)]
More -V.
p4raw-id: //depot/cfgperl@4812
Jarkko Hietaniemi [Tue, 18 Jan 2000 10:35:30 +0000 (10:35 +0000)]
More compile-time options shown with -V.
p4raw-id: //depot/cfgperl@4811
Jarkko Hietaniemi [Mon, 17 Jan 2000 08:35:49 +0000 (08:35 +0000)]
Add -D_GNU_SOURCE into ccflags for gcc (for now to expose
the strtold() and qgcvt() prototypes for long doubles, but
it should be okay in any case); fix bad assumptions in the
test suite about string->float conversions; though the out
parameter of strtold() (and strtoll()) is unused, it is nicer
to have it in correct type.
p4raw-id: //depot/cfgperl@4810
Jarkko Hietaniemi [Sun, 16 Jan 2000 19:21:18 +0000 (19:21 +0000)]
strtoll works better ternary.
p4raw-id: //depot/cfgperl@4809
Jarkko Hietaniemi [Sun, 16 Jan 2000 19:12:58 +0000 (19:12 +0000)]
Know strtoll.
p4raw-id: //depot/cfgperl@4808
Jarkko Hietaniemi [Sun, 16 Jan 2000 17:57:03 +0000 (17:57 +0000)]
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4807
Jarkko Hietaniemi [Sun, 16 Jan 2000 16:37:47 +0000 (16:37 +0000)]
Continue qgcvt work; closer now but not yet there.
p4raw-id: //depot/cfgperl@4806
Jarkko Hietaniemi [Sat, 15 Jan 2000 22:26:16 +0000 (22:26 +0000)]
Metaconfig and Porting patches from Andy; start using the new
long long and long double thingies from #4804; regen Configure.
p4raw-id: //depot/perl@4805
Jarkko Hietaniemi [Sat, 15 Jan 2000 22:26:16 +0000 (22:26 +0000)]
Metaconfig and Porting patches from Andy; start using the new
long long and long double thingies from #4804; regen Configure.
p4raw-id: //depot/cfgperl@4805
Gurusamy Sarathy [Fri, 14 Jan 2000 04:40:49 +0000 (04:40 +0000)]
minor optimization (avoid double sv_upgrade() for "our Foo $bar;")
p4raw-id: //depot/perl@4803
Gurusamy Sarathy [Fri, 14 Jan 2000 04:35:55 +0000 (04:35 +0000)]
add note about "our"
p4raw-id: //depot/perl@4802
Gurusamy Sarathy [Fri, 14 Jan 2000 04:16:51 +0000 (04:16 +0000)]
nailed "our" declarations, and better warnings on duplicate
"our" declarations
p4raw-id: //depot/perl@4801
Gurusamy Sarathy [Fri, 14 Jan 2000 01:27:13 +0000 (01:27 +0000)]
avoid spurious "Useless use of variable" warning on C<our $foo;>
p4raw-id: //depot/perl@4800
Gurusamy Sarathy [Fri, 14 Jan 2000 01:17:15 +0000 (01:17 +0000)]
doc typo
p4raw-id: //depot/perl@4799
Jarkko Hietaniemi [Thu, 13 Jan 2000 16:31:34 +0000 (16:31 +0000)]
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4798
Gurusamy Sarathy [Thu, 13 Jan 2000 08:12:56 +0000 (08:12 +0000)]
clearer docs for change#4796; faster av_exists()
p4raw-link: @4796 on //depot/perl:
010205895f86f073b0b2a20bd4cfbb05f0134888
p4raw-id: //depot/perl@4797
Gurusamy Sarathy [Thu, 13 Jan 2000 06:49:03 +0000 (06:49 +0000)]
support delete() and exists() on array, tied array, and pseudo-hash
elements or slices
p4raw-id: //depot/perl@4796
Gurusamy Sarathy [Tue, 11 Jan 2000 20:52:30 +0000 (20:52 +0000)]
extend site_perl changes change#4773 to vendor_perl as well
p4raw-link: @4773 on //depot/perl:
273cf8d1f309172b4416e78e4a8e80c12d941254
p4raw-id: //depot/perl@4795
Gurusamy Sarathy [Tue, 11 Jan 2000 19:18:50 +0000 (19:18 +0000)]
rework INSTALL to reflect new logic for versioning sitelibs
p4raw-id: //depot/perl@4794
Gurusamy Sarathy [Tue, 11 Jan 2000 01:44:00 +0000 (01:44 +0000)]
test for change#4792
p4raw-link: @4792 on //depot/perl:
ad4e2db76417dc3c9feb57d207a4bcf3bf734aaf
p4raw-id: //depot/perl@4793
Gurusamy Sarathy [Tue, 11 Jan 2000 01:22:36 +0000 (01:22 +0000)]
pseudo forked children inherit environment correctly
p4raw-id: //depot/perl@4792
Gurusamy Sarathy [Mon, 10 Jan 2000 19:14:03 +0000 (19:14 +0000)]
test tweak
p4raw-id: //depot/perl@4791
Gurusamy Sarathy [Mon, 10 Jan 2000 18:56:16 +0000 (18:56 +0000)]
check for USE_ITHREADS sanity was too restrictive
p4raw-id: //depot/perl@4790
Gurusamy Sarathy [Mon, 10 Jan 2000 18:30:24 +0000 (18:30 +0000)]
add workaround for textmode read() bug in MSVCRT; make chdir() do
a real SetCurrentDirectory() in toplevel host
p4raw-id: //depot/perl@4789
Gurusamy Sarathy [Mon, 10 Jan 2000 05:27:03 +0000 (05:27 +0000)]
EPOC port update (from Olaf Flebbe <O.Flebbe@science-computing.de>)
p4raw-id: //depot/perl@4782
Gurusamy Sarathy [Mon, 10 Jan 2000 05:11:03 +0000 (05:11 +0000)]
pod typos (from Abigail <abigail@delanet.com>)
p4raw-id: //depot/perl@4781
Gurusamy Sarathy [Mon, 10 Jan 2000 05:07:35 +0000 (05:07 +0000)]
failing RE test added (from Robert Cunningham <rkc@ll.mit.edu>)
p4raw-id: //depot/perl@4780
Gurusamy Sarathy [Mon, 10 Jan 2000 05:06:16 +0000 (05:06 +0000)]
terminate -s switch processing only on C<-->, not on C<--foo>
p4raw-id: //depot/perl@4779
Gurusamy Sarathy [Mon, 10 Jan 2000 04:38:45 +0000 (04:38 +0000)]
useithreads needs usemultiplicity
p4raw-id: //depot/perl@4778
Gurusamy Sarathy [Mon, 10 Jan 2000 01:18:04 +0000 (01:18 +0000)]
use $Config{version} rather than $] where appropriate
p4raw-id: //depot/perl@4777
Gurusamy Sarathy [Mon, 10 Jan 2000 00:11:34 +0000 (00:11 +0000)]
enable fork.t on windows
p4raw-id: //depot/perl@4776
Gurusamy Sarathy [Mon, 10 Jan 2000 00:07:29 +0000 (00:07 +0000)]
broken test for use5005threads
p4raw-id: //depot/perl@4775
Gurusamy Sarathy [Sun, 9 Jan 2000 23:56:37 +0000 (23:56 +0000)]
more windows build tweaks
p4raw-id: //depot/perl@4774
Gurusamy Sarathy [Sun, 9 Jan 2000 22:27:19 +0000 (22:27 +0000)]
more changes for new-style version numbers (versions numbers on
the filesystem look like 5.5.640, except on DOS-DJGPP and VMS where
they look like 5_5_640; delete @Config{pm_apiversion,xs_apiversion};
split $Config{apiversion} into three, @Config{apirevision,apiversion,
apisubversion} for CPP friendliness; $Config{sitelib} now defaults
to .../site_perl/$version, just like $Config{privlib}, making sitelib
completely independent across versions and substantially eliminating
chances of breaking older installations by overwriting newly built
extensions; all this means compatibility inclusions for @INC will need
to take into account older sitelib versions (this still TODO)
windows, vms, dos tweaks for the above
p4raw-id: //depot/perl@4773
Gurusamy Sarathy [Sun, 9 Jan 2000 19:05:33 +0000 (19:05 +0000)]
s/usethreads/use5005threads/g
p4raw-id: //depot/perl@4772
Gurusamy Sarathy [Sun, 9 Jan 2000 18:51:50 +0000 (18:51 +0000)]
Configure changes for new-style version numbers (from Andy Dougherty,
slightly altered)
p4raw-id: //depot/perl@4771
Gurusamy Sarathy [Fri, 7 Jan 2000 22:18:54 +0000 (22:18 +0000)]
fix for 'make utest' failures (from Ilya Zakharevich)
p4raw-id: //depot/perl@4770
Gurusamy Sarathy [Fri, 7 Jan 2000 18:23:16 +0000 (18:23 +0000)]
cygwin update (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4769
Gurusamy Sarathy [Fri, 7 Jan 2000 18:12:15 +0000 (18:12 +0000)]
typo on h2xs.PL (from Helmut Jarausch)
p4raw-id: //depot/perl@4768
Gurusamy Sarathy [Fri, 7 Jan 2000 17:58:45 +0000 (17:58 +0000)]
VMS update (from Peter Prymmer <pvhp@forte.com>)
p4raw-id: //depot/perl@4767
Gurusamy Sarathy [Fri, 7 Jan 2000 17:54:05 +0000 (17:54 +0000)]
os2/POSIX.mkfifo not needed (from Yitzchak Scott-Thoennes
<sthoenna@efn.org>)
p4raw-id: //depot/perl@4766
Gurusamy Sarathy [Thu, 6 Jan 2000 20:11:46 +0000 (20:11 +0000)]
add workaround for dlopen() bug on OpenBSD (relative paths that
match /^lib/ won't load properly)
p4raw-id: //depot/perl@4765
Gurusamy Sarathy [Thu, 6 Jan 2000 19:51:08 +0000 (19:51 +0000)]
add undocumented globals for compatibility--find.pl, and find2perl
generated code need them (from Helmut Jarausch <jarausch@igpm.rwth-aachen.de>)
p4raw-id: //depot/perl@4764
Gurusamy Sarathy [Thu, 6 Jan 2000 10:51:07 +0000 (10:51 +0000)]
fix various C-backend shenanigans
p4raw-id: //depot/perl@4763
Gurusamy Sarathy [Thu, 6 Jan 2000 04:09:00 +0000 (04:09 +0000)]
tweak test in change#4757 for Windows
p4raw-link: @4757 on //depot/perl:
faecd977681fb50ecb4b9174f76ac49d0d9e21c7
p4raw-id: //depot/perl@4762
Gurusamy Sarathy [Thu, 6 Jan 2000 02:55:30 +0000 (02:55 +0000)]
USE_ITHREADS tweak (reused pad values could be SvREADONLY if
they belonged to freed OP_CONSTs)
p4raw-id: //depot/perl@4761
Gurusamy Sarathy [Thu, 6 Jan 2000 00:22:40 +0000 (00:22 +0000)]
constant ranges could escape bareword check in list context
p4raw-id: //depot/perl@4760
Ilya Zakharevich [Wed, 5 Jan 2000 15:23:18 +0000 (10:23 -0500)]
Re: minimal m//g matches appear busted
Message-Id: <
20000105152318.A7400@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@4759
Gurusamy Sarathy [Wed, 5 Jan 2000 12:49:40 +0000 (12:49 +0000)]
various nits identified by warnings unmasked by recent changes
p4raw-id: //depot/perl@4758
Gurusamy Sarathy [Wed, 5 Jan 2000 12:48:10 +0000 (12:48 +0000)]
severe bugs in change#3786 fixed
p4raw-link: @3786 on //depot/perl:
6170680bfd1817febf6b13f65734e3e2e6e3f9bf
p4raw-id: //depot/perl@4757
Gurusamy Sarathy [Wed, 5 Jan 2000 11:25:10 +0000 (11:25 +0000)]
tweak change#4745 to make ebcdic output match for chars <= 037
p4raw-link: @4745 on //depot/perl:
0407a77bc74fb10c233a2d09d551311e3628eba5
p4raw-id: //depot/perl@4756
Gurusamy Sarathy [Wed, 5 Jan 2000 06:56:05 +0000 (06:56 +0000)]
cygwin support tweaks (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4755
Gurusamy Sarathy [Wed, 5 Jan 2000 06:52:25 +0000 (06:52 +0000)]
avoid expensive Version_check (from Andreas Koenig)
p4raw-id: //depot/perl@4754
Andreas König [Mon, 3 Jan 2000 21:56:02 +0000 (22:56 +0100)]
Reloading File::Copy
Message-ID: <sfcvh5azxgd.fsf@hohenstaufen.in-berlin.de>
p4raw-id: //depot/perl@4753
Gurusamy Sarathy [Tue, 4 Jan 2000 01:19:20 +0000 (01:19 +0000)]
s/USE_TEXTMODE_SCRIPTS/PERL_TEXTMODE_SCRIPTS/g
p4raw-id: //depot/perl@4752
Gurusamy Sarathy [Mon, 3 Jan 2000 18:26:08 +0000 (18:26 +0000)]
avoid using (custom) autoloader in MakeMaker (from Andreas Koenig)
p4raw-id: //depot/perl@4751
Gurusamy Sarathy [Sun, 2 Jan 2000 21:58:02 +0000 (21:58 +0000)]
make DProf look at $ENV{PERL_DPROF_OUT_FILE_NAME} to make it possible
to write to a file other than tmon.out (suggested by Haakon Alstadheim
<Haakon.Alstadheim@sds.no>)
p4raw-id: //depot/perl@4750
Gurusamy Sarathy [Sun, 2 Jan 2000 21:37:29 +0000 (21:37 +0000)]
disable optimization in change#3612 for join() and quotemeta()--this
removes all the gross hacks for the special cases in that change; fix
pp_concat() for when TARG == arg (modified version of patch suggested
by Ilya Zakharevich)
p4raw-link: @3612 on //depot/perl:
b162f9ead0a98db35cdcfc8c889e344c040c8d8e
p4raw-id: //depot/perl@4749
Gurusamy Sarathy [Sun, 2 Jan 2000 20:26:06 +0000 (20:26 +0000)]
MakeMaker should attempt to "require" rather than "use" prerequisites
to avoid imports (from Michael G Schwern <schwern@pobox.com>)
p4raw-id: //depot/perl@4748
Gurusamy Sarathy [Sun, 2 Jan 2000 20:17:36 +0000 (20:17 +0000)]
fix 4-arg substr() when used as argument to subroutine
p4raw-id: //depot/perl@4747
Gurusamy Sarathy [Sun, 2 Jan 2000 18:45:58 +0000 (18:45 +0000)]
usethreads build fixups for NeXTstep (as suggested by Hans Mulder)
p4raw-id: //depot/perl@4746
Gurusamy Sarathy [Sun, 2 Jan 2000 18:15:44 +0000 (18:15 +0000)]
ebcdic fix for Data::Dumper from Peter Prymmer
p4raw-id: //depot/perl@4745
Gurusamy Sarathy [Fri, 31 Dec 1999 22:42:23 +0000 (22:42 +0000)]
missing files in previous submit
p4raw-id: //depot/perl@4744