Permalink
Switch branches/tags
Commits on Sep 11, 1996
  1. perl 5.003_05: [patch introduction and re-organisation]

    # This is my patch perl5.003_05.pat to perl5.003_04
    # 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/io/read.t
    chmod +x t/io/read.t
    
    exit 0
    
    
    This is patch perl5.003_05.pat to perl version 5.003_04.
    This takes you from 5.003_04 to 5.003_05.
    
    To apply this patch, run the above commands,
    cd to your perl source directory and then type
    
            patch -p1 -N < perl5.003_05.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_05.pat '/^Index:/' '{99}'
    
    Patch and enjoy,
    
        Andy Dougherty              doughera@lafcol.lafayette.edu
        Dept. of Physics
        Lafayette College, Easton PA 18042
    Andy Dougherty committed Sep 11, 1996
  2. perl 5.003_05: unixish.h

    Change comment style so that IBM's picky xlc compiler doesn't
    think we've mistakenly tried to nest comments.
    Perl 5 Porters committed with Andy Dougherty Sep 11, 1996
  3. perl 5.003_05: pod/perlfunc.pod

    Document correct C<use POSIX ":wait_h";> usage.
    
    Add notes about POSIX [gs]etpgrp.
    Perl 5 Porters committed with Andy Dougherty Sep 11, 1996
Commits on Sep 9, 1996
  1. perl 5.003_05: pp_sys.c

    Clear any buffer space exposed by by read().
    This is almost certainly a bug-fix.
    
    Undef and then re-define my_chsize from Perl_my_chsize to
    just plain chsize if this system HAS_CHSIZE.  This probably only
    applies to SCO.  This shows the perils of having internal
    functions with the same name as external library functions :-).
    
    Use CLK_TCK if HZ is not available.
    Perl 5 Porters committed with Andy Dougherty Sep 9, 1996
  2. perl 5.003_05: perl.h

    One last LONG & co. fix (yet another cut'n'paste error) and a few
    minor cleanups. Nothing crucial.
    
    Make a little more C++-friendly for IBM's CSET++ compiler.
    
    Enhance detection of [gs]etpgrp() variants.  Some systems have
    BSD-style behavior for one and POSIX for the other.  Use
    [gs]etpgid() instead, whenever possible.
    Perl 5 Porters committed with Andy Dougherty Sep 9, 1996
Commits on Sep 8, 1996
  1. perl 5.003_05: pod/perlvar.pod

    Be explicit about $/="" matching empty lines, that is, lines
    with no spaces or tabs.
    
    Change blank lines to empty lines.
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  2. More (and less!) 425traps

    Here's documentation on the change in split's behavior between Perl 4
    and Perl 5.
    
    Large integer traps
    
    Precedence
    
    warn STDERR
    
    Change blank lines to empty lines.
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  3. Document correct C<use POSIX ":wait_h";> usage.

    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  4. perl 5.003_05: dev/null

    New script to check for common errors in pods.  This is not
    normally called during the perl build process, but you can
    use it with  B<make check>.
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  5. perl 5.003_05: pod/Makefile

    Remove trailing spaces in pods.
    Include a call to the checkpods script in the Makefile (though it's
    not ordinarily used by users).
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  6. perl 5.003_05: mg.h

    Replace the oft-repeated mg_ptr incantation with
    the simple MgPVKEY macro.
    
    Rename MgPVKEY to MgPV (to match with HePV elsewhere).  Add
    additional parens around the "mg".
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
  7. perl 5.003_05: lib/Math/Complex.pm

    There was a mistake in the sqrt routine in lib/Math/Complex.pm that
    gave wrong answers when the magnitude of the imaginary part of the
    argument exceeded the magnitude of the real part.  Line 69 had too
    many sqrt($y)'s.  Further, expressions were re-arranged so that
    calls to the expensive real sqrt() routine were reduced from 4 to 2
    in this case.
    Perl 5 Porters committed with Andy Dougherty Sep 8, 1996
Commits on Sep 7, 1996
  1. VMS 5.003_05 Update.

    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  2. perl 5.003_05: utils/perldoc.PL

    More choices in the pager war.  Unfortunately, we can't rely on
    all users agreeing with the Sysadmin's choice, nor can we
    assign a default preference order, since opinions vary.  If the
    user doesn't have $ENV{PAGER} set, we do want to pick up one that
    at least works, so we'll try whatever Configure found.
    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  3. Fix typo $Config{'has_sockets'} ought to be $Config{'d_socket'};

    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  4. perl 5.003_05: perlsdio.h

    Don't supply redundant parameters for PerlIO_open and PerlIO_fdopen.
    
    Include PerlIO_reopen and PerlIO_getname.
    
    s/FILE_(CNT|PTR)_LVALUE/STDIO_(CNT|PTR)_LVALUE to fix a typo.
    This had prevented SV_FAST_FGETS from working anywhere.
    
    Include PerlIO_canset_cnt.  I'm not sure how this is supposed to
    differ from STDIO_CNT_LVALUE.
    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  5. perl 5.003_05: perlio.c

    Eliminate potential "signed vs. unsigned" warning
    
    Add PerlIO_reopen and PerlIO_cgetname functions.
    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  6. Add _STDIO_LOADED (VMS) to list of guard symbols.

    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  7. perl 5.003_05: makedepend.SH

    This patch eliminates "\|" in sed patterns in makedepend.SH, since
    they're not really needed anyway in this one case.
    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
  8. perl 5.003_05: lib/open3.pl

    The I/O directions on the dad_wtr and kid_rdr were backwards.
    IO/Open3.pm didn't have this error.
    Perl 5 Porters committed with Andy Dougherty Sep 7, 1996
Commits on Sep 6, 1996
  1. updated h2xs

    Changes:
    a) Docs and examples for -x updated;
    b) Path to xxxx.h would not be changed to /usr/include/xxxx.h
    unless this file exists (outside of VMS, I'm afraid to make an error
    there). - Useful with -x option, when the file may be eaten via -I
    inside -F.
    c) .h file would be scanned only if needed.
    d) typemap would be generated (with T_PTROBJ).
    e) Documentation (=list) for autogenerated guys would be
    included into POD.
    f) duplicated XSUBs would not be generated;
    g) arguments to XSUBs being arrays are recognized (note that
    xsubpp would probably choke on such guys).
    
    -x option requires C-Scan-0.3 (releases a couple of minutes ago to
        ftp://ftp.math.ohio-state.edu/pub/users/ilya/perl
    should propagate to CPAN soon).
    Ilya Zakharevich committed with Andy Dougherty Sep 6, 1996
Commits on Sep 5, 1996
  1. Make floating point constants Locale-friendly.

    Perl 5 Porters committed with Andy Dougherty Sep 5, 1996
Commits on Sep 4, 1996
  1. Perl 5.003.03: race condition in t/lib/io_sock.t

    io_sock.t works by forking a subprocess it can communicate with.
    It has the subprocess wait for the main process by sleeping 10
    seconds or until an alarm arrives.
    
    With my setup, the alarm signal arrives *before* the child
    has a chance to ignore the alarm signal.
    
    I fixed this by moving the "$SIG{ALRM} = sub {};" up before the
    fork. It does not hurt to have the parent ignore alarms, too.
    Lupe Christoph committed with Andy Dougherty Sep 4, 1996
  2. Re: \ ( @array ) busted for lexical @array (once more)

    Gurusamy Sarathy committed with Andy Dougherty Sep 4, 1996
  3. syslog.pl `use Socket' lossage

    syslog.pl tries but fails to use
    Socket.pm, the problem is that use doesn't return a true value.  This
    module should be recast in terms of Sys::Syslog, of course.
    Roderick Schertler committed with Andy Dougherty Sep 4, 1996
  4. Cwd::fastcwd in File::Find

    Is there a good reason why File::Find uses Cwd::fastcwd instead of
    Cwd:cwd when fastcwd isn't as portable?
    [In particular, fastcwd() doesn't work on AFS.]
    Michael Mahan committed with Andy Dougherty Sep 4, 1996
Commits on Sep 3, 1996
  1. Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)

    Kenneth Albanowski committed with Andy Dougherty Sep 3, 1996
  2. perl 5.003_05: t/io/read.t

    Clear any buffer space exposed by by read().
    This is almost certainly a bug-fix.
    Perl 5 Porters committed with Andy Dougherty Sep 3, 1996
  3. perl 5.003_05: pp.c

    Date: Fri, 23 Aug 1996 17:22:40 -0400 (EDT)
    From: Chip Salzenberg <salzench@nielsenmedia.com>
    Subject: Minor integer speedups in mathematics
    
    This patch provides minor speedups by using integer math and SVt_IV
    values when performing bitwise operations and modulus.
    
    Date: Tue, 3 Sep 1996 17:49:22 -0400 (EDT)
    From: Kenneth Albanowski <kjahds@kjahds.com>
    Subject: Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)
    
    (double)auint cast added for call to sv_setnv().
    Perl 5 Porters committed with Andy Dougherty Sep 3, 1996
Commits on Sep 2, 1996
  1. perl 5.003_05: t/op/inc.t util.c

    One last LONG & co. fix (yet another cut'n'paste error) and a few
    minor cleanups. Nothing crucial.
    Perl 5 Porters committed with Andy Dougherty Sep 2, 1996
Commits on Aug 29, 1996
  1. Re: UNIVERSAL::class busted

    yes, but I also noticed that this does not check that the reference
    is an object, so the patch should be
    Graham Barr committed with Andy Dougherty Aug 29, 1996
  2. perl 5.003_05: pp_hot.c

    Date: Thu, 05 Sep 1996 00:25:28 -0400
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Subject: minor misc. cleanup
    
    This patch makes some minor cleanups to the sources.  No change
    in functionality whatsoever.
    
    Date: Thu, 29 Aug 1996 15:14:51 +0200
    From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
    Subject: more TIEHANDLE
    
    This adds support for a READLINE method.
    Perl 5 Porters committed with Andy Dougherty Aug 29, 1996
  3. more TIEHANDLE

    This adds support for a READLINE method.
    Sven Verdoolaege committed with Andy Dougherty Aug 29, 1996
Commits on Aug 23, 1996
  1. Minor potential bug in AV creation

    Fix more spots where we had PerlIO_stderr() and should have had
    Perl_debug_log instead.
    
    I wasn't the one who originated this patch.  But it looks like it
    would improve the safety of AV creation.
    
    Remove potentially incorrect casts on PerlIO_set_ptrcnt.
    'ptr' is already STDCHAR, which is supposed to be the type of
    char used in stdio.h, so we shouldn't have to cast it.
    Chip Salzenberg committed with Andy Dougherty Aug 23, 1996
  2. Integerize mg.c; eliminate warning on C< local($)) >

    Ok, here's a tested patch for the debugger problem.
    I was missing the fact that DB::dbline magic is actually
    uppercase (which means hv_store_ent() etc., will pass SV keys
    to the vtbl_dbline handlers).
    
    Replace the oft-repeated mg_ptr incantation with
    the simple MgPVKEY macro.
    
    Rename MgPVKEY to MgPV (to match with HePV elsewhere).  Add
    additional parens around the "mg".
    
    (lines near 584) Part of VMS changes.  I don't know what this did.
    
    This patch converts magic variables ($!, $^E, etc.) to use integers
    (C<sv_setiv>) instead of floats.  It also eliminates a warning from
    C< local($)) >, via a hack similar to $!.
    Chip Salzenberg committed with Andy Dougherty Aug 23, 1996