mpv/misc
nanahi ea03451d1e misc/natural_sort: avoid implementation-defined behavior in comparison
Before a7158ceec0, string comparision was
done with strcmp, which does unsigned comparison. The natural sort
implementation instead compares on char values.
This causes implementation-defined behavior in comparison, depending on
the signedness of char type.

Fix this by using unsigned comparison instead.
2024-06-27 19:45:21 +03:00
..
bstr.c bstr: change memcpy to memmove to allow aliased copies 2024-06-26 01:28:55 +02:00
bstr.h various: add more format specifiers checks 2024-06-25 05:29:46 +02:00
charset_conv.c various: fix indentation 2024-05-07 11:23:08 +02:00
charset_conv.h
ctype.h
dispatch.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dispatch.h
io_utils.c io_utils: use mp_mkostemps instead of mkstemp 2024-05-06 22:01:17 +02:00
io_utils.h osdep/io: move I/O utility functions to misc/io_utils 2024-02-23 21:35:57 +01:00
jni.c misc/jni: reduce duplication in mapping struct 2024-02-28 16:11:54 +01:00
jni.h misc/jni: reduce duplication in mapping struct 2024-02-28 16:11:54 +01:00
json.c misc/json: don't wrap top-level pretty strings/infs in quotes 2023-01-28 14:20:20 -06:00
json.h json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
language.c misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
language.h misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
linked_list.h
natural_sort.c misc/natural_sort: avoid implementation-defined behavior in comparison 2024-06-27 19:45:21 +03:00
natural_sort.h
node.c misc/node: add bstr-based variants for map_get() and map_add() 2023-01-28 14:20:20 -06:00
node.h misc/node: add bstr-based variants for map_get() and map_add() 2023-01-28 14:20:20 -06:00
path_utils.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
path_utils.h options/path: move path utility functions to misc/path_utils 2024-02-23 21:35:57 +01:00
random.c misc/random: set constant seed for fuzzing 2024-06-24 03:05:09 +02:00
random.h various: fix various typos in the code base 2023-03-28 19:29:44 +00:00
rendezvous.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
rendezvous.h
thread_pool.c timer: remove unnecesary time conversions 2023-11-05 17:36:17 +00:00
thread_pool.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
thread_tools.c misc/thread_tools: fix incorrect win32 check 2024-06-05 19:16:35 +02:00
thread_tools.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00