From: "Wei-Bo, Chen" <webberapple@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Wei-Bo, Chen" <webberapple@gmail.com>
Subject: [Qemu-devel] [RFC] util: Fix QEMU_LD_PREFIX endless loop
Date: Wed, 6 Jan 2016 07:21:12 -0800 [thread overview]
Message-ID: <1452093672-75002-1-git-send-email-webberapple@gmail.com> (raw)
Detail bug report in the following url:
https://bugs.launchpad.net/qemu/+bug/1245703
Remove is_dir_maybe macro condition DT_LNK in util/path.c
Signed-off-by: Wei-Bo, Chen <webberapple@gmail.com>
---
util/path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/path.c b/util/path.c
index 4e4877e..b99e436 100644
--- a/util/path.c
+++ b/util/path.c
@@ -58,7 +58,7 @@ static struct pathelem *new_entry(const char *root,
#if defined(DT_DIR) && defined(DT_UNKNOWN) && defined(DT_LNK)
# define dirent_type(dirent) ((dirent)->d_type)
# define is_dir_maybe(type) \
- ((type) == DT_DIR || (type) == DT_UNKNOWN || (type) == DT_LNK)
+ ((type) == DT_DIR || (type) == DT_UNKNOWN)
#else
# define dirent_type(dirent) (1)
# define is_dir_maybe(type) (type)
--
2.5.0
next reply other threads:[~2016-01-06 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-06 15:21 Wei-Bo, Chen [this message]
2016-01-06 16:25 ` [Qemu-devel] [RFC] util: Fix QEMU_LD_PREFIX endless loop 陳威伯
2016-01-11 18:52 ` 陳威伯
2016-01-11 19:07 ` Peter Maydell
2016-01-15 17:53 ` Peter Maydell
2016-01-15 18:15 ` Richard Henderson
2016-01-19 18:15 ` Peter Maydell
2016-01-19 20:11 ` Richard Henderson
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=1452093672-75002-1-git-send-email-webberapple@gmail.com \
--to=webberapple@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.