svn commit: r318780 - in head: include sys/sys

Jan Beich jbeich at FreeBSD.org
Thu Aug 3 21:57:44 UTC 2017


Konstantin Belousov <kib at FreeBSD.org> writes:

> -#ifndef _POSIX_SOURCE
> +#if __BSD_VISIBLE
>  #define	ONLCR		0x00000002	/* map NL to CR-NL (ala CRMOD) */

This caused a regression for apps building with _XOPEN_SOURCE e.g.,
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220843

DragonFly uses __XSI_VISIBLE for ONLCR and other XSI extensions.
https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e08b3836c962
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html


More information about the svn-src-head mailing list