From owner-svn-src-head@FreeBSD.ORG Mon Feb 9 16:50:35 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41AF93B0; Mon, 9 Feb 2015 16:50:35 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1193FC0E; Mon, 9 Feb 2015 16:50:34 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so17841004ieb.4; Mon, 09 Feb 2015 08:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=SVvt11M6WsczupP1a6l3QniM9PzedHlR2I20//a59BY=; b=x7DxYy4viCKDF5rC0XKlckQ2U9/Zxwc8fL7NTg0gi2UH9jN3GipaaQHr0WoEVAH6tv 6djVWs4salvB1/eP0rXITHIQBTVpd3VbCp4Exux0W9qUYItagUC4tBDO/0OsSTXfB+Lr v/nNYWeetnMNKDGFpAw81B7A6TiMWLT4+6j1aKIgjaD1piA6RyEV/bS7a5nwWRydkm0g q7PE7BR29bTVvmEKU/G2J4TdyPpQXXNQr75c2cYvoOPIHL0oqFO2oIrM7T/+q0/iTEFm X9CIFQ6JDHkuWfVyvuWeqiibwg5bQzsZCOuVOe9ewvoyOORRHeB13vrCm0ycEUK7yT9y SXJA== MIME-Version: 1.0 X-Received: by 10.107.31.16 with SMTP id f16mr26617859iof.88.1423500628760; Mon, 09 Feb 2015 08:50:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.7 with HTTP; Mon, 9 Feb 2015 08:50:28 -0800 (PST) In-Reply-To: References: <201502091046.t19AkdCM067270@svn.freebsd.org> Date: Mon, 9 Feb 2015 08:50:28 -0800 X-Google-Sender-Auth: kq9bB_dMv80PVM66_K3SdV-cQr0 Message-ID: Subject: Re: svn commit: r278450 - head/release From: Adrian Chadd To: Rui Paulo Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , Glen Barber , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 16:50:35 -0000 ... this is why we should have some kind of version identifier in each tool, or capability lists. Otherwise lulz will ensue like this. -adrian On 9 February 2015 at 08:44, Rui Paulo wrote: > On Feb 9, 2015, at 02:46, Glen Barber wrote: >> >> Author: gjb >> Date: Mon Feb 9 10:46:39 2015 >> New Revision: 278450 >> URL: https://svnweb.freebsd.org/changeset/base/278450 >> >> Log: >> Revert r278445. >> >> I was going to use __FreeBSD_version to determine if >> xz(1) should be multi-threaded by default, but doing >> this will cause problems if/when the changes are merged >> from head. > > You can do "nm -D liblzma" and check for lzma_stream_encoder_mt. Or you could check if xz(1) has threading support via xz -h (ugly). > > -- > Rui Paulo > > > >