From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1DSN-0005UR-1d for qemu-devel@nongnu.org; Thu, 13 Jul 2006 22:31:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1DSM-0005Sm-35 for qemu-devel@nongnu.org; Thu, 13 Jul 2006 22:31:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1DSL-0005SK-US for qemu-devel@nongnu.org; Thu, 13 Jul 2006 22:31:05 -0400 Received: from [64.233.182.185] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G1DUF-0003cT-A9 for qemu-devel@nongnu.org; Thu, 13 Jul 2006 22:33:03 -0400 Received: by nf-out-0910.google.com with SMTP id m19so123595nfc for ; Thu, 13 Jul 2006 19:31:04 -0700 (PDT) Message-ID: <8e2a98be0607131931i614eae05n8b95715e13f46efd@mail.gmail.com> Date: Thu, 13 Jul 2006 22:31:04 -0400 From: "Michael Gilbert" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_36489_4048549.1152844264514" Subject: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_36489_4048549.1152844264514 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline please review the attached patch (to linux-user/path.c), which i believe fixes the problem of qemu looping forever on symlinks when using -L. it is undesirable (i believe) for the -L option to search all subdirectories. this is in reference to debian bug #297572 (bugs.debian.org/297572). mike gilbert ------=_Part_36489_4048549.1152844264514 Content-Type: text/x-patch; name=path.diff; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_eplxlact Content-Disposition: attachment; filename="path.diff" LS0tIHNvdXJjZS9xZW11LTAuOC4xL2xpbnV4LXVzZXIvcGF0aC5jCTIwMDYtMDUtMDMgMTY6MzI6 NTguMDAwMDAwMDAwIC0wNDAwCisrKyBwYXRoLW1lLmMJMjAwNi0wNi0yMiAyMTozMToxOS4wMDAw MDAwMDAgLTA0MDAKQEAgLTEwMCw3ICsxMDAsNyBAQAogICAgICAgICByZXR1cm47CiAKICAgICBi YXNlID0gbmV3X2VudHJ5KCIiLCBOVUxMLCBwcmVmaXgrMSk7Ci0gICAgYmFzZSA9IGFkZF9kaXJf bWF5YmUoYmFzZSk7CisgICAgLy9iYXNlID0gYWRkX2Rpcl9tYXliZShiYXNlKTsKICAgICBpZiAo YmFzZS0+bnVtX2VudHJpZXMgPT0gMCkgewogICAgICAgICBmcmVlIChiYXNlKTsKICAgICAgICAg YmFzZSA9IE5VTEw7Cgo= ------=_Part_36489_4048549.1152844264514--