mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-25 13:58:15 +00:00
qemu_strtosz() & friends reject NaNs, but happily accept infinities. They shouldn't. Fix that. The fix makes use of qemu_strtod_finite(). To avoid ugly casts, change the @end parameter of qemu_strtosz() & friends from char ** to const char **. Also, add two test cases, testing that "inf" and "NaN" are properly rejected. While at it, also fixup the function documentation. Backports commit af02f4c5179675ad4e26b17ba26694a8fcde17fa from qemu |
||
|---|---|---|
| .. | ||
| bitmap.c | ||
| bitops.c | ||
| cacheinfo.c | ||
| crc32c.c | ||
| cutils.c | ||
| error.c | ||
| getauxval.c | ||
| host-utils.c | ||
| log.c | ||
| Makefile.objs | ||
| mmap-alloc.c | ||
| module.c | ||
| oslib-posix.c | ||
| oslib-win32.c | ||
| qemu-error.c | ||
| qemu-thread-posix.c | ||
| qemu-thread-win32.c | ||
| qemu-timer-common.c | ||
| range.c | ||
| sys_membarrier.c | ||