From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3016 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: #define __MUSL__ in features.h Date: Sat, 30 Mar 2013 21:42:17 -0400 Message-ID: <20130331014217.GG20323@brightrain.aerifal.cx> References: <20130329210047.GF20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1364694149 27651 80.91.229.3 (31 Mar 2013 01:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2013 01:42:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3017-gllmg-musl=m.gmane.org@lists.openwall.com Sun Mar 31 03:42:56 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UM7IN-0008DE-H9 for gllmg-musl@plane.gmane.org; Sun, 31 Mar 2013 03:42:55 +0200 Original-Received: (qmail 1907 invoked by uid 550); 31 Mar 2013 01:42:30 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1893 invoked from network); 31 Mar 2013 01:42:30 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3016 Archived-At: On Sat, Mar 30, 2013 at 02:16:48PM -0500, Strake wrote: > Szabolcs Nagy wrote: > > no, this should be fixed by openssl using > > their huge configuration script correctly, > > ie. detecting what is available instead of > > using wrong ifdefs > > > > their assumptions about termios is broken, > > adding more ifdefs would just make it worse > > (note that termios.h is specified by posix > > so even if they want to use ifdefs, that > > should be the fallback on a posix system) > > Yes, in my experience, openssl is grievous to build, and I can't > remember all what perversions I wrought to do so, but both -DTERMIOS > and -DTERMIO are in Configure, so it may well be at fault. Indeed, using termio (without the s) at all is _wrong_ unless you're on a horribly outdated legacy system. The default should always be termios and termio should only be used on systems that are detected or known to be lacking termios. Rich