]> git.kaiwu.me - njs.git/commit
Correctly setting length of UTF8 string in fs.readFileSync().
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 6 Mar 2019 16:39:21 +0000 (19:39 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 6 Mar 2019 16:39:21 +0000 (19:39 +0300)
commit95a3639b85e6b561853e07a223bd505be5cce593
tree0614065d0e5e5b32cc7f1b0d1d1aafc8b19cea39
parent1762c93ec8b5aaa968a07d74471caf574f9ae9ae
Correctly setting length of UTF8 string in fs.readFileSync().

This closes #109 issue on Github.
njs/njs_fs.c
njs/test/fs/ascii [new file with mode: 0644]
njs/test/fs/non_utf8 [moved from njs/test/non_utf8 with 100% similarity]
njs/test/fs/utf8 [new file with mode: 0644]
njs/test/njs_expect_test.exp