From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrCHQ-0003Yh-Lq for qemu-devel@nongnu.org; Fri, 04 Jan 2013 13:46:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrCHO-0002np-74 for qemu-devel@nongnu.org; Fri, 04 Jan 2013 13:46:08 -0500 Received: from mail-ia0-f175.google.com ([209.85.210.175]:60400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrCHO-0002ng-1x for qemu-devel@nongnu.org; Fri, 04 Jan 2013 13:46:06 -0500 Received: by mail-ia0-f175.google.com with SMTP id z3so13809780iad.6 for ; Fri, 04 Jan 2013 10:46:05 -0800 (PST) Sender: Richard Henderson Message-ID: <50E7236A.7020007@twiddle.net> Date: Fri, 04 Jan 2013 10:46:02 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1357273746-21133-1-git-send-email-dillona@dillona.com> In-Reply-To: <1357273746-21133-1-git-send-email-dillona@dillona.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Rewrite deprecated fnctl options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dillona@dillona.com Cc: riku.voipio@iki.fi, qemu-devel@nongnu.org On 01/03/2013 08:29 PM, dillona@dillona.com wrote: > From: Dillon Amburgey > > glibc on alpha still uses these No it doesn't. > + if (fl.l_type == F_SHLCK) > + fl.l_type = F_RDLCK; > + if (fl.l_type == F_EXLCK) > + fl.l_type = F_WRLCK; Why would you want to do this? r~