Source: libemu
Severity: minor
Tags: patch
User: [email protected]
Usertags: clang-ftbfs
Hello,
Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).
We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=TAUTOLOGICAL-COMPARE
Full build log is available here:
http://clang.debian.net/logs/2014-06-16/libemu_0.2.0+git20120122-1.2_unstable_clang.log
Thanks,
Alexander
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- libemu-0.2.0+git20120122/src/environment/win32/env_w32_dll_export_ws2_32_hooks.c 2012-01-22 15:10:03.000000000 +0400
+++ libemu-0.2.0+git20120122-my/src/environment/win32/env_w32_dll_export_ws2_32_hooks.c 2014-07-10 01:10:33.744378318 +0400
@@ -369,7 +369,7 @@
POP_DWORD(c, &flags);
uint32_t xlen = len;
- if (xlen < 0 || xlen > 4096)
+ if (xlen == 0 || xlen > 4096)
{
printf("BUG\n");