qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Gilbert" <michael.s.gilbert@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached)
Date: Thu, 13 Jul 2006 22:31:04 -0400	[thread overview]
Message-ID: <8e2a98be0607131931i614eae05n8b95715e13f46efd@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

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

[-- Attachment #2: path.diff --]
[-- Type: text/x-patch, Size: 356 bytes --]

--- source/qemu-0.8.1/linux-user/path.c	2006-05-03 16:32:58.000000000 -0400
+++ path-me.c	2006-06-22 21:31:19.000000000 -0400
@@ -100,7 +100,7 @@
         return;
 
     base = new_entry("", NULL, prefix+1);
-    base = add_dir_maybe(base);
+    //base = add_dir_maybe(base);
     if (base->num_entries == 0) {
         free (base);
         base = NULL;


             reply	other threads:[~2006-07-14  2:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14  2:31 Michael Gilbert [this message]
2006-07-14  3:30 ` [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached) Paul Brook
2006-07-15 22:34   ` Anderson Lizardo
2006-07-15 22:39     ` Paul Brook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e2a98be0607131931i614eae05n8b95715e13f46efd@mail.gmail.com \
    --to=michael.s.gilbert@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).