Re: Compiling kernel with -std=gnu11

Valery Ushakov <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Sun, Jan 05, 2025 at 17:03:23 +0000, Taylor R Campbell wrote:

> -std=c11, and the only case I came up with was the `\e' escape in
> strings, of which we have one use:
> 
> sys/fs/udf/udf_osta.c:238:	printf("checksum: calculated=%4.4x, correct=%4.4x\en", x, 0x3299);
> 
> This looks like it might be a mistake anyway.

Copy-pasting from a nroff source? :)
E.g.

  $ fgrep '\en' /usr/share/man/man1/echo.1
  characters and followed by a newline (``\en'') character, to the standard

-uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.