Projects
Mega:24.03:SP1:Everything
libuv
_service:tar_scm:0003-test_fs.c-Fix-issue-on-32...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch of Package libuv
From 3d10efa49dc063831787bc01501ab946f6d91282 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher <sgallagh@redhat.com> Date: Thu, 16 Nov 2023 10:00:20 -0500 Subject: [PATCH 3/3] test_fs.c: Fix issue on 32-bit systems using btrfs On Fedora's build system, the build environment runs on btrfs. This revealed a bug in the test on i686 systems, where this comparison was being performed as a comparison of two signed integers, but the filesystem type of btrfs happens to use the higher-order bits, resulting in it appearing as a negative value. BTRFS_SUPER_MAGIC 0x9123683e Signed-off-by: Stephen Gallagher <sgallagh@redhat.com> --- test/test-fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-fs.c b/test/test-fs.c index 1acdc5c67082c7ea4f579f25af82cd9bd3fefc71..ab8a9e07ccea95493e479703a07bebca5e29be30 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -343,7 +343,7 @@ static void statfs_cb(uv_fs_t* req) { defined(__OpenBSD__) || defined(__NetBSD__) ASSERT_OK(stats->f_type); #else - ASSERT_GT(stats->f_type, 0); + ASSERT_UINT64_GT(stats->f_type, 0); #endif ASSERT_GT(stats->f_bsize, 0); -- 2.41.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2