Summary: | [PATCH] lndir doesn't handle symlink to directory right | ||
---|---|---|---|
Product: | xorg | Reporter: | H.J. Lu <hjl> |
Component: | App/other | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | esigra |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 351 |
Description
H.J. Lu
2004-08-15 08:51:18 UTC
This patch fixed the problem for me: --- xc/config/util/lndir.c.symlink 2004-03-04 09:45:53.000000000 -0800 +++ xc/config/util/lndir.c 2004-08-13 12:43:02.008852729 -0700 @@ -194,7 +194,7 @@ dodir (char *fn, /* name of "from" dire strcpy (p, dp->d_name); if (n_dirs > 0) { - if (stat (buf, &sb) < 0) { + if (lstat (buf, &sb) < 0) { mperror (buf); continue; } Adding Red Hat bugzilla cross-reference: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129887 kem) While this isn't mission critical per-se, I'm adding to blocker bug for possible consideration for inclusion in 6.8.0. This patch was discussed on the release wranglers call and was accepted for this release. It has been checked in. Closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.