Use erlang:demonitor(Ref, [flush]) where applicable
Merge branch 'maint-r16' into maint

Conflicts:
	erts/vsn.mk
Merge branch 'maint'
Fix handling of unknown options to diameter:start_service/2

{error, Reason} is now returned, instead of the options being ignored.

Note that diameter:add_transport/2 purposely ignores unknown options and
that the behaviour is documented. This is historic: some users depend on
it in order to store their own options for identifying transport config,
instead of using the reference returned by add_transport.
Fix faulty capitalization in generated release notes

Diameter = the protocol
diameter = the Erlang application
Fix typo in type: erlang:process_info_item()

'message_que_len' should be 'message_queue_len'.
Merge branch 'ia/ssl/crypto/PSK-SRP/doc' into maint

* ia/ssl/crypto/PSK-SRP/doc:
  ssl & crypto: Documentation enhancements
Merge remote branch 'upstream/maint'
Remove unused Postscript files
Merge branch 'hb/remove_unused_ps_files/OTP-11016' into maint

* hb/remove_unused_ps_files/OTP-11016:
  Remove unused Postscript files
Merge branch 'maint'

* maint:
  Remove unused Postscript files
Fix an error in the type inference of bitstring data

Dialyzer was constraining bitstring data used in the construction of other
bitstring values too much. These constraints have now been relaxed.
Fix notification for duplicate modules

Dialyzer fails when asked to analyze multiple modules with the same name, but
the error message was erroneous. With this patch Dialyzer generates a correct
error message.

Bug reported and patch submitted by Maxim Treskin.
Fix minor error in natively compiled module list

Even though dialyzer_typesig is the module doing most of the work, compiling it
to native code twice will not make it faster than the rest. :-)
Minor refactorings
[test_server] Add test_server_io:print_unexpected/1

To use from any process to print a string in the unexpected_io.log.
[common_test] Send unexpected logging to test_server's unexpected_io.log

If it could not be decided which test case a certain log printout
belonged to, the common test framework log was earlier used. Such
printouts are now instead sent to unexpected_io.log in test_server so
that there is only one place to look for "missing" printouts.
[common_test] Add test for unexpected I/O
Merge branch 'siri/cuddle-with-tests' into maint

* siri/cuddle-with-tests:
  [reltool] Clean up work dir after test
  [observer] Add debug printouts in ttb_SUITE
Merge branch 'maint'