From 2fd1d58f178256e16f329af4d40ba140b515b6ce Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 20 Sep 2013 22:03:41 +0700 Subject: Implement locale-ignoring strcoll_l. --- src/library.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library.js b/src/library.js index 4bbff433..f313bf97 100644 --- a/src/library.js +++ b/src/library.js @@ -3818,6 +3818,7 @@ LibraryManager.library = { }, // We always assume ASCII locale. strcoll: 'strcmp', + strcoll_l: 'strcmp', strcasecmp__asm: true, strcasecmp__sig: 'iii', @@ -8896,7 +8897,7 @@ function autoAddDeps(object, name) { } // Add aborting stubs for various libc stuff needed by libc++ -['pthread_cond_signal', 'pthread_equal', 'wcstol', 'wcstoll', 'wcstoul', 'wcstoull', 'wcstof', 'wcstod', 'wcstold', 'swprintf', 'pthread_join', 'pthread_detach', 'strcoll_l', 'catgets', 'catopen', 'catclose'].forEach(function(aborter) { +['pthread_cond_signal', 'pthread_equal', 'wcstol', 'wcstoll', 'wcstoul', 'wcstoull', 'wcstof', 'wcstod', 'wcstold', 'swprintf', 'pthread_join', 'pthread_detach', 'catgets', 'catopen', 'catclose'].forEach(function(aborter) { LibraryManager.library[aborter] = function() { throw 'TODO: ' + aborter }; }); -- cgit v1.2.3-18-g5258