IO 1.22 -- Mon Sep  5 10:29:35 CDT 2005

 * Update with changes made in perl core distribution

Change 173 on 1998/07/14 by <gbarr@pobox.com> (Graham Barr)

	IO::Socket
	- Added method connected
	
	IO.xs
	- Added check that file * is not null
	
	t/io_udp.t
	- Added check for connected
	- Made change to catch recv not returning the address, and added a fix to
	  ensure test does not hang
	
	t/io_sock.t
	- Added check for connected.

Change 137 on 1998/05/21 by <gbarr@pobox.com> (Graham Barr)

	IO::Socket::INET
	- Added checks to all peer* and host* methods for undef

Change 134 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)

	t/io_sock.t
	- fix race condition on Solaris & SunOS
	
	IO::Handle
	- Applied patch from Gisle Aas <gisle@aas.no> for
	    documentation update
	- Applied patch from Kuma <tgy@chocobo.org>
	    changed input_line_number to be on a per-handle basis.
	
	IO::File
	- Applied patch from Gisle Aas <gisle@aas.no> for
	    documentation update
	
	IO::Seekable
	- Applied patch from Gisle Aas <gisle@aas.no> for
	    documentation update
	    added sysseek
	
	IO, IO::Socket::INET
	- documentation update
	
	IO.xs
	- Applied patch from Gisle Aas <gisle@aas.no> for
	   blocking

Change 133 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)

	t/io_sock.t
	- Added checks for blocking()

Sun Apr 12 1998 <gbarr@pobox.com> (Graham Barr)

	IO.xs
	- enclosed newCONSTSUB in #ifdef as _64 now defines it.

Thu Mar 19 1998 <gbarr@pobox.com> (Graham Barr)

	All
	- Changed copyright/distribution policy back to be the same as perl

Sun Feb 15 1998 <gbarr@pobox.com> (Graham Barr)

	IO::Socket
	- Fix to ->accept, accept() returns false on error not undef.

*** Release 1.19

Thu Feb  5 1998 <gbarr@pobox.com> (Graham Barr)

	All
	- change copyright notice
	
	IO::Socket::INET
	- changed configure to accept PeerHost and LocalHost as well as the
	  PeerAddr and LocalAddr arguments.

Mon Feb  2 1998 <gbarr@pobox.com> (Graham Barr)

	IO::Handle
	- Added printflush so that flush.pl can be depreciated

	IO::Socket
	- Remove C<use Config> statement as it was not needed

Tue Jan 27 1998 <gbarr@pobox.com> (Graham Barr)

	IO::Socket::INET
	- removed carp if $^W

*** Patch 1.1804

Sat Jan 17 1998 <gbarr@pobox.com> (Graham Barr)

	t/io_sock.t
	- Replaced C<Listen => 0> with C<LocalAddr => 'localhost'>
	
	IO/Socket/INET.pm
	- Modified the MultiHomed code. Now each address for a given host has
	  a timeout of C<Timeout>.
	- added _get_addr method for doing hostname lookups. Now Net::DNS can be
	  use by sub-classing IO::Socket::INET, Thanks Gisle Aas
	
	t/io_multihomed.t
	- new test added. Thanks Gisle Aas.

*** Patch 1.1803

Mon Nov 17 1997 <gbarr@pobox.com> (Graham Barr)

	poll.c
	- Added #ifdef I_* tests
	
	IO::Socket
	- Changed initialization of @domain2pkg to fix problem of Domain option
	  not working
	- Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
	
	IO::Socket::INET
	- Change default proto to getprotobyname instead of 'tcp' constant string
	- Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
	
	t/io_sock.t
	- Change to test fix for Domain problem fixed in IO::Socket and be
	  more comprehensive, Thanks to Gisle Aas <gisle@aas.no>
	
	t/io_unix.t
	- New test, Thanks to Gisle Aas <gisle@aas.no>

*** Patch 1.1802

Wed Nov 12 1997 <gbarr@pobox.com> (Graham Barr)

	t/io_poll.t
	- test 4 made an assumption that was not portable, fixed.

*** Patch 1.1801

Wed Oct 22 1997 <gbarr@pobox.com> (Graham Barr)

	IO.xs
	- change #ifdef's to allow compilation with 5.002
	
	IO::Socket
	- Fix to ensure that socket is not returned as non-blocking
	  unless the user asks for it

	t/io_udp.t
	- Fix to stop endless loop

*** Release 1.18

Mon Oct 13 1997 <gbarr@pobox.com> (Graham Barr)

	IO.xs, IO::Handle
	- 1.17 broke compatability with 5.003, small tweaks to restore
	  compatability
	
	t/io_const.t
	- Added new test to ensure backwards compatability with constants
	  is not broken

Wed Oct  8 1997 <gbarr@pobox.com> (Graham Barr)

	IO.xs
	- Added #define's to cope with argument changes to start_subparse
	  from 5.003_22, _23 and _24
	
	IO::Select
	- Renamed has_error to be has_exception which is more correct,
	  has_error is a wrapper around has_exception with a warning if
	  $^W is set.
	
	Makefile.PL
	- Remove 'linkext' option to WriteMakefile so that static linking
	  should work properly, cannot remember why I added it.

Sun Oct  5 1997 <gbarr@pobox.com> (Graham Barr)

	IO::Pipe
	- GLOB assignment does not copy the fileno while under -T
	  added checks for undefined fileno, and added fdopen
	- reader and write can now be called as static methods

	Makefile.PL
	- Attempt to locate <poll.h> and define I_POLL if found

*** Release 1.17

Fri Sep 26 1997 <gbarr@pobox.com> (Graham Barr)

	IO.xs
	- Fix bug in _poll for ANSI C compilers
	
	IO::Socket
	- Split IO::Socket::INET and IO::Socket::UNIX into separate files
	
	IO::File
	- Patch to open() for when file is in current directory.

*** Release 1.16

Mon 15 Sep 1997 <gbarr@pobox.com> Graham Barr

	o New modules
	  - IO::Dir
	  - IO::Poll

	o IO::Socket
	  - Changed new to call autoflush on the new socket
	  - IO::Socket::INET->new now accepts a single argument
	  - IO::Socket::INET default to protocol 'tcp'
	
	o IO::File
	  - Added doc for new_tmpfile
	
	o IO::Handle
	  - Removed use of AutoLoader for constants, constants are
	    now defined as constant XS subs
	  - Added fsync, but will not be avaliable for use
	    unless HAS_FSYNC is defined, perls configure does not define
	    this yet.
	  - Moved bootstrap of IO.xs to IO.pm. IO::Handle no longer
	    contains an AUTOLOAD sub in it's ISA hier

	o IO::Seekable
	  - Remove clearerr, as it is defined in IO.xs

	o IO.xs
	  - Patched IO.xs with patch from Chip for setvbuf warning
	  - Added XS sub "constant" for backwards compatability

	o Misc
	  - Fixed IO::Socket::configure, it was not passing $arg to domain
	    specific package
	  - Changed all $fh variables in IO::Handle to $io and all $fh
	    variables in IO::Socket to $sock as Chip suggested
	  - Fixed usage messages to be consistant

*** Release 1.15

Sun 19 Jan 1997 <bodg@tiuk.ti.com> Graham Barr

	o Updated PODs for IO::Handle and IO::File
	o Modified IO.xs so that DESTROY gets called on IO::File
	  objects that were created with IO::File->new_tmpfile
	o Modified the domain2pkg code in IO::Socket so that it
	  does not use blessd refs
	o Created a new package IO::Pipe::End so that pipe specific
	  stuff can be moved out of IO::Handle.
	o Added Ilya's OS/2 changes to Pipe.pm and io_pipe.t

	o These changes happened somtime before the release of 1.15
	  - added shutdown to IO::Socket
	  - modified connect to not use alarm
	  - modified accept and connect to use IO::Select

*** Release 1.14

Tue 24 Dec 1996 <bodg@tiuk.ti.com> Graham Barr

	o Updated to patches in perl core dist.
	o Added C<use strict> to all modules
	o Modified t/io_sock.t, hopefully the race condition has gone
	o Added close statements to reader/writer in IO::Pipe
	o IO::Handle::syswrite was calling sysread, fixed :-)

*** Release 1.12

Thu 19 Sep 1996 <bodg@tiuk.ti.com> Graham Barr

	o Modified IO.xs so that it will compile with pre perlio version
	  of perl (ie pre perl5.003_02)
	o Modified IO::Socket::send so not to pass 4 arguments to send
	  if the socket is connected

*** Release 1.10

Mon 11 Sep 1996 <bodg@tiuk.ti.com> Graham Barr

	o Fixed a bug in IO::Socket which caused DESTROY to be called
	  on a partly initialised connection
	o Changed IO.xs to use Perlio
	o Modified usage message to report correct package
	o Added IO::File::new changes from Chip, to allow PERM to be passed
	o Added sysread and syswrite methods to IO::Handle
	o Updated documentation
	o Fixed a bug in IO::Select that caused a hang if the last handle
	  was removed.
	o Added count method to IO::Select
	o Renamed and modified tests so that they can be copied into the
	  perl distribution
	o Added fcntl and ioctl methods to IO::Handle

Thu 25 Jul 1996 <bodg@tiuk.ti.com> Graham Barr

	o It is now not necessary to call the domain sub-classes of
	  IO::Socket. when connect is called it notes the domain.
	  Domain specific methods, which are normally non-critical, are
	  called via this note-ing.
	o Added methods to IO::Socket to retrieve the domain, type and
	  protocol of a given socket

Tue 23 Jul 1996 <bodg@tiuk.ti.com> Graham Barr

	o IO::Socket::connect changed how we do timeouts, as it did not work

	o IO::Handle::new_from_fd removed method call to _ref_fd, which was
	  a leftover from FileHandle

Fri 28 Jun 1996 <bodg@tiuk.ti.com> Graham Barr

	o Modified IO::Socket::UNIX::configure to default to using a socket
	  type of SOCK_STREAM if no type is specified.
