Files
xserver/os
Alan Coopersmith 7f68b58865 os: make FormatInt64() handle LONG_MIN correctly
When compiling with gcc 15.2.0 using -O3 -m64 on Solaris SPARC & x64,
we'd get a test failure of:

Assertion failed: strcmp(logmsg, expected) == 0,
 file ../test/signal-logging.c, line 339, function logging_format

because 'num *= 1' produced a value that was out of the range of the
int64_t it was being stored in.  (Compiling with -O2 worked fine with
the same compiler/configuration/platform though.)

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2117>
2025-12-31 19:43:37 +00:00
..
2025-02-18 10:53:44 +00:00
2024-04-15 19:54:34 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-05-08 09:37:35 +02:00
2025-02-18 11:17:40 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-07-20 12:41:06 -07:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-12-19 03:32:35 +00:00
2024-10-10 13:38:31 +00:00
2024-02-25 11:55:56 +01:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-03-03 23:11:05 +00:00
2024-10-10 13:38:31 +00:00