From 4b8208bdd6fc94c5e02a5be08f23651759958310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Tue, 10 Dec 2019 13:19:09 +0200 Subject: [PATCH] Fix bad _strlen dep in _formatString function. --- src/deps_info.json | 2 +- src/library_formatString.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deps_info.json b/src/deps_info.json index 67b9b6a5b0b4..0607dc8e38ef 100644 --- a/src/deps_info.json +++ b/src/deps_info.json @@ -68,7 +68,7 @@ "__cxa_end_catch": ["free"], "__cxa_allocate_exception": ["malloc"], "__cxa_free_exception": ["free"], - "emscripten_log": ["strlen"], + "_formatString": ["strlen"], "setjmp": ["realloc"], "saveSetjmp": ["realloc"], "glfwSleep": ["sleep"], diff --git a/src/library_formatString.js b/src/library_formatString.js index 21208bcf24d5..bc6bb387a664 100644 --- a/src/library_formatString.js +++ b/src/library_formatString.js @@ -8,7 +8,7 @@ mergeInto(LibraryManager.library, { // format: A pointer to the format string. // varargs: A pointer to the start of the arguments list. // Returns the resulting string string as a character array. - _formatString__deps: ['strlen', '_reallyNegative'], + _formatString__deps: ['_reallyNegative'], _formatString: function(format, varargs) { assert((varargs & 3) === 0); var textIndex = format;