[File] json magic - output string
Christos Zoulas
christos at zoulas.com
Sun Dec 12 16:27:07 UTC 2021
Perhaps, but let's remove the newlines for now since this is the minimal change.
christos
> On Dec 10, 2021, at 7:04 PM, Avinash Sonawane <rootkea at gmail.com> wrote:
>
> 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
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20211212/2d5c7876/attachment.asc>
More information about the File
mailing list