From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2484 Path: news.gmane.org!not-for-mail From: ojab Newsgroups: gmane.linux.lib.musl.general Subject: Re: SoX & pipe rewinding Date: Sat, 15 Dec 2012 01:11:22 +0400 Message-ID: <50CB95FA.8030109@ojab.ru> References: <50CB2B38.8070703@ojab.ru> <20121214134009.GJ20323@brightrain.aerifal.cx> <50CB2EEC.2040909@ojab.ru> <20121214190924.GM20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355519498 11757 80.91.229.3 (14 Dec 2012 21:11:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2012 21:11:38 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2485-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 14 22:11:50 2012 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 1TjcXt-0000DQ-TD for gllmg-musl@plane.gmane.org; Fri, 14 Dec 2012 22:11:49 +0100 Original-Received: (qmail 20252 invoked by uid 550); 14 Dec 2012 21:11:36 -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 20244 invoked from network); 14 Dec 2012 21:11:36 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=lI50MdSGadJZek70lyHcBJLvmItcVSw47liHt2VaN58=; b=ImkfJX714EMaU45rU5uLd3nlfG6iKBVG0PX0wK6rL3LMzHuC5nUMz3YJBopaDscw5H eU2/D9pl9K96Na00VRYlF1nQUTQijR6eYGGVzSy6NHQBsA/iGysxf+xzzihbH24kqtUR 5mM2rkiBJZJD8IlddfldaonL9gCMQUna9M0iUBsETbMzUaD62OUxJnf3ZGGhw4y3ubYU b4JecIKR0QLDKgPobW8ZnWU9ci5/fceItHbRK+5TkeMl9Gochp/z5qztgJyJ/DzLFP6w z8TVu5Lf+L6weF4Zh2hT+oQ3/Gi9/Ieisq50eJX/wWMG2ElK3+hYIydZBM0RainNFceY IMbg== User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Thunderbird/20.0a1 In-Reply-To: <20121214190924.GM20323@brightrain.aerifal.cx> X-Gm-Message-State: ALoCoQlGmXC5cxx88EiLpQTeHJKKIk1PgcRwYKlZeXB9mbT9z1t5pjPK8xwR5db+5P6fBghmAGZS Xref: news.gmane.org gmane.linux.lib.musl.general:2484 Archived-At: On 14.12.2012 23:09, Rich Felker wrote: > On Fri, Dec 14, 2012 at 05:51:40PM +0400, ojab wrote: > > There's intentionally no musl-specific #define. Some people have > complained about that, but if there had been one, the state of musl > compatibility would be a ton worse right now, because lots of software > would be crippling itself by using #ifdef __musl__ or similar to > disable features that musl 0.6.x didn't have... > > The right solution to using optional features is to test for their > existence, but in this case, sox is not using an extension feature but > poking at the internals of some known implementations and throwing > #error for everything else. This is just really bad behavior. The > default case should be portable, i.e. should just silently omit the > non-portable pipe rewinding code. > > Rich > Filled https://sourceforge.net/tracker/?func=detail&aid=3596097&group_id=10706&atid=110706 //wbr ojab