Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2017 23:57:39 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r318780 - in head: include sys/sys
Message-ID:  <r2ws-2u24-wny@FreeBSD.org>
In-Reply-To: <201705240925.v4O9PDsZ026682@repo.freebsd.org> (Konstantin Belousov's message of "Wed, 24 May 2017 09:25:13 %2B0000 (UTC)")
References:  <201705240925.v4O9PDsZ026682@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kib@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r2ws-2u24-wny>