[File] json magic - output string

Avinash Sonawane rootkea at gmail.com
Sat Dec 11 00:04:08 UTC 2021


On Fri, 10 Dec 2021 17:32:53 +0000
Avinash Sonawane <rootkea at gmail.com> wrote:

> We also need to update the JSON tests.

The tests are still broken.

I think it's because we introduced newlines at the end of
json[1-3].result files?

BTW, since result files are text files we should indeed place newline
at the end of files? Trying to be POSIX compliant.[0]

This will need a change in test.c/slurp().

[0]
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206

Regards,
Avinash Sonawane (rootKea)
https://www.rootkea.me


More information about the File mailing list