nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-mhfixmsg and test-binary fails on debian stable


From: Philipp
Subject: Re: test-mhfixmsg and test-binary fails on debian stable
Date: Sun, 27 Aug 2023 10:54:35 +0200

[2023-08-26 17:39] David Levine <levinedl@acm.org>
> Philipp wrote:
>
> > [2023-08-26 15:28] David Levine <levinedl@acm.org>
> > >
> > > The NUL byte is output as \x00:
> >
> > I found the problem: The build in printf of dash don't write a NUL.
> > Using printf from path to generate the test and expected file works as
> > expected.
>
> Thank you!  I'll update the test.

An other hint for this test. Posix printf specifies an octal escape
sequences[0]. Replacing the '\x00' with '\000' fixes the test.

Philipp

[0] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]