Permalink
Switch branches/tags
Commits on May 15, 1997
  1. [inseparable changes from match from perl-5.003_99a to perl5.004]

    Perl 5 Porters committed with Chip Salzenberg May 15, 1997
     BUILD PROCESS
    
    Subject: Don't use 'unset' in Configure
    From: Chip Salzenberg <chip@perl.com>
    Files: Configure
    
    Subject: Protect against having no such command as 'cc'
    Date: Mon, 12 May 1997 16:35:34 -0400 (EDT)
    From: Hans Mulder <hansm@icgned.nl>
    Files: Configure
    Msg-ID: 1997May12.163534.2006434@hmivax.humgen.upenn.edu
    
        (applied based on p5p patch as commit 3bf198a)
    
    Subject: minor wording enhancement for Configure
    Date: Sat, 10 May 1997 13:38:31 +0300 (EET DST)
    From: Jarkko Hietaniemi <Jarkko.Hietaniemi@cc.hut.fi>
    Files: Configure
    
        private-msgid: 199705101038.NAA00471@alpha.hut.fi
    
     CORE LANGUAGE CHANGES
    
    Subject: Make C<m//g> reset pos on failure; make C<m//gc> not reset
    From: Chip Salzenberg <chip@perl.com>
    Files: dump.c op.c op.h pod/perldelta.pod pod/perlfaq6.pod pod/perlop.pod pod/perlre.pod pp_ctl.c pp_hot.c regcomp.c t/op/pat.t toke.c
    
    Subject: SECURITY: Forbid exec() if $ENV{BASH_ENV} is tainted
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perldelta.pod pod/perlrun.pod pod/perlsec.pod t/op/taint.t taint.c
    
    Subject: Allow exec() if $ENV{TERM} is tainted but innocuous
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perldelta.pod pod/perlrun.pod pod/perlsec.pod t/op/taint.t taint.c
    
    Subject: Allow globbing when tainted under VMS (no external program)
    From: Chip Salzenberg <chip@perl.com>
    Files: pp_sys.c t/op/taint.t
    
     CORE PORTABILITY
    
    Subject: Win32 update (three patches)
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: README.win32 perl.c win32/Makefile win32/config.H win32/config_h.PL win32/config_sh.PL win32/makedef.pl win32/win32.c win32/win32.h win32/win32io.c win32/win32io.h win32/win32iop.h
    
    Subject: Don't require executable bit on perl -S if DOSISH
    Date: Fri, 09 May 1997 12:33:18 -0400
    From: Danny Sadinoff <sadinoff@olf.com>
    Files: perl.c
    Msg-ID: 337351CE.79B28DE3@olf.com
    
        (applied based on p5p patch as commit 7596f71)
    
     DOCUMENTATION
    
    Subject: Tweaks for perldelta
    Date: Sun, 11 May 97 01:46:00 +0200
    From: Unknown Contributor <hansm@euronet.nl>
    Files: pod/perldelta.pod
    Msg-ID: 199705102346.BAA17300@mail.euronet.nl
    
        (applied based on p5p patch as commit 3e10809)
    
    Subject: Mention perlfaq.pod and perlmodlib.pod in perldelta.pod
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perldelta.pod
    
    Subject: Fix example of use of lexicals with formats
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perldelta.pod
    
     OTHER CORE CHANGES
    
    Subject: In C<eval &func>, always call &func in scalar context
    From: Chip Salzenberg <chip@perl.com>
    Files: op.c
    
    Subject: Fix recursive substitution
    From: Chip Salzenberg <chip@perl.com>
    Files: cop.h global.sym pp_ctl.c proto.h scope.c
    
    Subject: Fix core dump from get*() functions returning no alias array
    From: Chip Salzenberg <chip@perl.com>
    Files: pp_sys.c
    
    Subject: Fix typo
    Date: Sat, 10 May 1997 17:28:35 -0500
    From: Mark K Trettin <mkt@lucent.com>
    Files: pp_sys.c
    
        private-msgid: 199705102228.RAA11163@gv18c.ih.lucent.com
  2. Tweaks for perldelta

    Unknown Contributor committed with Chip Salzenberg May 10, 1997
    Here are a few more doc fixes.
    
    The last one merely reformats a paragraph, so that a C<...> construct
    is no longer spread across a line boudary.  The perlpod page suggests
    this is allowed, but does not actually say so.  However, pod2html can't
    handle it and all other instaces have been fixed recently (which would
    suggest that it' not allowed).
    
    p5p-msgid: 199705102346.BAA17300@mail.euronet.nl
  3. Protect against having no such command as 'cc'

    Hans Mulder committed with Chip Salzenberg May 12, 1997
    ilya@math.ohio-state.edu (Ilya Zakharevich) wrote:
    
    >> At some stage Configure asks "Which memory models are supported?"
    >> In order to find the default to this question, Configure compiles
    >> and runs a little test program.  To compile this test program,
    >> Configure uses straigt "cc", not "$cc", presumably because it
    >> doesn't know $cc at that point (that's the next question).
    
    >This is very suspicious, since I do not have cc at home (OS/2), but
    >no failure of Configure happens.  Or did you imply that Configure just
    >ignores the failure, or runs it on some platforms only?
    
    It ignores the error.  On my unix box, I get a message
    
    	Configure: cc: not found
    
    You could suppress that message with this patch:
    
    p5p-msgid: 1997May12.163534.2006434@hmivax.humgen.upenn.edu
  4. More detailed IO::Socket documentation

    Tom Christiansen committed with Chip Salzenberg May 14, 1997
    private-msgid: 199705141456.IAA19061@jhereg.perl.com
  5. Don't require executable bit on perl -S if DOSISH

    Danny Sadinoff committed with Chip Salzenberg May 9, 1997
    update to previous bugreport regarding the -x filetest and running
    perl -S filename.
    
    I misstated the patch necessary for turning off the executability check
    for the -S option.  It should be:
    
    p5p-msgid: 337351CE.79B28DE3@olf.com
  6. [dummy merge]

    Chip Salzenberg committed May 15, 1997
    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
  7. Note that DATA filehandle is unavailable during BEGIN {}

    Chip Salzenberg committed May 15, 1997
    (this is the same change as commit 1d79a27, but as applied)
  8. Note that DATA filehandle is unavailable during BEGIN {}

    Neil Bowers committed with Chip Salzenberg May 12, 1997
    Subject: DOC PATCH: restriction on DATA filehandle?
    
    This is a very minor patch to add in a clarification on the use of DATA
    within a BEGIN block. Thanks to Chip for confirming this.
    
    p5p-msgid: 199705121227.NAA29718@tardis.cre.canon.co.uk
  9. [dummy merge]

    Chip Salzenberg committed May 15, 1997
    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
  10. Explain that destruction order is not defined

    Chip Salzenberg committed May 15, 1997
    (this is the same change as commit e195ec0, but as applied)
  11. Explain that destruction order is not defined

    Gurusamy Sarathy committed with Chip Salzenberg May 15, 1997
    Subject: Re: perl debugger problem with object destructors? 
    
    On Wed, 14 May 1997 15:12:38 MDT, Tom Christiansen wrote:
    >
    >Actually, deterministic destruction/finalization is oft-deemed
    >a feature.   If you could check what perltoot has to say about destructors, 
    >gsar, and suggest an appropriate patch if necessary, I'd appreciate it.
    
    I'd say something like this:
    
    p5p-msgid: 199705150600.CAA13550@aatma.engin.umich.edu
  12. h2xs and @EXPORT_OK

    Jeff Okamoto committed with Chip Salzenberg May 9, 1997
    Currently, h2xs emits the line:
    
    	use vars qw($VERSION @ISA @EXPORT);
    
    Should @EXPORT_OK also be added to this list?
    
    p5p-msgid: 199705092348.AA057881699@hpcc123.corp.hp.com
  13. Fix sleep test: sleep(N) is defined to allow sleeping N-1

    Chuck D. Phillips committed with Chip Salzenberg May 15, 1997
    > But I found minor problem here. In some situation, BSD/OS sleep does
    > not sleep two seconds (at least in my configuration) and it says
    > op/sleep.t failure. If I ran the test suite again, it passed and show
    > me 100% OK result.
    
    I just read over t/op/sleep.t.  Frankly, I'm suprised I haven't seen
    it fail on HPUX also.  On HPUX, SIGALRM is delivered only _on_ the
    second.  Thus, sleep(1) waits until the next even second, sleep(2)
    waits until the next even second after that, etc.
    
    The side effect of this is that sleep(1) causes a delay of 0-1 second,
    sleep(2) causes a delay of 1-2 seconds, etc.  This *should* cause
    intermittant failure of the sleep test as currently written.  I don't
    have access to a BSD system, but something similar could be happening
    there.
    
    You could argue that this is a bug in the OS sleep().  However, it
    means that a loop like...
    
    	while (foo()) {
    		bar();
    		sleep();
    	}
    
    ...will cycle once-per-second (as long as bar() executes in < 1
    second) instead of cycling once-per-(second + bar()-delay).  This
    could be construed as a feature.
    
    p5p-msgid: 199705151735.KAA01143@palrel1.hp.com
  14. Make rand.t vanishingly unlikely to give false failure

    Tom Phoenix committed with Chip Salzenberg May 11, 1997
    On Wed, 7 May 1997, Larry Schwimmer wrote:
    
    > Subject: FYI: perl5.00399/t/op/rand.t test 7
    
    > 	I know this sounds perverse, but it did happen to fail test 7
    > of op/rand.t the very first time I ran make test on a Solaris 2.5.1
    > machine, and the test does say to mail the developers if that
    > happened.  (-: 
    
    And thank you for doing so. Ya done good. :-)
    
    When I wrote that test, I had thought (erroneously, as it turns out) that
    that test would never fail, or virtually never. Actually, on Solaris, it
    can report a false positive about one time in two-to-the-15th tests. 
    
    That test attempts to ensure that srand's default seed isn't the same
    twice in a row, which it shouldn't be. But was your test result falsely
    positive, or was it a bug for real? We have no way to know.
    
    > It worked fine the next 100 times I ran it and on the other seven
    > builds, 
    
    Okay, if you had success the next 100 times, it's _probably_ a fluke. 
    There's no way to know for sure, though, short of finding a bug in the
    srand code. :-(
    
    I'm supplying a patch which makes the test more reliable without reducing
    the sensitivity to bugs. This should effectively eliminate this problem,
    except for unavoidable coincidences. 
    
    > but it might be nice to run the test file multiple times to
    > reduce the likelihood of a false failure while still catching errant
    > builds.  
    
    Actually, that wouldn't do the trick. If we ran it five times, and one of
    those attempts gets the same srand seed twice, that's _still_
    unacceptable. The program has to notify a human, since recompiling perl,
    checking the source, and asking for advice are things that humans still do
    better than machines. But this patch will make the machine a little better
    at knowing when to cry "Wolf!" :-)
    
    Thanks!
    
    p5p-msgid: Pine.GSO.3.96.970510190846.23340K-100000@kelly.teleport.com
  15. Fix core dump on IO::Seekable::setpos($fh, undef)

    Chip Salzenberg committed with Chip Salzenberg Feb 4, 1997
  16. In IO::File::open, prepend './' less often (for Win32 et al)

    Chip Salzenberg committed with Chip Salzenberg Apr 9, 1997
  17. Refresh CGI.pm to 2.36

    Lincoln Stein committed with Chip Salzenberg Apr 28, 1997
  18. [dummy merge]

    Chip Salzenberg committed May 15, 1997
    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
  19. Make read with <> from a TTY notice EOF

    Chip Salzenberg committed May 15, 1997
    (this is the same change as commit 451e086, but as applied)
  20. Make read with <> from a TTY notice EOF

    Jonathan I. Kamens committed with Chip Salzenberg May 12, 1997
    The patch I just sent in wasn't quite correct.  I should have tested
    it more before sending it :-).  Here's a correct patch.
    
    p5p-msgid: 199705121147.HAA03845@jik.saturn.net
  21. Fix recursive substitution [test]

    Tim Bunce committed with Chip Salzenberg Oct 18, 1994
  22. VMS update, including socket support (four patches)

    Jonathan Hudson committed with Chip Salzenberg May 1, 1997
    Signed-off-by: Peter Prymmer <pvhp@forte.com>
    Signed-off-by: Dan Sugalski <sugalsd@lbcc.cc.or.us>
  23. Fix default HP-UX installation path

    Jeff Okamoto committed with Chip Salzenberg May 13, 1997
    private-msgid: 199705132228.AA227042483@hpcc123.corp.hp.com
  24. Make Irix hints adapt when n32 libm.so is missing

    Chip Salzenberg committed with Chip Salzenberg May 8, 1997
Commits on May 7, 1997
  1. [inseparable changes from match from perl-5.003_99 to perl-5.003_99a]

    Perl 5 Porters committed with Chip Salzenberg May 7, 1997
     BUILD PROCESS
    
    Subject: AFS patches
    From: Chip Salzenberg <chip@perl.com>
    Files: Configure installperl
    
     CORE LANGUAGE CHANGES
    
    Subject: SECURITY: Forbid glob() when tainting (-T or setuid)
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perlrun.pod pod/perlsec.pod pp_sys.c
    
    Subject: SECURITY: Forbid exec() if $ENV{TERM} or $ENV{ENV} is tainted
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perlrun.pod pod/perlsec.pod t/op/taint.t taint.c
    
     CORE PORTABILITY
    
    Subject: (NeXT|Open)Step update
    Date: Wed,  7 May 97 17:47:02 -0500
    From: Gerd Knops <gerti@BITart.com>
    Files: Configure MANIFEST config_h.SH hints/next_3.sh hints/next_4.sh
    
        private-msgid: 9705072247.AA18882@BITart.com
    
    Subject: Win32 update (consolidated patch plus three followups)
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: EXTERN.h README.win32 lib/Sys/Hostname.pm pod/perldelta.pod win32/config.H win32/config.w32 win32/config_sh.PL win32/perllib.c win32/win32.c win32/win32.h win32/include/sys/socket.h
    
     DOCUMENTATION
    
    Subject: Updates to perldelta
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perldelta.pod
    
    Subject: Document 'Possible attempt to separate words with commas'
    Date: 06 May 1997 23:27:55 +0200
    From: Gisle Aas <gisle@aas.no>
    Files: pod/perlop.pod
    Msg-ID: hyb9snvdw.fsf@bergen.sn.no
    
        (applied based on p5p patch as commit 18270fd)
    
    Subject: Document that C<m?x?> is just like C<?x?>
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/perlop.pod
    
     OTHER CORE CHANGES
    
    Subject: Fix for redefined sort subs nastiness
    Date: Thu, 08 May 1997 20:04:18 -0400
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: op.c pod/perldelta.pod pod/perldiag.pod sv.c t/op/sort.t
    Msg-ID: 199705090004.UAA15032@aatma.engin.umich.edu
    
        (applied based on p5p patch as commit e9e0699)
  2. Document 'Possible attempt to separate words with commas'

    gisle committed with Chip Salzenberg May 6, 1997
    Perhaps we should just document it:
    
    p5p-msgid: hyb9snvdw.fsf@bergen.sn.no
  3. OS/2 doc patch for _99

    Ilya Zakharevich committed with Chip Salzenberg May 8, 1997
    It adds some info people judged hard-to-find...
    
    Enjoy,
    
    p5p-msgid: 199705080046.UAA23466@monk.mps.ohio-state.edu
  4. Fix for redefined sort subs nastiness

    Gurusamy Sarathy committed with Chip Salzenberg May 9, 1997
    >sub sortfunc { &once }
    >sub once {
    >    eval q{
    >	print "Eval from ", join(':', caller(0)), "\n";
    >	sub rest {
    >	    print "REST: $a <=> $b\n";
    >	    $a <=> $b
    >	}
    >    };
    >    *sortfunc = *rest;
    >    &sortfunc;
    >}
    >@x = sort sortfunc 10, 5, 2.5, 1.25;
    
    That misbehaves due to the redefinition of the sort sub
    while the sort is active.  That's a big no-no, because
    the sortcop was pointing to the CvSTART of the original,
    and it will now point to freed memory (if the sub really
    got undefined).
    
    Here's a tested patch that does nothing but die under
    that circumstance.
    
    p5p-msgid: 199705090004.UAA15032@aatma.engin.umich.edu
  5. [dummy merge]

    Chip Salzenberg committed May 7, 1997
    This merge exists so that the p5p version of the patch and the applied
    version are both in the history
  6. Mention the Regular Expressions book

    Chip Salzenberg committed May 7, 1997
    (this is the same change as commit 7dd1785, but as applied)
  7. Mention the Regular Expressions book

    Stephen Potter committed with Chip Salzenberg May 7, 1997
    | Could somebody please add Jfrield's Mastering Regeular Expressions to
    | perlbook.pod, and also to a SEE ALSO in perlre.pod?
    
    p5p-msgid: 199705071548.KAA05924@psa.pencom.com
    private-msgid: 199705071737.MAA18799@psa.pencom.com
  8. Refresh description of sprintf()

    Chip Salzenberg committed with Chip Salzenberg Apr 29, 1997
  9. Debugger docs patch

    Ilya Zakharevich committed with Chip Salzenberg May 8, 1997
    New bit 16 of the `frame' option and the new `ornaments' option is
    documented.
    
    Enjoy,
    
    p5p-msgid: 199705080107.VAA24317@monk.mps.ohio-state.edu