mirror of
https://git.yoctoproject.org/poky
synced 2026-03-31 11:02:21 +02:00
This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
1.4 KiB
Diff
23 lines
1.4 KiB
Diff
Upstream-Status: Backport
|
|
|
|
--- boost_1_32_0/libs/test/src/unit_test_result.cpp.orig 2005-07-05 11:00:53.887594850 -0700
|
|
+++ boost_1_32_0/libs/test/src/unit_test_result.cpp 2005-07-05 11:01:20.683533034 -0700
|
|
@@ -144,7 +144,7 @@
|
|
unit_test_counter num_passed, unit_test_counter num_failed )
|
|
{
|
|
unit_test_counter total_test_cases = num_passed + num_failed;
|
|
- std::size_t width = static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1;
|
|
+ std::size_t width = static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1;
|
|
|
|
where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed
|
|
<< " test " << ps_name( num_passed != 1, "case" ) << " out of " << total_test_cases << " passed\n"
|
|
@@ -158,7 +158,7 @@
|
|
{
|
|
unit_test_counter total_assertions = num_passed + num_failed;
|
|
std::size_t width = total_assertions > 0
|
|
- ? static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1
|
|
+ ? static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1
|
|
: 1;
|
|
|
|
where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed
|