haiku/src/kits/support
Kyle Ambroff-Kao 7037b5d9bc support/Archivable: Reset errno in validate_instantiation()
validate_instantiation(BMessage*, const char*) sets errno for invalid
input, or if the requested class is not found, but it doesn't reset
errno to B_OK if validation succeeds.

I verified that in BeOS R5, errno is set to B_OK if
validate_instantiation succeeds.

This fixes BHandler::Instantiate2 and BHandler::Instantiate3 tests.

Change-Id: I531777e6ba47e9635da2da1fc8c8103bb233b0f3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2136
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-01-21 08:46:20 +00:00
..
Architecture.cpp
Archivable.cpp support/Archivable: Reset errno in validate_instantiation() 2020-01-21 08:46:20 +00:00
ArchivingManagers.cpp
ArchivingManagers.h
Base64.cpp
Beep.cpp s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
BlockCache.cpp
BufferedDataIO.cpp
BufferIO.cpp
ByteOrder.cpp
CompressionAlgorithm.cpp
DataIO.cpp PackageKit: use the correct kernel headers. 2018-04-05 17:51:13 +02:00
DataPositionIOWrapper.cpp
DateTime.cpp BDate: do not use strftime 2018-11-01 23:03:41 +00:00
Flattenable.cpp
Jamfile Add ZstdCompressionAlgorithm. 2017-11-24 21:35:49 +01:00
Job.cpp
JobQueue.cpp
List.cpp
Locker.cpp
PointerList.cpp s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
Referenceable.cpp
StopWatch.cpp
String.cpp support/String: Revert 6c67c7d63 to fix double-free 2019-12-31 11:03:59 +00:00
StringList.cpp
Url.cpp Support : Fixes for Relative URL Handling 2018-09-11 18:39:53 +00:00
Uuid.cpp
ZlibCompressionAlgorithm.cpp
ZstdCompressionAlgorithm.cpp ZstdCompressionAlgorithm: handle ZSTD_error_dstSize_tooSmall. 2018-09-04 12:33:14 +00:00