Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: perl-5.003_09
Commits on Nov 26, 1996
  1. [inseparable changes from patch from perl5.003_08 to perl5.003_09]

    Perl 5 Porters authored Chip Salzenberg committed
     CORE LANGUAGE CHANGES
    
    Subject: Lexical locales
    From: Chip Salzenberg <chip@atlantic.net>
    Files: too many to list
    
        make effectiveness of locales depend on C<use locale>
    
    Subject: Lexical scoping cleanup
    From: Chip Salzenberg <chip@atlantic.net>
    Files: many... but mostly perly.y and toke.c
    
        tighten scoping of lexical variables, somewhat on the
        new constructs and somewhat on the old
    
    Subject: memory corruption / security bug in sysread,syswrite + patch
    Date: Mon, 25 Nov 1996 21:46:31 +0200 (EET)
    From: Jarkko Hietaniemi <jhi@cc.hut.fi>
    Files: MANIFEST pod/perldiag.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t
    Msg-ID: <199611251946.VAA30459@alpha.hut.fi>
    
        (applied based on p5p patch as commit d7090df)
    
     DOCUMENTATION
    
    Subject: perldiag documentation patch.
    Date: Wed, 20 Nov 96 16:07:28 GMT
    From: Paul Marquess <pmarquess@bfsec.bt.co.uk>
    Files: pod/perldiag.pod
    
        private-msgid: <9611201607.AA12729@claudius.bfsec.bt.co.uk>
    
    Subject: a missing perldiag entry
    Date: Thu, 21 Nov 1996 15:24:02 -0500
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: pod/perldiag.pod
    
        private-msgid: <199611212024.PAA15758@aatma.engin.umich.edu>
    
    Subject: perlfunc patch
    Date: Wed, 20 Nov 96 14:04:08 GMT
    From: Paul Marquess <pmarquess@bfsec.bt.co.uk>
    Files: pod/perlfunc.pod
    
        Following on from the patch to make uc, lc etc default to $_ (as per
        Camel II), here is a followup patch to perlfunc that documents the
        change. I think I have documented all the other cases where $_
        defaulting works as well.
        
        p5p-msgid: <9611201404.AA12477@claudius.bfsec.bt.co.uk>
    
     OTHER CORE CHANGES
    
    Subject: Properly prototype safe{malloc,calloc,realloc,free}.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: proto.h
    
    Subject: UnixWare 2.1 fix for perl5.003_08 - cope with fp->_cnt < -1, allow debugging
    Date: Wed, 20 Nov 1996 14:27:06 +0100
    From: John Hughes <john@AtlanTech.COM>
    Files: sv.c
    
        UnixWare 2.1 has no fp->_base so most of the debugging stuff in sv_gets just
        core dumps.
        
        Also, for some unknown reason fp->_cnt is sometimes < -1, screwing up the
        initial SvGROW in svgets.
        
        Appart from that its io is std.
        
        p5p-msgid: <01BBD6EE.E915C860@malvinas.AtlanTech.COM>
    
    Subject: die -> croak
    Date: Thu, 21 Nov 1996 16:11:21 -0500
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: pp_ctl.c
    
        private-msgid: <199611212111.QAA17070@aatma.engin.umich.edu>
    
    Subject: Cleanup of {,un}pack('w').
    From: Chip Salzenberg <chip@atlantic.net>
    Files: pp.c
    
    Subject: Cleanups from Ilya.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: gv.c malloc.c pod/perlguts.pod pp_ctl.c
    
    Subject: Fix for unpack('w') on 64-bit systems.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: pp.c
    
    Subject: Re: LC_NUMERIC support is ready + performance
    Date: Mon, 25 Nov 1996 22:08:27 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: sv.c
    
        Chip Salzenberg writes:
        > 
        > Having thought about the use of our own gcvt() and atof(), I've run
        > away in horror.  It's just too hairy.
        > 
        > So I've implemented the only viable alternative I know of: Toggling
        > LC_NUMERIC to/from "C" as needed.
        > 
        > Patch follows.
        > 
        > I think _09 is *very* close.
        
        Since _09 is going to be alpha anyway, I reiterate my question:
        	Is there any reason to not include my hash/array performance
        		patches in _09?
        
        Btw, here is the next performance patch. It makes PADTMP values
        stealable too. I do not do by setting TEMP flags on them, since it
        would be a very distributed patch, and it would break some places
        which check for TEMP for some other reasons (yes, I checked ;-).
        
        This patch decreases *twice* the memory usage of
        	perl -e '$a = "a" x 1e6; 1'
        
        Enjoy,
        
        p5p-msgid: <199611260308.WAA02677@monk.mps.ohio-state.edu>
    
    Subject: Hash key sharing improvements from Ilya.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: hv.c hv.h proto.h
    
    Subject: Mortal stack pre-allocation from Ilya.
    From: Chip Salzenberg <chip@atlantic.net>
    Files: pp.c pp.h pp_ctl.c pp_hot.c pp_sys.c
    
     PORTABILITY
    
    Subject: VMS patches post-5.003_08
    Date: Fri, 22 Nov 1996 18:16:31 -0500 (EST)
    From: Charles Bailey <bailey@hmivax.humgen.upenn.edu>
    Files: lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MM_VMS.pm lib/ExtUtils/MakeMaker.pm lib/File/Path.pm mg.c pp_ctl.c utils/h2xs.PL vms/config.vms vms/descrip.mms vms/gen_shrfls.pl vms/genconfig.pl vms/perlvms.pod vms/vms.c vms/vmsish.h
    
        Here're diffs to bring a base 5.003_08 up to the current VMS working
        sources.  Nearly all of the changes are VMS-specific, and comprise
        miscellaneous bugfixes accumulated since 5.003_07, rather than any
        particular problem with 5.003_08.  I'm posting them here since some
        of the patches change core files, and I'd like to insure that I
        haven't accidentally created problems for anyone else.
        
        With these and a couple of of the small patches already send to p5p,
        5.003_08 builds clean and passes all tests under VMS.
        
        Thanks, Chip, for all the work.
        
        p5p-msgid: <1996Nov22.181631.1603238@hmivax.humgen.upenn.edu>
  2. memory corruption / security bug in sysread,syswrite + patch

    Jarkko Hietaniemi authored Chip Salzenberg committed
    Using a negative offset in sysread() gives interesting results.
    I get either
    
    	assertion botched: OV_MAGIC(op, bucket) == MAGIC
    	zsh: 22828 abort      perl xp1 < /etc/passwd
    
    if the offset is 'mild' or
    
    	panic: realloc at xp2 line 1.
    
    if the offset is 'wild'.
    
    Using a negative offset in syswrite() opens up interesting vistas,
    like, say, your stack :-)
    
    A patch follows. 'Reasonably' small negative values are accepted,
    they count from the end of the data. One possible point of debate:
    should that be +1? That is, if the offset is negative, should that
    mean 1) at the point 2) after the point? For sysread(), "after" might
    sometimes be a better choice?
    
    p5p-msgid: <199611231705.TAA02671@alpha.hut.fi>
    private-msgid: <199611251946.VAA30459@alpha.hut.fi>
  3. Fix type mismatches in x2p's safe{alloc,realloc,free}.

    Chip Salzenberg authored
  4. Update locale documentation.

    Chip Salzenberg authored
  5. Patch for pod/perlpod.pod

    Joseph S. Myers authored Chip Salzenberg committed
    This patch documents the E<lt> and E<gt> pod escapes, and adds a section
    on common pod pitfalls (in particular the text that translators add around
    L<> links, since these seem very commonly to be used incorrectly).
    
    p5p-msgid: <Pine.LNX.3.95.961120235016.6666A-100000@hammer.chu.cam.ac.uk>
    private-msgid: <Pine.LNX.3.95.961120235016.6666A-100000@hammer.chu.cam.ac.uk
  6. [dummy merge]

    Chip Salzenberg authored
    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
  7. Re: blib

    Chip Salzenberg authored
    (this is the same change as commit be9cdb8, but as applied)
  8. blib

    Nick Ing-Simmons authored Chip Salzenberg committed
    Chip Salzenberg <chip@atlantic.net> writes:
    >According to Karl Glazebrook:
    >> How about putting blib.pm in 5.004? It's a darn useful utility and only
    >> consumes a few bytes.
    >
    >Um, where/what is it?
    
    It allows 
    
    perl -Mblib script
    
    to be used to test script on pre-installed extension when things are still
    in MakeMaker's 'blib' area.
    Here is my current version. It now puts absolute paths in @INC to speed 
    Auto/Dyna loading and to allow script to chdir()
    
    p5p-msgid: <199611230917.JAA00471@ni-s.u-net.com>
  9. Socket test improvement from Ilya.

    Chip Salzenberg authored
  10. minimal timelocal.pl for _09

    Achim Bohnet authored Chip Salzenberg committed
    private-msgid: <9611191854.AA19586@o09.rosat.mpe-garching.mpg.de>
  11. Fix bitwise op test; clean up a couple of others

    Chip Salzenberg authored
  12. Update documentation and warning in I18N::Collate.

    Chip Salzenberg authored
  13. Elide spurious space in db-hash.t

    Chip Salzenberg authored
  14. Another HP "patch" that didn't make it (new hints file)

    Jeff Okamoto authored Chip Salzenberg committed
    p5p-msgid: <199611252116.AA245766577@hpcc123.corp.hp.com>
  15. HP patches didn't make it into _08

    Jeff Okamoto authored Chip Salzenberg committed
    There are two fixes for HP-UX that didn't make it into the _08 release.  I'd
    like to ask that they be added into the _09 release.  The first is the patch
    to dl_hpux.xs that adds some debugging options.  The second was a new hints
    file.  Here's the patch, and I'll send the hints file under separate cover.
    
    p5p-msgid: <199611252114.AA245686448@hpcc123.corp.hp.com>
    private-msgid: <199611260215.AA100414526@hpcc123.corp.hp.com>
  16. 5.003_08: OS/2-specific bugs/enhancements

    Ilya Zakharevich authored Chip Salzenberg committed
    This patch modifies the following files:
    	hints/os2.sh 
    		New flags added.
    	os2/Changes
    		Documentation...
    	os2/Makefile.SHs
    		perl_init_i18nl10n is now in main list of symbols.
    	os2/OS2/PrfDB/PrfDB.pm
    		@ISA corrected.
    	os2/os2.c
    		reliable signals used, popen not used any more.
    		May work under OS/2 2.1 again.
    	README.os2
    		misprints and minor additions.
    
    p5p-msgid: <199611241147.GAA00490@monk.mps.ohio-state.edu>
  17. Add new symbols to old_global.sym, too.

    Chip Salzenberg authored
  18. Patch for embed.pl when !EMBED && !MULTIPLICITY

    Chip Salzenberg authored
  19. "static" call to UNIVERSAL::can

    Nick Ing-Simmons authored Chip Salzenberg committed
    Is there some reason why 'can' does not allow a class name,
    but (silently) insists on an instance?
    
    I wanted to do this : 
    
    sub Construct
    {
     my $class = (caller(0))[0];
    
     if ($class->can('Something'))
      {
       ...
      }
     else
      {
       ...
      }
    }
    
    can just returns undef in this case, even if class has method in
    question.
    
    Anyone object to a patch?
    
    p5p-msgid: <199611211407.OAA14645@pluto>
    private-msgid: <199611211547.PAA15878@pluto>
  20. Configure fix for handling DynaLoader

    Chip Salzenberg authored
  21. [shell changes from patch from perl5.003_08 to perl5.003_09]

    Chip Salzenberg authored
    Change from running these commands:
    
     # We'll create a new test, but patch won't automatically make it
     # executable.
     touch t/op/sysio.t
     chmod +x t/op/sysio.t
     exit 0
Commits on Nov 19, 1996
  1. [inseparable changes from patch from perl5.003_07 to perl5.003_08]

    Perl 5 Porters authored Chip Salzenberg committed
     CORE LANGUAGE CHANGES
    
    Subject: Bitwise op sign rationalization
    From: Chip Salzenberg <chip@atlantic.net>
    Files: op.c opcode.pl pod/perlop.pod pod/perltoc.pod pp.c pp.h pp_hot.c proto.h sv.c t/op/bop.t
    
        Make bitwise ops result in unsigned values, unless C<use
        integer> is in effect.  Includes initial support for UVs.
    
    Subject: Defined scoping for C<my> in control structures
    From: Chip Salzenberg <chip@atlantic.net>
    Files: op.c perly.c perly.c.diff perly.h perly.y proto.h toke.c
    
        Finally defines semantics of "my" in control expressions,
        like the condition of "if" and "while".  In all cases, scope
        of a "my" var extends to the end of the entire control
        structure.  Also adds new construct "for my", which
        automatically declares the control variable "my" and limits
        its scope to the loop.
    
    Subject: Fix ++/-- after int conversion (e.g. 'printf "%d"')
    From: Chip Salzenberg <chip@atlantic.net>
    Files: pp.c pp_hot.c sv.c
    
        This patch makes Perl correctly ignore SvIVX() if either
        NOK or POK is true, since SvIVX() may be a truncated or
        overflowed version of the real value.
    
    Subject: Make code match Camel II re: functions that use $_
    From: Paul Marquess <pmarquess@bfsec.bt.co.uk>
    Files: opcode.pl
    
    Subject: Provide scalar context on left side of "->"
    From: Chip Salzenberg <chip@atlantic.net>
    Files: perly.c perly.y
    
    Subject: Quote bearword package/handle FOO in "funcname FOO => 'bar'"
    From: Chip Salzenberg <chip@atlantic.net>
    Files: toke.c
    
     OTHER CORE CHANGES
    
    Subject: Warn on overflow of octal and hex integers
    From: Chip Salzenberg <chip@atlantic.net>
    Files: proto.h toke.c util.c
    
    Subject: If -w active, warn for commas and hashes ('#') in qw()
    From: Chip Salzenberg <chip@atlantic.net>
    Files: toke.c
    
    Subject: Fixes for pack('w')
    From: Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>
    Files: pp.c t/op/pack.t
    
    Subject: More complete output from sv_dump()
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: sv.c
    
    Subject: Major '..' and debugger patches
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: lib/perl5db.pl op.c pp_ctl.c scope.c scope.h
    
    Subject: Fix for formline()
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: global.sym mg.c perl.h pod/perldiag.pod pp_ctl.c proto.h sv.c t/op/write.t
    
    Subject: Fix stack botch in untie and binmode
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: pp_sys.c
    
    Subject: Complete EMBED, including symbols from interp.sym
    From: Chip Salzenberg <chip@atlantic.net>
    Files: MANIFEST embed.pl ext/DynaLoader/dlutils.c ext/SDBM_File/sdbm/sdbm.h global.sym handy.h malloc.c perl.h pp_sys.c proto.h regexec.c toke.c util.c x2p/Makefile.SH x2p/a2p.h x2p/handy.h x2p/util.h
    
        New define EMBEDMYMALLOC makes embedding total by
        avoiding "Mymalloc" etc.
    
    Subject: Support old embedding for people who want it
    From: Chip Salzenberg <chip@atlantic.net>
    Files: MANIFEST Makefile.SH old_embed.pl old_global.sym
    
     PORTABILITY
    
    Subject: Miscellaneous VMS fixes
    From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
    Files: lib/ExtUtils/Liblist.pm lib/ExtUtils/MM_VMS.pm lib/Math/Complex.pm lib/Time/Local.pm lib/timelocal.pl perl.h perl_exp.SH proto.h t/TEST t/io/read.t t/lib/findbin.t t/lib/getopt.t util.c utils/h2xs.PL vms/Makefile vms/config.vms vms/descrip.mms vms/ext/Stdio/Stdio.pm vms/ext/Stdio/Stdio.xs vms/perlvms.pod vms/test.com vms/vms.c
    
    Subject: DJGPP patches (MS-DOS)
    From: "Douglas E. Wegscheid" <wegscd@whirlpool.com>
    Files: doio.c dosish.h ext/SDBM_File/sdbm/sdbm.c handy.h lib/AutoSplit.pm lib/Cwd.pm lib/File/Find.pm malloc.c perl.c perl.h pp_sys.c proto.h sv.c util.c
    
    Subject: Patch to make Perl work under AmigaOS
    From: "Norbert Pueschel" <pueschel@imsdd.meb.uni-bonn.de>
    Files: MANIFEST hints/amigaos.sh installman lib/File/Basename.pm lib/File/Find.pm pod/pod2man.PL pp_sys.c util.c
  2. Fix a2p translation of '{print "a" "b" "c"}'

    Chip Salzenberg authored
  3. Re: strtod / strtol patch for POSIX module

    David Hammen authored Chip Salzenberg committed
  4. Kludge for bareword handles

    Chip Salzenberg authored
    Add 'require IO::Handle' at beginning of FileHandle.pm
  5. Getopts::Std patch for hash support

    Stephen Zander authored Chip Salzenberg committed
  6. DB_File 1.05

    Paul Marquess authored Chip Salzenberg committed
  7. Plan 9 update

    Luther Huffman authored Chip Salzenberg committed
  8. Make C<no FOO> fail if C<unimport FOO> fails

    Tim Bunce authored Chip Salzenberg committed
  9. [shell changes from patch from perl5.003_07 to perl5.003_08]

    Chip Salzenberg authored
    Change from running these commands:
    
     # We'll create a new script, but patch won't automatically make it
     # executable.  Also, remove an obsolete file.
     touch old_embed.pl
     chmod +x old_embed.pl
     rm -f x2p/handy.h
     exit 0
Commits on Oct 10, 1996
  1. perl 5.003_07: [patch introduction and re-organisation]

    Andy Dougherty authored
    # This is my patch perl5.003_07.pat to perl5.003_06
    # The full description is below.
    # Please execute the following commands before applying this patch.
    # (You can feed this patch to 'sh' to do so.)
    #  Andy Dougherty               <doughera@lafcol.lafayette.edu>
    
    # We'll create a new test, but patch won't automatically make it
    # executable.
    touch t/lib/io_taint.t
    chmod +x t/lib/io_taint.t
    
    exit 0
    
    This is patch perl5.003_07.pat to perl version 5.003_06.
    This takes you from 5.003_06 to 5.003_07.
    
    To apply this patch, run the above commands,
    cd to your perl source directory and then type
    
            patch -p1 -N < perl5.003_07.pat
    
    The changes are described after each /^Index:/ line below.  This is
    designed so you can examine each change with a command such as
    
            csplit -k perl5.003_07.pat '/^Index:/' '{99}'
    
    Patch and enjoy,
    
        Andy Dougherty              doughera@lafcol.lafayette.edu
        Dept. of Physics
        Lafayette College, Easton PA 18042
Commits on Oct 9, 1996
  1. Re: sh Configure?

    Norton Allen authored Andy Dougherty committed
    Extract x2p/Makefile.SH and x2p/cflags.SH correctly down
    in the x2p directory, even if $0 isn't set to the full
    pathname of the file being extracted.
  2. Re: sh Configure?

    Norton Allen authored Andy Dougherty committed
    Extract x2p/Makefile.SH and x2p/cflags.SH correctly down
    in the x2p directory, even if $0 isn't set to the full
    pathname of the file being extracted.
Something went wrong with that request. Please try again.