Welcome! Log In Create A New Profile

Advanced

[njs] Shell: fixed output of large values for last evaluated expression.

Dmitry Volyntsev
December 23, 2019 10:54AM
details: https://hg.nginx.org/njs/rev/99f9008e1b17
branches:
changeset: 1288:99f9008e1b17
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Tue Dec 17 18:22:50 2019 +0300
description:
Shell: fixed output of large values for last evaluated expression.

diffstat:

src/njs_shell.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 61bf7a31e685 -r 99f9008e1b17 src/njs_shell.c
--- a/src/njs_shell.c Tue Dec 17 10:35:11 2019 +0300
+++ b/src/njs_shell.c Tue Dec 17 18:22:50 2019 +0300
@@ -750,7 +750,8 @@ njs_output(njs_opts_t *opts, njs_vm_t *v
}

if (vm->options.accumulative) {
- njs_printf("%V\n", &out);
+ njs_print(out.start, out.length);
+ njs_print("\n", 1);
}

} else {
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Shell: fixed output of large values for last evaluated expression.

Dmitry Volyntsev 95 December 23, 2019 10:54AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready