Permalink
Switch branches/tags
Commits on Dec 24, 1996
  1. [inseparable changes from patch from perl5.003_15 to perl5.003_16]

     CORE PORTABILITY
    
    Subject: _13: patches for unicos/unicosmk
    Date: Fri, 20 Dec 1996 14:38:50 -0600
    From: Dean Roehrich <roehrich@cray.com>
    Files: Configure MANIFEST hints/unicos.sh hints/unicosmk.sh
    
        private-msgid: <199612202038.OAA22805@poplar.cray.com>
    
     LIBRARY AND EXTENSIONS
    
    Subject: Refresh IO to 1.14
    From: Graham Barr <gbarr@ti.com>
    Files: MANIFEST ext/IO/IO.xs ext/IO/README ext/IO/lib/IO/File.pm ext/IO/lib/IO/Handle.pm ext/IO/lib/IO/Pipe.pm ext/IO/lib/IO/Seekable.pm ext/IO/lib/IO/Select.pm ext/IO/lib/IO/Socket.pm t/lib/io_dup.t t/lib/io_pipe.t t/lib/io_sel.t t/lib/io_sock.t t/lib/io_tell.t t/lib/io_udp.t t/lib/io_xs.t
    
     OTHER CORE CHANGES
    
    Subject: Fix 'foreach(@ARGV) { while (<>) { push @p,$_ } }'
    From: Chip Salzenberg <chip@atlantic.net>
    Files: cop.h pp_hot.c scope.c
    
    Subject: Eliminate warnings from C< undef $x; $x OP= "foo" >
    From: Chip Salzenberg <chip@atlantic.net>
    Files: doop.c pp.c pp.h pp_hot.c
    
    Subject: Try again to improve method caching
    Date: Mon, 23 Dec 1996 20:13:56 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: gv.c sv.c
    Msg-ID: <199612240113.UAA09487@monk.mps.ohio-state.edu>
    
        (applied based on p5p patch as commit 81c7868)
    
    Subject: Be more careful about 'o' magic memory management
    From: Chip Salzenberg <chip@atlantic.net>
    Files: mg.c sv.c
    
    Subject: Fix bad pointer refs when localized object loses magic
    From: Chip Salzenberg <chip@atlantic.net>
    Files: scope.c
    Perl 5 Porters committed with Chip Salzenberg Dec 24, 1996
  2. Try again to improve method caching

    Subject: Re: Autoloading broken?!
    
    Chip Salzenberg writes:
    > 
    > According to Ilya Zakharevich:
    > > 
    > 
    > Well, I can only guess what your message was going to say...  But if
    > you build stock _14, you'll find that MakeMaker doesn't work, because
    > SelfLoader doesn't work.
    > 
    > I think it has something to do with your patch finding completely
    > empty functions (no XSUB and no code) and ignoring -- or even removing
    > -- them, under the assumption they're bad cache entries.  But that
    > approach can make declarations like "sub Foo::bar;" evaporate into
    > nothingness, when such declarations are sometimes used to force a call
    > to Foo::AUTOLOAD().
    
    In a correct package - FOO. I think it would call some AUTOLOAD
    anyway, this is why this case slipped through my testing.
    
    > That's my understanding, anyway.
    
    Thanks, I found this too (and fixed it). I think it should work better
    now. So far only other places which I found broken by my previous
    patch are "overloading + AUTOLOADing", and "->can + AUTOLOAD".
    
    These 3 cases work now (after correcting a bug in overload.t's AUTOLOAD).
    
    p5p-msgid: <199612240113.UAA09487@monk.mps.ohio-state.edu>
    Ilya Zakharevich committed with Chip Salzenberg Dec 24, 1996
  3. Update to perllocale.pod

    Jarkko Hietaniemi committed with Chip Salzenberg Dec 24, 1996
  4. Edit INSTALL to describe new binary compat setup

    Chip Salzenberg committed Dec 24, 1996
  5. Fix compilation errors when malloc.c used for x2p

    Robin Barker committed with Chip Salzenberg Dec 24, 1996
  6. Use root EXTERN.h when compiling x2p/malloc.c.

    Paul Marquess committed with Chip Salzenberg Dec 24, 1996
  7. Don't recurse into subdirs twice on 'make realclean'

    Chip Salzenberg committed Dec 24, 1996
  8. Refresh Net::Ping to 2.02

    Russell Mosemann committed with Chip Salzenberg Dec 24, 1996
  9. Refresh CPAN to 1.09

    Andreas Koenig committed with Chip Salzenberg Dec 24, 1996
  10. Fix closures that are not in subroutines

    Chip Salzenberg committed Dec 24, 1996
  11. [shell changes from patch from perl5.003_15 to perl5.003_16]

    Change from running these commands:
    
     # new test must be executable
     touch t/lib/io_sel.t
     chmod +x t/lib/io_sel.t
     
     # ready to patch
     exit 0
    Chip Salzenberg committed Dec 24, 1996
Commits on Dec 23, 1996
  1. [revert some function caching changes]

    [remove] some function caching changes that were supposed to be
    improvements, but weren't.
    Chip Salzenberg committed Dec 23, 1996
  2. [inseparable changes from patch from perl5.003_13 to perl5.003_14]

     CORE LANGUAGE CHANGES
    
    Subject: Eliminate support for {if,unless,while,until} BLOCK BLOCK
    From: Chip Salzenberg <chip@atlantic.net>
    Files: perly.c perly.c.diff perly.y toke.c
    
    Subject: Taint $x after $x =~ s/pat/xyz/ if pat or xyz is tainted by locale
    From: Chip Salzenberg <chip@atlantic.net>
    Files: cop.h mg.c pp_ctl.c pp_hot.c
    
    Subject: Complete support for modifying undefined array members in foreach
    From: Chip Salzenberg <chip@atlantic.net>
    Files: global.sym mg.c perl.h pp.c pp_hot.c proto.h sv.c
    
     DOCUMENTATION
    
    Subject: Update pod/Makefile; s/perli18n/perllocale/
    From: Chip Salzenberg <chip@atlantic.net>
    Files: ext/POSIX/POSIX.pod lib/I18N/Collate.pm pod/Makefile pod/perl.pod pod/perlmod.pod pod/perlnews.pod pod/roffitall
    
     OTHER CORE CHANGES
    
    Subject: Bug in debugger with import manipulations
    Date: Mon, 23 Dec 1996 05:37:48 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: pp_hot.c
    
        Finally I traced why MakeMaker runs wrongly under debugger: debugger
        function calling sequence was assuming that
        	GvCV(CvGV(cv)) == cv
        for non-anonymous subs (ne END). MakeMaker managed to break it by
        	*A::B = \&C::D;
        	eval 'sub C::D {new one}';
        
        After this CvGV(\&A::B) is *C::D, but &{*C::D} is the "new one".
        
        Patch follows (note that in this case we do not sacrifice having a
        subroutine name in debugger output ;-).
        
        Enjoy,
        
        p5p-msgid: <199612231037.FAA08617@monk.mps.ohio-state.edu>
    
    Subject: Import and dynamic methods
    Date: Mon, 23 Dec 1996 01:45:37 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: gv.c hv.c sv.c
    
        Here is the patch which corrects bad things which happens when you
        import subroutines and otherwise manipulate the symbol tree.
        
        I put forward the only chunk which may be controversal, since it may
        have a minor performance penalty. It is independent of the others, so
        it can be freely deleted.
        
        The manipulations which correctly propagate to method calls:
        	a) Pruning globs:		delete $B::{method}
        	b) Undefing subroutines:	undef &B::method;
        	c) Importing:			*B::method = \&mymethod;
        
        Enjoy,
        
        p5p-msgid: <199612230645.BAA08378@monk.mps.ohio-state.edu>
    
    Subject: sv_gets patch
    Date: Sun, 22 Dec 1996 03:24:04 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: pp_hot.c
    
        I sent this patch before as a part of 
        	pos $str =
        	$str = /failing/g
        patch. Now I separate it in the case it was tainted by environment:
        
        Synopsis:
        	$a = <FH>;
        does not work as expected if $a is magic (say, tied).
        
        Enjoy,
        
        p5p-msgid: <199612220824.DAA07235@monk.mps.ohio-state.edu>
    
    Subject: pos $str patch
    Date: Sun, 22 Dec 1996 03:31:21 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: mg.c pp_hot.c t/op/pat.t
    
        This patch was (mostly) posted already.
        
        It fixes the bug:
        	pos $str 
        is reset to undef if
        	$str =~ /failing/g
        fails.
        
        Additionally, if fixes the hidded bit (=MGf_MINMATCH) surviving
        setting 
        	pos $str = ...
        
        Enjoy,
        
        p5p-msgid: <199612220831.DAA07247@monk.mps.ohio-state.edu>
    
     PORTABILITY
    
    Subject: Fix bugs in bincompat3 usage
    From: Chip Salzenberg <chip@atlantic.net>
    Files: perl.h perl_exp.SH
    
    Subject: VMS patches to 5.003_13
    Date: Mon, 23 Dec 1996 01:26:47 -0500 (EST)
    From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
    Files: deb.c ext/POSIX/POSIX.xs gv.c lib/File/Copy.pm mg.c perl.c perl.h proto.h sv.c t/lib/filecopy.t taint.c toke.c util.c vms/Makefile vms/config.vms vms/descrip.mms vms/gen_shrfls.pl vms/genconfig.pl vms/genopt.com vms/perly_c.vms vms/perly_h.vms vms/test.com vms/vms.c vms/vms_yfix.pl
    
        private-msgid: <01IDBYYFYPIS002ASE@hmivax.humgen.upenn.edu>
    
     UTILITIES, LIBRARY, AND EXTENSIONS
    
    Subject: Remove libnet
    From: Chip Salzenberg <chip@atlantic.net>
    Files: MANIFEST pod/perlmod.pod
    
    Subject: Update IO->VERSION() to 1.1201 for CPAN's sake
    From: Chip Salzenberg <chip@atlantic.net>
    Files: ext/IO/lib/IO/Handle.pm lib/IO/Handle.pm
    
    Subject: Remodel File::Copy.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: lib/File/Copy.pm
    Perl 5 Porters committed with Chip Salzenberg Dec 23, 1996
  3. obstruct pod2man doc tweaks

    p5p-msgid: <3923.851106237@eeyore.ibcinc.com>
    Roderick Schertler committed with Chip Salzenberg Dec 20, 1996
  4. Perlguts, version 26

    private-msgid: <199612201943.AA048111018@hpcc123.corp.hp.com>
    Jeff Okamoto committed with Chip Salzenberg Dec 20, 1996
  5. perllocale.pod -- second draft

    My notes on this are in a second mailing in this thread.  Please read them
    before you respond to this mail.  Thanks.
    
    [editor's note: he is probably referring to his first draft,
    <v03007809aedafbad79e9@[194.51.248.70]>, notes below]
    
    Subject: Draft perllocale.pod  -- proposed as replacement for perli18n.pod
    
    Herewith a draft of perllocale.pod.  It's based on Chip's perl18n.pod,
    but beefed up considerably, and rearranged a bit.
    
    I'd like to see the name changed, as "i18n" sounds too buzzy to me,
    and there was a discussion on p5p some months back which I thought
    ended up with the same view.  (Chapter and verse can be supplied if
    you want.)  But if consensus (or expedience) is now for perli18n, I
    shan't shed more than a few tears.
    
    If consensus is that this pod is close enought to being ready for
    prime time for inclusion in 5.004, I'll undertake to munge it in
    response to comments, and to fix up all the necessary
    cross-referencing in other pods (there's quite a lot of this) by the
    end of this week.
    
    If consensus is that this pod can't be made good enough soon enough
    (or may never be good enough), I'll adopt a more relaxed timetable (or
    none at all): I wouldn't want to hold things up.
    
    May I ask as many people as possible to scrutinize the spelling,
    English, mark up and so.  And to think about the points in the
    editor's notes.  And PLEASE to try the examples on your own hosts.
    Thanks.
    
    p5p-msgid: <v03007800aee1923e30a2@[194.51.248.68]>
    Dominic Dunlop committed with Chip Salzenberg Dec 21, 1996
  6. Better support for =for

    private-msgid: <Pine.LNX.3.93.961220163747.298T-100000@kjahds.com>
    Kenneth Albanowski committed with Chip Salzenberg Dec 20, 1996
  7. dumb bug in User::pwent.pm

    You need to apply s/getpwgid/getpwuid/g on that file. Sorry 'bout that.
    Cut and paste strikes again.
    
    --tom
    
    p5p-msgid: <199612201145.EAA27860@mox.perl.com>
    Tom Christiansen committed with Chip Salzenberg Dec 20, 1996
  8. Refresh ExtUtils::Manifest to version 1.28

    Andreas Koenig committed with Chip Salzenberg Dec 20, 1996
  9. Refresh CPAN module to 1.08

    Chip Salzenberg committed Dec 22, 1996
  10. Use "proto" instead of "_" in sdbm.h

    Chip Salzenberg committed Dec 23, 1996
  11. [dummy merge]

    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
    Chip Salzenberg committed Dec 23, 1996
  12. Fixes for Interactive Unix

    (this is the same change as commit 1ab5d05, but as applied)
    Chip Salzenberg committed Dec 23, 1996
  13. Fixes for Interactive Unix

    This is a bug report for perl from win@in.rhein-main.de,
    generated with the help of perlbug 1.14 running under perl 5.00313.
    
    With the following patches, perl compiles and passes all tests on
    Interactiv Unix Version 4.1. I tested with cc and with gcc.
    
    p5p-msgid: <m0vbeNO-00003WC@incom.rhein-main.de>
    Winfried Koenig committed with Chip Salzenberg Dec 22, 1996
  14. Configure on OS/2

    Subject: Re: OFFSETOF
    
    Chip Salzenberg writes:
    > 
    > According to Ilya Zakharevich:
    > > OFFSETOF conflicts with system headers under OS/2. Can the name be
    > > changed slightly?
    > 
    > Okay; or, would it be okay to "#undef OFFSETOF" and redefine it?
    
    In this case the extensions would not be able to access "old-format"
    16-bit functions. Not that I know any extension which tries to do
    this... 
    
    What is bad with PERL_OFFSET?
    
    p5p-msgid: <199612202353.SAA05539@monk.mps.ohio-state.edu>
    private-msgid: <199612202325.SAA05505@monk.mps.ohio-state.edu>
    Ilya Zakharevich committed with Chip Salzenberg Dec 20, 1996
  15. Support shared libperl on SunOS

    Ulrich Pfeifer committed with Chip Salzenberg Dec 20, 1996
  16. Prevent warnings when STDCHAR is unsigned

    Chip Salzenberg committed Dec 21, 1996
  17. malloc.c patch

    I sent this before, but it slipped through the cracks:
    	currently TWO_POT_OPTIMIZE and DEBUGGING together
    lead to "assertion botched" panics for allocations between 64K and
    68K (this is not motorola-related ;-). 
    
    Enjoy,
    
    p5p-msgid: <199612220748.CAA07164@monk.mps.ohio-state.edu>
    Ilya Zakharevich committed with Chip Salzenberg Dec 22, 1996
  18. patch for regex bug: (x|x){n}

    On Mon, 16 Dec 1996 18:04:08 EST, I wrote:
    >
    >7.  Symmetry confounds quantified regex alternation
    >
    >A well-researched bug report sent in by Charles Bailey:
    >
    >     Message-Id: <01IA10O8ZIB600219C@hmivax.humgen.upenn.edu>,
    >     Subject: Regex bug: (x|x){n}
    >
    >Pity I didn't have time to take a closer look at that one.
    
    Here's a patch for the problem reported in the reference above.
    
    Simpler test cases:
    
      % perl -we '$_ = "atatttta"; print "|$1|$2|\n" if /((t|t){3})/;'
    
    says "|t||" instead of instead of "|ttt|t|"; and
    
      % perl -we '$_ = "atatttta"; print "|$1|$2|\n" if /((t|t){3,})/;'
    
    says "|t||" instead of instead of "|tttt|t|"; and
    
    p5p-msgid: <199612210259.VAA10170@aatma.engin.umich.edu>
    Gurusamy Sarathy committed with Chip Salzenberg Dec 21, 1996
  19. [shell changes from patch from perl5.003_13 to perl5.003_14]

    Change from running these commands:
    
     # get rid of old files
     rm -f lib/Net/Cmd.pm
     rm -f lib/Net/Domain.pm
     rm -f lib/Net/DummyInetd.pm
     rm -f lib/Net/FTP.pm
     rm -f lib/Net/NNTP.pm
     rm -f lib/Net/Netrc.pm
     rm -f lib/Net/POP3.pm
     rm -f lib/Net/SMTP.pm
     rm -f lib/Net/SNPP.pm
     rm -f lib/Net/Telnet.pm
     rm -f lib/Net/Time.pm
     
     # ready to patch
     exit 0
    Chip Salzenberg committed Dec 23, 1996
Commits on Dec 19, 1996
  1. [inseparable changes from patch from perl5.003_12 to perl5.003_13]

     DOCUMENTATION
    
    Subject: small doc tweaks for _12
    Date: Thu, 19 Dec 1996 11:05:57 -0500
    From: Roderick Schertler <roderick@gate.net>
    Files: lib/UNIVERSAL.pm pod/perldiag.pod pod/perltie.pod
    Msg-ID: <1826.851011557@eeyore.ibcinc.com>
    
        (applied based on p5p patch as commit 3314ffc)
    
     PORTABILITY
    
    Subject: Add missing backslash in Configure
    From: Chip Salzenberg <chip@atlantic.net>
    Files: Configure
    
     UTILITIES, LIBRARY, AND EXTENSIONS
    
    Subject: Include libnet-1.01 instead of old Net::FTP
    From: Graham Barr <Graham.Barr@tiuk.ti.com>
    Files: MANIFEST lib/Net/Cmd.pm lib/Net/Domain.pm lib/Net/DummyInetd.pm lib/Net/FTP.pm lib/Net/NNTP.pm lib/Net/Netrc.pm lib/Net/POP3.pm lib/Net/SMTP.pm lib/Net/SNPP.pm lib/Net/Socket.pm lib/Net/Telnet.pm lib/Net/Time.pm pod/perlmod.pod
    
    Subject: Use binmode when doing binary FTP
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: lib/Net/FTP.pm
    
    Subject: Re: Open3.pm tries to close unopened file handle
    Date: 18 Dec 1996 22:19:54 -0500
    From: Roderick Schertler <roderick@gate.net>
    Files: MANIFEST lib/IPC/Open2.pm lib/IPC/Open3.pm lib/open2.pl lib/open3.pl pod/perldiag.pod pod/perlfunc.pod t/lib/open2.t t/lib/open3.t
    Msg-ID: <pzloavmd9h.fsf@eeyore.ibcinc.com>
    
        (applied based on p5p patch as commit 982b4e8)
    
    Subject: Long-standing problem in Socket module
    Date: Wed, 18 Dec 1996 23:18:14 -0500
    From: Spider Boardman <spider@orb.nashua.nh.us>
    Files: Configure Porting/Glossary config_H config_h.SH ext/Socket/Socket.pm ext/Socket/Socket.xs
    Msg-ID: <199612190418.XAA07291@Orb.Nashua.NH.US>
    
        (applied based on p5p patch as commit 3e6a22d)
    
    Subject: flock() constants
    Date: Thu, 19 Dec 1996 01:37:17 -0500
    From: Roderick Schertler <roderick@gate.net>
    Files: ext/Fcntl/Fcntl.pm ext/Fcntl/Fcntl.xs pod/perlfunc.pod
    Msg-ID: <26669.850977437@eeyore.ibcinc.com>
    
        (applied based on p5p patch as commit 3dea0e1)
    Perl 5 Porters committed with Chip Salzenberg Dec 19, 1996
  2. small doc tweaks for _12

    p5p-msgid: <1826.851011557@eeyore.ibcinc.com>
    Roderick Schertler committed with Chip Salzenberg Dec 19, 1996