qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached)
@ 2006-07-14  2:31 Michael Gilbert
  2006-07-14  3:30 ` Paul Brook
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Gilbert @ 2006-07-14  2:31 UTC (permalink / raw)
  To: qemu-devel

[-- 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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-15 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14  2:31 [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached) Michael Gilbert
2006-07-14  3:30 ` Paul Brook
2006-07-15 22:34   ` Anderson Lizardo
2006-07-15 22:39     ` Paul Brook

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).