Permalink
Switch branches/tags
Commits on Apr 2, 1997
  1. [inseparable changes from match from perl-5.003_97 to perl-5.003_97a]

     CORE PORTABILITY
    
    Subject: Add support for Cygwin32 (GNU-Win32) -- very low impact
    Date: Thu, 3 Apr 1997 09:21:17 +0100
    From: John Cerney <j-cerney1@ti.com>
    Files: MANIFEST README.cygwin32 cygwin32/cw32imp.h cygwin32/gcc2 cygwin32/ld2 cygwin32/perlgcc cygwin32/perlld ext/DynaLoader/dl_cygwin32.xs hints/cygwin32.sh perl.h pp_sys.c
    Msg-ID: 199704030821.JAA08762@pluto.tiuk.ti.com
    
        (applied based on p5p patch as commit 2a079e0)
    
    Subject: Win32 update (six patches)
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: MANIFEST README.win32 dosish.h t/io/fs.t t/io/tell.t t/lib/io_tell.t t/op/magic.t t/op/mkdir.t t/op/runlevel.t t/op/stat.t t/op/taint.t win32/Makefile win32/VC-2.0/pod.mak win32/makedef.pl win32/pod.mak win32/win32.c win32/win32.h win32/win32io.c win32/win32io.h win32/win32iop.h
    
     LIBRARY AND EXTENSIONS
    
    Subject: Math::Trig, based on (and from an author of) Math::Complex
    From: Chip Salzenberg <chip@perl.com>
    Files: MANIFEST lib/Math/Complex.pm lib/Math/Trig.pm pod/perldelta.pod t/lib/complex.t t/lib/trig.t
    
     OTHER CORE CHANGES
    
    Subject: Fix const-sub-related panic on C<sub foo { my $x; 0 } foo>
    From: Chip Salzenberg <chip@perl.com>
    Files: op.c
    
    Subject: Fix warning for useless C<1..2>
    From: Chip Salzenberg <chip@perl.com>
    Files: op.c
    
    Subject: Minor cleanups
    Date: Thu, 03 Apr 1997 19:56:57 -0500
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: mg.c mg.h perl.c
    Msg-ID: 199704040056.TAA22253@aatma.engin.umich.edu
    
        (applied based on p5p patch as commit 6097944)
    
    Subject: Eliminate unreliable warning with %SIG and strict refs
    From: Chip Salzenberg <chip@perl.com>
    Files: mg.c
    
    Subject: Fix impossible test in vivification
    From: Chip Salzenberg <chip@perl.com>
    Files: mg.c
    Perl 5 Porters committed with Chip Salzenberg Apr 2, 1997
  2. Patch to Build Dynamic-Lib (DLL) version of perl using gnuwin32 b17.1

    I have successfully built a dynamic-lib (dll) version of perl version 5.003_94
    using the gnuwin32 tools on windows 95 and windows NT 3.51. This port builds
    all extension libs for perl as DLLs.
    
    A patch is attached to this message.
    
    Detailed Instructions:
    
    The following assumes you have the gnuwin32 (version b17.1) package installed 
    and configured on your system. See http://www.cygnus.com/misc/gnu-win32/ for 
    details on the gnuwin32 package.
    
    1) Obtain perl5.003_94 (from www.perl.com or CPAN) and extract 
         to a directory on your system.
    
    2) cd to the path where perl5.003_94 is installed. e.g, if you
       installed to /perl5.003_94, then cd to /perl5.003_94.
    
    3) Apply this patch:
    patch -p1 < dllpatch 
    
      Note: If you have problems with the patch that comes with
         the gnuwin32 package, (I have had problems getting it to apply 
         multiple patches in a single file) try the patch located
         at http://www.simtel.net/pub/simtelnet/win95/prog/gpatch2b.zip.
         Also, the files pp_sys.c and perl.h that the patch modifies must
         be in unix format. If your extraction utility (like winzip) converts
         to dos format, change the format of these files back before applying
         the patch.
    5) Modify the ld2 script 
       Change the PERLPATH variable to the location you extracted perl.
        for example, if you extracted perl to /perl5.003_94, change so
        the line looks like:
    PERLPATH=/perl5.003_94
    
    4) Copy the two scripts ld2, and gcc2 to a directory in your PATH 
       environment variable. For example, copy to /bin, assuming /bin is
       in your PATH. (These two scripts ld2 and gcc2 are 'wrapper' scripts
       that encapsulate the multiple-pass dll building steps used by gnuwin32
    ld/gcc.)
    
    5) Run the perl Configuration script as stated in the perl README file;
    	e.g.
    	sh Configure
       select gnuwin32 at this prompt:
       First time through, eh?  I have some defaults handy for the following
    systems:
       .
       .
       .
       Which of these apply, if any?
    
       The defaults should be OK for everything else, except for the specific
    pathnames for 
       the gnuwin32 libs, include files, installation dirs, etc on your system. 
    
       Note:
       On windows 95, the configuration script only stops every other time
        for responses from the command line. In this case you can manually edit
        the gnuwin32.sh hint file for your paths, copy hints/gnuwin32.sh to
    config.sh,
        and run Configure non-interactively using sh Configure -d. 
    
    6) Do a make, as stated in the perl README file
    
    7) Do a make test. Some test will fail, but you should get around a 
    	83% OK result. (Most failures seem to be due to unix'ism that
            don't apply for win32.)
    
    8) Do a make install. This will fail about 1/2 of the way thru. It appears
    	that perl can't find itself when it forks because it cd's to another 
            directory during the install process. You get around this by invoking
            the install script using a full pathname for perl. For example, if
    	perl is extracted to perl5.003_94, do a 
    	'/perl5.003_94/perl installperl'. This should complete the install
            process.
    
    p5p-msgid: 199704030821.JAA08762@pluto.tiuk.ti.com
    John Cerney committed with Chip Salzenberg Apr 3, 1997
  3. Minor cleanups

    This patch straightens out some code that used to be crooked,
    avoids redundant SV allocs/frees, and makes a macro more
    consistent.  Nothing critical here.
    
    The changes in ENV_FETCH code are untested, so vox VMS populi
    invited.
    
    p5p-msgid: 199704040056.TAA22253@aatma.engin.umich.edu
    Gurusamy Sarathy committed with Chip Salzenberg Apr 4, 1997
  4. Pod style

    Nathan Torkington committed with Chip Salzenberg Apr 2, 1997
  5. Update INSTALL

    Andy Dougherty committed with Chip Salzenberg Mar 29, 1997
  6. Make *dbm tests work with Win32

    Chip Salzenberg committed with Chip Salzenberg Feb 24, 1997
  7. Don't use $4 when it might be undef

    Chip Salzenberg committed with Chip Salzenberg Oct 18, 1994
  8. Limit @ISA to actual DBM in AnyDBM

    Chip Salzenberg committed with Chip Salzenberg Sep 5, 1996
  9. [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 Apr 2, 1997
  10. CPAN & TRL-Gnu

    (this is the same change as commit 8fe3829, but as applied)
    Chip Salzenberg committed Apr 2, 1997
  11. CPAN & TRL-Gnu

    p5p-msgid: 9704040809.AA26143@o09.rosat.mpe-garching.mpg.de
    Achim Bohnet committed with Chip Salzenberg Apr 4, 1997
  12. Update AutoLoader and docs; support C<use AutoLoader 'AUTOLOAD'>

    Signed-off-by: Chip Salzenberg <chip@perl.com>
    Chip Salzenberg committed with Chip Salzenberg Nov 29, 1996
  13. Re: shared lib compilation problem with miniperl5.003_97

    On Fri, 4 Apr 1997, Chip Salzenberg wrote:
    
    > According to Olaf Seibert:
    > > In this report I am using the shared perl library, libperl.so.3.97.
    > > 
    > > When building miniperl, it is linked with libperl.so.3.97 instead of
    > > -lperl. This slightly confuses NetBSD's shared loader. When miniperl
    > > is run from a directory where libperl.so.3.97 is not present, it
    > > will fail to start.
    > > 
    > > Fix: I think this should do it: Change in the Makefile
    > >    LLIBPERL= $(LIBPERL)
    > > to 
    > >    LLIBPERL= -lperl
    > 
    > Porters?  I'm a bit out of my depth with this, since I'm not sure
    > of what's portable with dynamic loading and what isn't.
    
    My paranoid fear is the following:  Suppose you already have
    perl5.003_97 installed somewhere and it has a corresponding 
    libperl.so.3.97 installed in the appropriate directory.  Now suppose
    you're rebuiding perl5.003_97 (e.g. to test a patch or whatever) and
    your new ./perl is linked with the moral equivalent of 
    
    	LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
    	cc -o perl -R $archlib -lperl [...]
    
    Now, when you're down in the t/ library running your tests, and miniperl
    gets called, which libperl.so.3.97 do you get -- the new one found via
    LD_LIBRARY_PATH or the old one found via the -R directive?
    
    (This is very similar to the shared libperl/debugging problem discussed in
    the INSTALL file.)
    
    I don't think any solution is bulletproof.  I suspect that the suggested
    change probably won't make matters any worse, but I'm wary at this stage
    (gee, that's a suprise from me:-)
    
    Instead, I think the following should probably be safe:
    
    p5p-msgid: Pine.SOL.3.95q.970404124326.647K-100000@fractal.lafayette.edu
    private-msgid: Pine.SOL.3.95q.970404124326.647K-100000@fractal.lafayette.ed
    Andy Dougherty committed with Chip Salzenberg Apr 4, 1997
  14. runlevel is I32, not int

    p5p-msgid: 2848.860109823@eeyore.ibcinc.com
    rosche committed with Chip Salzenberg Apr 3, 1997
  15. AmigaOS update

    private-msgid: 77724828@Armageddon.meb.uni-bonn.de
    Norbert Pueschel committed with Chip Salzenberg Apr 3, 1997
  16. Fix AUTOLOAD, or kill me

    Chip Salzenberg committed with Chip Salzenberg Apr 2, 1997
Commits on Apr 1, 1997
  1. [inseparable changes from match from perl-5.003_96 to perl-5.003_97]

     CORE LANGUAGE CHANGES
    
    Subject: Reenable but deprecate inherited AUTOLOAD for plain funcs
    From: Chip Salzenberg <chip@perl.com>
    Files: ext/DynaLoader/DynaLoader.pm gv.c lib/Text/ParseWords.pm pod/perldelta.pod pod/perldiag.pod t/op/method.t
    
     CORE PORTABILITY
    
    Subject: Win32 update
    Date: Wed, 02 Apr 1997 01:08:09 -0500
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Files: win32/VC-2.0/modules.mak win32/VC-2.0/perl.mak win32/VC- 2.0/perldll.mak win32/perl.mak
    Msg-ID: 199704020608.BAA29538@aatma.engin.umich.edu
    
        (applied based on p5p patch as commit 8d0ff11)
    
     DOCUMENTATION
    
    Subject: Clean up some poddities, and make C<make html> work again
    From: Chip Salzenberg <chip@perl.com>
    Files: pod/Makefile pod/perldelta.pod pod/perldiag.pod pod/perlfaq8.pod pod/perlfunc.pod pod/perlop.pod pod/perltrap.pod
    
    Subject: Eliminate pod warnings in libs
    From: Chip Salzenberg <chip@perl.com>
    Files: lib/CGI.pm lib/ExtUtils/Command.pm
    
     LIBRARY AND EXTENSIONS
    
    Subject: Eliminate warning in CGI.pm
    From: Chip Salzenberg <chip@perl.com>
    Files: lib/CGI.pm
    
     OTHER CORE CHANGES
    
    Subject: Introduce and use gv_fetchmethod_autoload()
    From: Chip Salzenberg <chip@perl.com>
    Files: global.sym gv.c pod/perlguts.pod proto.h universal.c
    Perl 5 Porters committed with Chip Salzenberg Apr 1, 1997
  2. Win32 update

    The win32 make fails because it cannot find "camel.ico".
    
    Even if I add a camel.ico stolen from elsewhere, the build
    fails due to lack of "resource.h" referenced in "perl.rc"
    (when using VC++ 2.0).
    
    The following patch simply disables binding the icon resource
    into perl.exe.  (One can always associate a bare *.ico file
    to any executable, so it's not like it *has* to be bound 
    into perl.exe when building it.)
    
    p5p-msgid: 199704020608.BAA29538@aatma.engin.umich.edu
    Gurusamy Sarathy committed with Chip Salzenberg Apr 2, 1997
  3. [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 Apr 1, 1997
  4. Fix MM doc's use of "SUPER::"

    (this is the same change as commit acce7d4, but as applied)
    Chip Salzenberg committed Apr 1, 1997
  5. Fix MM doc's use of "SUPER::"

    Chip Salzenberg <chip@atlantic.net> wrote:
    ] According to Jim Avera:
    ] > Was there any resolution of the problem using SUPER:: with MakeMaker?
    ] 
    ] Yes.  Don't say "sub MY::foo {}"; say "package MY; sub foo {}".
    ] The current package is important for proper operation of SUPER::.
    
    Thanks for your help.  I appreciate it.
    Here is a patch to fix the documentation (in 5.003_95).
    
    p5p-msgid: 9704012235.AA07841@membrane.hal.com
    Jim Avera committed with Chip Salzenberg Apr 1, 1997
  6. Improve heuristics for pod2man titles

    Subject: Re: Strange headers from perldoc
    
    On Mon, 31 Mar 1997 16:02:59 +0100, "M.J.T. Guy" <mjtg@cus.cam.ac.uk> said:
    >
    > When I go  "perldoc CPAN" (in perl5.003_94 as it happens), the header
    > lines come out as
    >
    > ::home::mjtg::pUser Contr::home::mjtg::perl5.003_94::lib::CPAN(3)
    
    Here's a fix for that.  It's just more heuristics, so it isn't perfect.
    
    In a related vein, this still leaves
    
        Getopt::Long(3pUser Contributed Perl DocumentatiGetopt::Long(3pm)
    
    in the page header on my system.  "User Contributed Perl Documentation"
    is just too long.  Would anybody mind replacing this with something
    shorter?  Say
    
        Getopt::Long(3pm)         User Perl Docs        Getopt::Long(3pm)
    
    or
    
        Getopt::Long(3pm)      Wankel Rotary Engine     Getopt::Long(3pm)
    
    or even
    
        Getopt::Long(3pm)                               Getopt::Long(3pm)
    
    I'm partial the last of these, myself, but I'd be happy with anything
    less than about 20 characters.  Patch happily supplied if nobody
    objects.
    
    p5p-msgid: pzn2ri9gto.fsf@eeyore.ibcinc.com
    rosche committed with Chip Salzenberg Apr 2, 1997
  7. [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 Apr 1, 1997
  8. Document eval vs. sub in Benchmark

    (this is the same change as commit 446534a, but as applied)
    Chip Salzenberg committed Apr 1, 1997
  9. Document eval vs. sub in Benchmark

    Subject: Re: Patch for Benchmark.pm 
    
    In <9704011547.AA29906@toad.ig.co.uk>, Tim Bunce writes:
    :Simple: calling functions in perl is expensive.
    Yeah, I simply hadn't expected it to be *that* expensive.
    
    :> -	? "sub { package $pack; my(\$_i)=$n; while (\$_i--){&\$c;} }"
    :> +	? "sub { package $pack; my(\$_i)=$n; while (\$_i--){&\$c();} }"
    :It's cheaper to _not_ add () so I'd recommend leaving it off.
    I considered that, but felt it was more correct not to pass through the
    parameters that were received. My new patch ducks it, by shifting @_
    out before it gets there.
    
    I also looked at having two caches for empty string/empty sub timings,
    but was unable to get satisfactory results. I'll come back to that one,
    but I don't think it is urgent for 5.004.
    
    This patch is for the Benchmark.pm in _96: it repeats stuff from my
    previous patch, but avoids stuff that was obsoleted by other changes
    in _96.
    
    p5p-msgid: 199704012231.XAA00225@crypt.compulink.co.uk
    Hugo van der Sanden committed with Chip Salzenberg Apr 1, 1997
  10. Tweaks to constant.pm

    I've made a couple of (trivial) changes, in this compared to what was
    distributed in _96. Patch available separately. Cape does not actually
    enable wearer to fly.
    Tom Phoenix committed with Chip Salzenberg Apr 1, 1997
  11. Eliminate warnings in File::Basename

    ./perl -w t/lib/basename.t 
    gives some warnings.
    
    p5p-msgid: 11173.9704011111@tempest.cise.npl.co.uk
    Robin Barker committed with Chip Salzenberg Apr 1, 1997
  12. Fix POSIX::raise()

    [editor's note: Chip credited Jens with the fix, but the message
    doesn't have a patch.  *shrug*]
    
    p5p-msgid: Pine.SUN.3.91.970401153125.8053A-100000@holmenkollen.ifi.uio.no
    Jens T. Berger Thielemann committed with Chip Salzenberg Apr 1, 1997
  13. Update $VERSION of ExtUtils::Embed to reflect reality

    Chip Salzenberg committed with Chip Salzenberg Mar 29, 1997
  14. Refresh ExtUtils::Manifest to 1.33

    Andreas Koenig committed with Chip Salzenberg Mar 7, 1997
  15. Refresh CPAN to 1.24

    Andreas Koenig committed with Chip Salzenberg Feb 17, 1997
  16. Remove target before link() of perldiag.pod

    Chip Salzenberg committed with Chip Salzenberg Mar 29, 1997
  17. [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 Apr 1, 1997