From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DNS_FROM_AHBL_RHSBL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=IhrKjvSaFCZz25O/rLh7olFFWPnWYs6uLh6f98YUzT4=; b=hrnEtZwAUqk8alsKFeXTFGWD0uen/bFAjfhmTPpr0FsPt/Wfa1ZBX/jVoeHmMmxCjL 0gVd5nQ3gbeqVcy2266NU+LfljpQR99SAfbbRzSCROrNMGwlNR4Z0okNCoHUBcaE8LmN IEr6dbwffIIpYZfDHZekZsRyKNbGFj6q+8QY5L1crk+cbiZqWo3S/cb3C/rd0ebY9zZb rs9KnzFk/owcrydMd8T9xa+YaVmtOZg5KaycqsjuipehL9edFL1SKOl+w9lAdulQtWdU Okuyc8ECwZI4fgs9MgSi23o2tkPmXjVgRocsNbxavraHx+qcl5+9c0Ou4Ye9w6esMHm/ Pftg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=IhrKjvSaFCZz25O/rLh7olFFWPnWYs6uLh6f98YUzT4=; b=kbpoPUNso0nummNj4WUUCjgGJlrSayO6x16gXA0xpNQzKhBOd0iD037ZZdSK0+Dq8j 02WqCADnzRY4GVh0FwndAbRixwqGPsfew9l85VVOOdxC0Hq43tHKGAWpe0Apel8jd67C oPo2lankRxUAOh+buxh3UsULhoc+2snyj9CbQhHv2fYQtiOEBvpOBMvaVjqGEoTfxKV0 Ivdx0AAC8XhC/0MVdEJItVtyhF68zYUUxHnbn9yIvSvcBMMR8MDOuIXD3OnsQ3FAh8V7 /X0EYQ3wgL3rGqaVLTxLqKoOori8YNFIy6hmITi2a8yApSmvDkgS1Wrkp6HG71i8hv+4 BhRw== X-Gm-Message-State: AG10YOTsvANJ7JL8plXVNT4zqN7y0MDfbnFpZLwnd18CN336ZXv6bYui7extWHV1Nc0Tdw== X-Received: by 10.28.176.131 with SMTP id z125mr4056116wme.5.1454182016316; Sat, 30 Jan 2016 11:26:56 -0800 (PST) Date: Sat, 30 Jan 2016 21:26:54 +0200 From: "Kirill A. Shutemov" To: ALT Linux Team development discussions Message-ID: <20160130192654.GA19332@node.shutemov.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Cc: =?utf-8?B?0JzRg9C20YfQuNC90LA=?= , =?utf-8?B?0JzQuNGI0LAg0YLQvtC20LUg0LzRg9C20YfQuNC90LA=?= Subject: Re: [devel] re-writing GNU C extensions X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2016 19:27:01 -0000 Archived-At: List-Archive: List-Post: On Sat, Jan 30, 2016 at 09:56:04AM +0300, Alexey Tourbin wrote: > В общем, кажется, не существует хорошего способа развернуть такой код > на стадии компиляции (в отличие от трамполайнов, которые работают в рантайме). > Если только сделать переменную ctx глобальной, но это будет > нереентерабельно и т.п. qsort_r() и компания решают. И, да, это гнушное расширение. -- Kirill A. Shutemov