Handle correctly the "No files found or file unavailable" error code.
Changed to correct errorcode in testcase
A stab at fixing bug with {exit_on_close,false} not working

when invalid packets are received.
Include apps needed for tests and doc in small build

Included 'inets' in small build, making it possible to run test
using only a small build.

Included 'erl_docgen', 'xmerl', and 'edoc' in small build, making
it possible to build documentation using only a small build.
jinterface: fix finding cookie file on windows

Jinterface uses System.getProperty("user.home") to locate the user's home
and the cookie file. On Windows, the result might be different than the
value used by Erlang, which looks first to the HOMEDRIVE and HOMEPATH
variables.

The fix makes jinterface use the same logic.
Fix port exit
Fix unsafe driver_select() from win32 vanilla/spawn drivers
jinterface: don't need another FilterOutputStream wrapper

DeflaterOutputStream is already an FilterOutputStream
jinterface: fix typo in error message if encoding fails
jinterface, OtpOutputStream: properly override the three write() methods to ensure our growth strategy

Previously, if code called e.g. write(byte[] b, int off, int len), the growth strategy of the parent class ByteArrayOutputStream was used.
jinterface: don't compress small erlang terms < 5 bytes

Compression always has at least 5 bytes (the compressed tag + original size) so we can't get a smaller external term if the original term is already smaller than 5 bytes.
jinterface: don't return compressed external term if bigger than uncompressed

Now, OtpOutputStream#write_compressed() uses the same mechanism as erts_term_to_binary() in external.c: it tries to compress the given term into a buffer of the size of the uncompressed term and if this is not possible, i.e. the compression plus headers is bigger, it uses the uncompressed external term format instead.
jinterface: new limited OutputStream implementation without the need to resize

(saves memory re-allocations)
jinterface: fix a memory leak

after the first try to compress the value with a fixed buffer size, the deflater must be closed so that memory can be (instantly) reused
jinterface, OtpOutputStream: add a write_compressed(object, level) method

Now that we use an own deflater, we can also allow the user to specify the compression level as in Erlang's term_to_binary/2.
Fix unsafe accesses to driver data from win32 fd/vanilla/spawn drivers
Fix flush of fd-driver on Windows
Fix erts-5.10 release notes
inet_drv: Fix condition to reject INET_REQ_IGNOREFD for UDP and SCTP
float_to_list/2 changed rounding and cosmetic cleanup

Changed rouding to round half-way up instead of down.
Cosmetic cleanup and error handling of additional edge cases.