This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
win32 extras and embedding
authorGurusamy Sarathy <gsar@engin.umich.edu>
Thu, 24 Jul 1997 09:58:46 +0000 (21:58 +1200)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)
commitad2e33dc060dc2ccf73a5ff1557a69a9b09c30c8
tree0e670241aa4a1689b0d301eca76b27617e948922
parent156a3eb7d0abfe7f8bcb0a4ba81b9e48f1777ab9
win32 extras and embedding

This patch makes the various Win32-specific builtins available
in embedded perl.

It also fixes a problem with FP errors thrown by the Borland
runtime when doing something like C<perl -e "print(1.0e+26 % 1">.
The VC runtime doesn't throw those errors because FP errors are
off by default in VC, on in Borland.  The patch adds code to always
turn them off.  (This should ultimately be made user-settable via
$SIG{FPE}, when we have more robust signal handling).

I've also made Borland builds use gcvt(), which is available there,
and is much faster than sprintf().

Most of the size of the patch comes from moved code.

[editor's note: some of these changes are being applied in the wrong
order and changing slightly]

p5p-msgid: 199707250232.WAA03421@aatma.engin.umich.edu
dosish.h
perl.c
win32/config.bc
win32/config_H.bc
win32/makedef.pl
win32/perllib.c
win32/win32.c
win32/win32.h