From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUOET-0004LT-Nd for qemu-devel@nongnu.org; Thu, 22 Mar 2007 10:25:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUOET-0004Js-5l for qemu-devel@nongnu.org; Thu, 22 Mar 2007 10:25:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUOES-0004Jn-Cj for qemu-devel@nongnu.org; Thu, 22 Mar 2007 09:25:36 -0500 Received: from partizan.velesys.com ([213.184.230.195]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUOCe-0007n8-6d for qemu-devel@nongnu.org; Thu, 22 Mar 2007 10:23:44 -0400 Date: Thu, 22 Mar 2007 16:23:17 +0200 From: "Kirill A. Shutemov" Subject: Re: [Qemu-devel] [PATCH] fcntl64 fix Message-ID: <20070322142317.GA998@localhost.localdomain> References: <20070309215335.GB5629@localhost.localdomain> <20070319171303.GE28895@networkno.de> <20070320114315.GA26019@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8P1HSweYDcXXzwPJ" Content-Disposition: inline In-Reply-To: <20070320114315.GA26019@localhost.localdomain> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thiemo Seufer Cc: qemu-devel@nongnu.org --8P1HSweYDcXXzwPJ Content-Type: multipart/mixed; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On [Tue, 20.03.2007 13:42], Kirill A. Shutemov wrote: > Yep. You're right. Fixed patch in the attachment. >=20 Patch that fixes dummy bug in the attachment. Sorry. --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys LLC, http://www.velesys.com/ + ALT Linux Team, http://www.altlinux.com/ --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fcntl64_ugly_bug.patch" diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c index 5ff364d..a23f3f7 100644 --- a/qemu/linux-user/syscall.c +++ b/qemu/linux-user/syscall.c @@ -3882,10 +3882,13 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, switch(arg2){ case TARGET_F_GETLK64: cmd = F_GETLK64; + break; case TARGET_F_SETLK64: cmd = F_SETLK64; + break; case TARGET_F_SETLKW64: cmd = F_SETLK64; + break; default: cmd = arg2; } --GvXjxJ+pjyke8COw-- --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGApFsbWYnhzC5v6oRAnbCAJ911jluD7G6dfexIquCdDE3X2x3OACbBoth cMNTVY4n1pa0RSDaZqKbWJU= =LWuK -----END PGP SIGNATURE----- --8P1HSweYDcXXzwPJ--