Nicholas Clark [Sat, 5 Nov 2005 12:57:40 +0000 (12:57 +0000)]
Allow passing of the full enum name into the tryAMAGICbin family of
macros, to avoid needing C pre-processor string concatenation within
the lowest level expansion.
p4raw-id: //depot/perl@26015
Steve Peters [Sat, 5 Nov 2005 12:55:47 +0000 (12:55 +0000)]
Upgrade to Time-HiRes-1.81
p4raw-id: //depot/perl@26014
Abe Timmerman [Sat, 5 Nov 2005 11:26:33 +0000 (13:26 +0200)]
add the new d_futimes as undef
Message-Id: <
200511051026.33940.abe@ztreet.demon.nl>
p4raw-id: //depot/perl@26013
Rafael Garcia-Suarez [Sat, 5 Nov 2005 10:13:56 +0000 (10:13 +0000)]
Remove the obsolete KNOWN PROBLEMS sections from perlcall.pod
(noticed by Robin Houston)
p4raw-id: //depot/perl@26012
SADAHIRO Tomoyuki [Sat, 5 Nov 2005 05:54:00 +0000 (05:54 +0000)]
Re: A surprising segfault
Message-Id: <
20051105135053.27D7.BQW10602@nifty.com>
p4raw-id: //depot/perl@26011
Nicholas Clark [Sat, 5 Nov 2005 08:32:39 +0000 (08:32 +0000)]
dorassign doesn't need --SP;
p4raw-id: //depot/perl@26010
Dave Mitchell [Sat, 5 Nov 2005 01:57:23 +0000 (01:57 +0000)]
pp_print didn't extend the stack before pushing its return value
p4raw-id: //depot/perl@26009
Steve Peters [Sat, 5 Nov 2005 01:39:51 +0000 (01:39 +0000)]
Typos in opcode.pl this time.
p4raw-id: //depot/perl@26008
Steve Peters [Sat, 5 Nov 2005 01:36:17 +0000 (01:36 +0000)]
Merge pp_andassign, pp_orassign, and pp_dorassign into pp_and,
pp_or, and pp_defined, respectively.
p4raw-id: //depot/perl@26007
Nicholas Clark [Fri, 4 Nov 2005 22:50:22 +0000 (22:50 +0000)]
s/printf/my_printf/ because we're using the return value.
My mistake spotted by Gisle.
p4raw-id: //depot/perl@26006
Steve Peters [Fri, 4 Nov 2005 21:41:43 +0000 (21:41 +0000)]
s/pp_dor/pp_defined/
p4raw-id: //depot/perl@26005
Steve Peters [Fri, 4 Nov 2005 21:39:44 +0000 (21:39 +0000)]
I barely knew ya pp_dor. Merged into pp_defined from whence you came.
This change has also caused pp_defined to be promoted to being a hot
op.
p4raw-id: //depot/perl@26004
Nicholas Clark [Fri, 4 Nov 2005 21:22:46 +0000 (21:22 +0000)]
Use the return value of sprintf in sv_2pv_flags. Remove dead code.
p4raw-id: //depot/perl@26003
Nicholas Clark [Fri, 4 Nov 2005 21:03:58 +0000 (21:03 +0000)]
You can't there from here. (Dead code in sv_2pv_flags)
p4raw-id: //depot/perl@26002
Nicholas Clark [Fri, 4 Nov 2005 20:47:34 +0000 (20:47 +0000)]
Use the return value from sprintf().
p4raw-id: //depot/perl@26001
Nicholas Clark [Fri, 4 Nov 2005 20:20:56 +0000 (20:20 +0000)]
pp_semop can fit within Perl_pp_shmwrite().
p4raw-id: //depot/perl@26000
Nicholas Clark [Fri, 4 Nov 2005 19:53:33 +0000 (19:53 +0000)]
The remaining special logic in pp_syswrite can be moved into pp_send,
which is actually already 50% syswrite.
p4raw-id: //depot/perl@25999
Rafael Garcia-Suarez [Fri, 4 Nov 2005 18:38:34 +0000 (18:38 +0000)]
Revert patch #25993.
p4raw-id: //depot/perl@25998
Steve Hay [Fri, 4 Nov 2005 17:23:49 +0000 (17:23 +0000)]
Fix a Win32 linker error following change #25972
p4raw-link: @25972 on //depot/perl:
ce6987d0ee9b127be2a1769a57aa5a88de5b51ef
p4raw-id: //depot/perl@25997
Alan Burlison [Fri, 4 Nov 2005 16:33:30 +0000 (16:33 +0000)]
use clearenv if available
Message-ID: <
436B8D5A.4010502@sun.com>
p4raw-id: //depot/perl@25996
Steve Peters [Fri, 4 Nov 2005 09:00:25 +0000 (03:00 -0600)]
Re: futimes [PATCH]
Message-ID: <
20051104150025.GA3873@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@25995
Andreas König [Fri, 4 Nov 2005 08:17:25 +0000 (09:17 +0100)]
[perl #19049] Incorrect $` after replacement
Message-ID: <87fyqc51bu.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@25993
Robin Houston [Fri, 4 Nov 2005 15:20:29 +0000 (15:20 +0000)]
Re: [PATCH] sort/multicall patch
Message-ID: <
20051104152029.GA17169@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@25992
Gisle Aas [Tue, 1 Nov 2005 03:27:49 +0000 (19:27 -0800)]
Re: Configure -Dno_mathoms
Message-ID: <lrslug7glm.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@25991
Nicholas Clark [Fri, 4 Nov 2005 14:47:49 +0000 (14:47 +0000)]
Merge msgsnd, msgrcv with Perl_pp_shmwrite().
"Perfection is achieved not when there's nothing more to add,
but when there's nothing left to remove" (Antoine de Saint-Exupéry)
p4raw-id: //depot/perl@25990
Nicholas Clark [Fri, 4 Nov 2005 14:21:19 +0000 (14:21 +0000)]
Once more, with feeling.
[Mmm, has someone been swapping the coffee for decaf?]
[Actual cause - make sure the edited version of the file is in the
correct directory]
p4raw-id: //depot/perl@25989
Nicholas Clark [Fri, 4 Nov 2005 14:18:14 +0000 (14:18 +0000)]
Meta-oops. Change 25987 was not the change you were looking for.
p4raw-id: //depot/perl@25988
Nicholas Clark [Fri, 4 Nov 2005 14:09:11 +0000 (14:09 +0000)]
Oops. This new panic was meant to be added to the documented
diagnostics.
p4raw-id: //depot/perl@25987
Nicholas Clark [Fri, 4 Nov 2005 13:02:42 +0000 (13:02 +0000)]
ftrwrite, ftrexec, fteread, ftewrite and fteexec can all be merged
with Perl_pp_ftrread().
p4raw-id: //depot/perl@25986
Steve Peters [Fri, 4 Nov 2005 12:02:51 +0000 (12:02 +0000)]
Upgrade to Time-HiRes-1.80
p4raw-id: //depot/perl@25985
Nicholas Clark [Fri, 4 Nov 2005 11:36:24 +0000 (11:36 +0000)]
PERL_EFF_ACCESS_[RWX]_OK can go.
p4raw-id: //depot/perl@25984
Nicholas Clark [Fri, 4 Nov 2005 11:16:08 +0000 (11:16 +0000)]
The PERL_EFF_ACCESS_[RWX]_OK macros are all defined as triples, so
can be refactored to a single platform dependent PERL_EFF_ACCESS macro
with the other 3 implemented in terms of it.
p4raw-id: //depot/perl@25983
Andy Lester [Fri, 4 Nov 2005 00:37:54 +0000 (18:37 -0600)]
bad semicolon in pp_ftrowned
Message-ID: <
20051104063753.GA3863@petdance.com>
p4raw-id: //depot/perl@25982
Steve Peters [Fri, 4 Nov 2005 00:10:21 +0000 (00:10 +0000)]
Upgrade to Time-HiRes 1.79
p4raw-id: //depot/perl@25981
Steve Peters [Thu, 3 Nov 2005 21:23:48 +0000 (21:23 +0000)]
Reverting the reversion. va_end() goes with va_start().
p4raw-id: //depot/perl@25980
Rafael Garcia-Suarez [Thu, 3 Nov 2005 21:07:54 +0000 (21:07 +0000)]
Fix test failures introduced by the change of flags on op_sort
p4raw-id: //depot/perl@25979
Steve Peters [Thu, 3 Nov 2005 20:28:20 +0000 (20:28 +0000)]
Upgrade to Time-HiRes-1.78
p4raw-id: //depot/perl@25978
Steve Peters [Thu, 3 Nov 2005 17:27:58 +0000 (17:27 +0000)]
Change #25976 seemed to cause test failures in ext/B/t/f_sort.t. What
was that line about Jenga again?
p4raw-id: //depot/perl@25977
Steve Peters [Thu, 3 Nov 2005 17:14:17 +0000 (17:14 +0000)]
Missing va_end(args) from SA_SIGINFO related code.
p4raw-id: //depot/perl@25976
Steve Peters [Thu, 3 Nov 2005 16:00:12 +0000 (16:00 +0000)]
Test for the right signal should use the constant for that signal.
p4raw-id: //depot/perl@25975
Steve Peters [Thu, 3 Nov 2005 15:07:26 +0000 (15:07 +0000)]
Add appropriate skips to t/io/fs.t to fix test failures on Cygwin.
p4raw-id: //depot/perl@25974
Steve Peters [Thu, 3 Nov 2005 14:56:25 +0000 (14:56 +0000)]
More core test cleanups. Mainly fixes to remove code that caused
warnings, but there were a few bug fixes that were hidden by
no using warnings.
p4raw-id: //depot/perl@25973
Nicholas Clark [Thu, 3 Nov 2005 14:19:34 +0000 (14:19 +0000)]
Perl_pp_symlink and Perl_pp_link can be merged. The diff looks evil,
but the actual finished code is not as bad as it seems.
p4raw-id: //depot/perl@25972
Alan Burlison [Thu, 3 Nov 2005 12:54:16 +0000 (12:54 +0000)]
Document some bogus compiler warnings in README.solaris
Subject: Re: Why is malloc_wrap now the default?
Message-ID: <
436A0878.1030703@sun.com>
p4raw-id: //depot/perl@25971
Steve Peters [Thu, 3 Nov 2005 11:37:31 +0000 (11:37 +0000)]
Upgrade to Time-HiRes-1.77
p4raw-id: //depot/perl@25970
Nicholas Clark [Thu, 3 Nov 2005 11:09:39 +0000 (11:09 +0000)]
Patch 3945 was a bit overkeen - the effective parameter to cando() and
ingroup() is a boolean flag, not a GID or UID.
p4raw-id: //depot/perl@25969
Nicholas Clark [Thu, 3 Nov 2005 09:51:56 +0000 (09:51 +0000)]
Avoiding source code duplication for the lstat() on filehandle %s
warning also makes the object code slightly smaller.
p4raw-id: //depot/perl@25968
Steve Peters [Thu, 3 Nov 2005 02:09:30 +0000 (02:09 +0000)]
Clean up some test files.
p4raw-id: //depot/perl@25967
Steve Peters [Thu, 3 Nov 2005 01:45:45 +0000 (01:45 +0000)]
Make harness warning-free when running with -Mdiagnostics
p4raw-id: //depot/perl@25966
Steve Peters [Wed, 2 Nov 2005 22:37:48 +0000 (22:37 +0000)]
Test case should not execute /no_such_process if it does exist.
p4raw-id: //depot/perl@25965
Nicholas Clark [Wed, 2 Nov 2005 21:27:58 +0000 (21:27 +0000)]
unlink chmod utime kill can be merged into Perl_pp_chown().
p4raw-id: //depot/perl@25964
Nicholas Clark [Wed, 2 Nov 2005 20:59:52 +0000 (20:59 +0000)]
Move the conditonal compiles that report absence of kill and chown
from pp_kill() and pp_chown() into apply().
p4raw-id: //depot/perl@25963
Nicholas Clark [Wed, 2 Nov 2005 20:13:24 +0000 (20:13 +0000)]
Move ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.
p4raw-id: //depot/perl@25962
Nicholas Clark [Wed, 2 Nov 2005 19:04:10 +0000 (19:04 +0000)]
Merge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
Perl_pp_ftrowned
p4raw-id: //depot/perl@25961
Nicholas Clark [Wed, 2 Nov 2005 17:24:35 +0000 (17:24 +0000)]
Avoid a pad panic by attempting to use dTARGET; in an op that didn't
flag that it needed a target (OP_FTIS)
p4raw-id: //depot/perl@25960
Nicholas Clark [Wed, 2 Nov 2005 16:35:42 +0000 (16:35 +0000)]
Correct error in 25958 for threaded builds.
p4raw-id: //depot/perl@25959
Nicholas Clark [Wed, 2 Nov 2005 15:59:30 +0000 (15:59 +0000)]
Merge ftsize ftmtime ftatime ftctime into Perl_pp_ftis
p4raw-id: //depot/perl@25958
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:33:32 +0000 (14:33 +0000)]
Remove last sort test, that was failing with and without threads.
Silence some warnings.
p4raw-id: //depot/perl@25957
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:10:54 +0000 (14:10 +0000)]
Adjust test count
p4raw-id: //depot/perl@25956
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:39:35 +0000 (13:39 +0000)]
Add missing file from change 25953
p4raw-id: //depot/perl@25955
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:14:19 +0000 (13:14 +0000)]
Regen headers
p4raw-id: //depot/perl@25954
Robin Houston [Sat, 29 Oct 2005 21:33:07 +0000 (22:33 +0100)]
sort/multicall patch
Message-ID: <
20051029203307.GA8869@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@25953
Paul Marquess [Tue, 1 Nov 2005 17:05:38 +0000 (17:05 +0000)]
RE: [perl #37571] -z FH broken with Borland build
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
003501c5df06$
7d63fdb0$
0505140a@myopwv.com>
p4raw-id: //depot/perl@25952
Gisle Aas [Tue, 1 Nov 2005 00:02:37 +0000 (16:02 -0800)]
Re: futimes [PATCH]
Message-ID: <lrbr1494o2.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@25951
Steve Peters [Wed, 2 Nov 2005 04:59:47 +0000 (04:59 +0000)]
Ambiguous test cases may be hazardous to your health.
p4raw-id: //depot/perl@25950
Steve Peters [Wed, 2 Nov 2005 04:54:52 +0000 (04:54 +0000)]
Lowercase barewords considered harmful to your health.
p4raw-id: //depot/perl@25949
Andy Lester [Mon, 31 Oct 2005 18:54:00 +0000 (18:54 +0000)]
perlio.c consting
Message-ID: <
20051031175411.GA18480@petdance.com>
p4raw-id: //depot/perl@25948
Steve Hay [Tue, 1 Nov 2005 17:20:18 +0000 (17:20 +0000)]
This *really* should clear up Win32's Perl_do_exec undefined warnings
p4raw-id: //depot/perl@25947
Nicholas Clark [Tue, 1 Nov 2005 16:38:31 +0000 (16:38 +0000)]
This should clear up 'Perl_do_exec' undefined; warnings on win32
p4raw-id: //depot/perl@25946
Steve Hay [Tue, 1 Nov 2005 10:33:48 +0000 (10:33 +0000)]
Make PerlLIOUtime()'s filename const
Fixes a warning brought about by change #25941 (which made the
filename argument const).
The various implementations of PerlLIOUtime() (in NetWare/, win32/
and wince/) already take a const filename.
p4raw-link: @25941 on //depot/perl:
e96b369dc61077fe31b75895167f55dbce4d7519
p4raw-id: //depot/perl@25945
Steve Hay [Tue, 1 Nov 2005 08:45:09 +0000 (08:45 +0000)]
Fix nit in pod nit fix
p4raw-id: //depot/perl@25944
Steve Hay [Tue, 1 Nov 2005 08:39:32 +0000 (08:39 +0000)]
Update win32 config files w.r.t. change #25935
p4raw-link: @25935 on //depot/perl:
dc814df18cd354aa2bad87c5b7f94c6b2d38af48
p4raw-id: //depot/perl@25943
Steve Peters [Mon, 31 Oct 2005 23:46:01 +0000 (23:46 +0000)]
Upgrade to DB_File 1.813.
p4raw-id: //depot/perl@25942
Gisle Aas [Mon, 31 Oct 2005 13:53:53 +0000 (05:53 -0800)]
futimes [PATCH]
Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@25941
Nicholas Clark [Mon, 31 Oct 2005 20:36:36 +0000 (20:36 +0000)]
All the ops that are simply C<return some_other_op();> can be bypassed
in the op dispatch table, and the bodies retired.
p4raw-id: //depot/perl@25940
Nicholas Clark [Mon, 31 Oct 2005 19:55:18 +0000 (19:55 +0000)]
Simplify the implementation of the "unimplemented" message in the
conditionally compiled ops.
p4raw-id: //depot/perl@25939
Nicholas Clark [Mon, 31 Oct 2005 19:14:47 +0000 (19:14 +0000)]
Further pod nit spotted by Jarkko
p4raw-id: //depot/perl@25938
Nicholas Clark [Mon, 31 Oct 2005 18:34:59 +0000 (18:34 +0000)]
Replace the 3 currently "unreachable" ops with a single op body
unimplemented_op() that panics descriptively if ever reached.
p4raw-id: //depot/perl@25937
Nicholas Clark [Mon, 31 Oct 2005 18:29:05 +0000 (18:29 +0000)]
Add "moving common filetest code to a static function" to the todo.
p4raw-id: //depot/perl@25936
H.Merijn Brand [Mon, 31 Oct 2005 17:50:05 +0000 (17:50 +0000)]
revive probe for futimes ()
p4raw-id: //depot/perl@25935
Bas van Sisseren [Wed, 26 Oct 2005 13:59:42 +0000 (15:59 +0200)]
A B::Deparse fix from :
Subject: Re: [perl #37527] regular-expression parser does not see '(' character
Message-ID: <
435F6FAE.4060502@quarantainenet.nl>
p4raw-id: //depot/perl@25934
Jarkko Hietaniemi [Mon, 31 Oct 2005 18:38:42 +0000 (20:38 +0200)]
Symbian port 0.3.0 as of blead@25911
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25933
Rafael Garcia-Suarez [Mon, 31 Oct 2005 16:24:31 +0000 (16:24 +0000)]
Avoid corruption when calling mg_get to retrieve the value
of a $digit variable. This is done by ensuring it's not
tainted.
See http://bugs.debian.org/303308
Patch by Chris Heath <chris.heath@autoweb.net>
p4raw-id: //depot/perl@25932
Nicholas Clark [Mon, 31 Oct 2005 16:24:29 +0000 (16:24 +0000)]
maddingue prefers this e-mail address.
p4raw-id: //depot/perl@25931
H.Merijn Brand [Mon, 31 Oct 2005 16:18:03 +0000 (16:18 +0000)]
Try to preserve the lost opcode alias info in comments
extent to change #25929
p4raw-link: @25929 on //depot/perl:
1d5774de323ac43a91c2a30cf2e40384e4754f98
p4raw-id: //depot/perl@25930
Nicholas Clark [Mon, 31 Oct 2005 15:52:50 +0000 (15:52 +0000)]
It appears that it's trivially easy to alias opcode functions in
the opcode table. We should be able to get both a speed and size
saving here. Time will tell how much.
p4raw-id: //depot/perl@25929
Nicholas Clark [Mon, 31 Oct 2005 15:13:06 +0000 (15:13 +0000)]
Add maddingue to AUTHORS
p4raw-id: //depot/perl@25928
Sébastien Aperghis-Tramoni [Sun, 30 Oct 2005 23:52:41 +0000 (00:52 +0100)]
Making ExtUtils::Constant compatible with Perl 5.004
Message-ID: <
1130712761.
43654eb9cd9f7@imp4-g19.free.fr>
with tweaks by chromatic and me.
p4raw-id: //depot/perl@25927
Nicholas Clark [Mon, 31 Oct 2005 14:51:48 +0000 (14:51 +0000)]
A more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().
p4raw-id: //depot/perl@25926
Rafael Garcia-Suarez [Mon, 31 Oct 2005 14:27:32 +0000 (14:27 +0000)]
Fix [perl #37533] open pragma ignored for all 3-arg opens
Also, correct the documentation in open.pm that stated
that open() did not override open.pm-given default encodings.
p4raw-id: //depot/perl@25925
Nicholas Clark [Mon, 31 Oct 2005 14:18:59 +0000 (14:18 +0000)]
Perl_csighandler was in global.sym twice.
p4raw-id: //depot/perl@25924
Nicholas Clark [Mon, 31 Oct 2005 14:18:14 +0000 (14:18 +0000)]
Arrange to only output each symbol once into global.sym
p4raw-id: //depot/perl@25923
Rafael Garcia-Suarez [Mon, 31 Oct 2005 13:45:06 +0000 (13:45 +0000)]
Tests for index/rindex with empty search string,
adapted from a patch by Rick Delaney
p4raw-id: //depot/perl@25922
Nicholas Clark [Mon, 31 Oct 2005 13:22:01 +0000 (13:22 +0000)]
uvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
systems, and not on EBCDIC, so some more thinking is going to be
needed here.
p4raw-id: //depot/perl@25921
Steve Peters [Mon, 31 Oct 2005 11:58:08 +0000 (11:58 +0000)]
Coverage stats showed that there were no tests for taking a slice
from ().
p4raw-id: //depot/perl@25920
Steve Hay [Mon, 31 Oct 2005 11:53:05 +0000 (11:53 +0000)]
Change some spaces to tabs for easier diffing against config_h.SH
p4raw-id: //depot/perl@25919
Steve Hay [Mon, 31 Oct 2005 11:30:15 +0000 (11:30 +0000)]
Fixed threaded builds following change 25916
p4raw-id: //depot/perl@25918
Nicholas Clark [Mon, 31 Oct 2005 11:29:43 +0000 (11:29 +0000)]
POD nit spotted by Jarkko
p4raw-id: //depot/perl@25917
Rafael Garcia-Suarez [Mon, 31 Oct 2005 10:44:32 +0000 (10:44 +0000)]
is_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form
p4raw-id: //depot/perl@25916
Andy Lester [Sun, 30 Oct 2005 23:44:13 +0000 (17:44 -0600)]
Etta James presents: More consting
Message-ID: <
20051031054413.GA10767@petdance.com>
p4raw-id: //depot/perl@25915