Skip to content

Commit 1134029

Browse files
committed
Upgrade QuickJS.
1 parent cc79021 commit 1134029

File tree

6 files changed

+2401
-2328
lines changed

6 files changed

+2401
-2328
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import distutils.cygwinccompiler
1818
distutils.cygwinccompiler.get_msvcr = lambda: []
1919
# Escaping works differently.
20-
CONFIG_VERSION = '\\"2019-07-09\\"'
20+
CONFIG_VERSION = '\\"2019-07-21\\"'
2121
# Make sure that pthreads is linked statically, otherwise we run into problems
2222
# on computers where it is not installed.
2323
extra_link_args = ["-Wl,-Bstatic", "-lpthread"]

third-party/libregexp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2407,7 +2407,7 @@ static intptr_t lre_exec_backtrack(REExecContext *s, uint8_t **capture,
24072407
for(;;) {
24082408
res = lre_exec_backtrack(s, capture, stack, stack_len,
24092409
pc1, cptr, TRUE);
2410-
if (res < 0)
2410+
if (res == -1)
24112411
return res;
24122412
if (!res)
24132413
break;

0 commit comments

Comments
 (0)