[njs] Fixed building by SunC 5.15.

2018-11-12 Thread Sergey Kandaurov
details: http://hg.nginx.org/njs/rev/81d029f4139c branches: changeset: 649:81d029f4139c user: Sergey Kandaurov date: Mon Nov 12 20:08:36 2018 +0300 description: Fixed building by SunC 5.15. diffstat: njs/njs_shell.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs

[njs] Allowing variables and functions to be redeclared.

2018-11-12 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/46364c618468 branches: changeset: 648:46364c618468 user: Dmitry Volyntsev date: Mon Nov 12 18:27:05 2018 +0300 description: Allowing variables and functions to be redeclared. diffstat: njs/njs_function.c | 2 +- njs/njs_function.h

[njs] RegExp: fixed a case when lastIndex is greater than string size.

2018-11-12 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/f1da98bdd82f branches: changeset: 647:f1da98bdd82f user: Valentin Bartenev date: Mon Nov 12 17:22:14 2018 +0300 description: RegExp: fixed a case when lastIndex is greater than string size. Previously, it resulted in: "InternalError: pcre_exec()