Red Hat Bugzilla – Bug 186753
ia32el: opendir() not open the correct directory if the directory name can be found in /emul/ia32-linux directory
Last modified: 2015-05-04 21:32:15 EDT
Description of problem:
opendir() work abnormal with ia32el service.
Version-Release number of selected component (if applicable):
Use opendir(), whenever we pass a absolute path name(eg./usr/share)or relative
path name, it will try to open the path on /emul/ia32-linux/usr/share first, if
the directory is not exist on /emul/ia32-linux/, then it going to
open /usr/share, this is the key.
Steps to Reproduce:
opendir() not open the correct direcotry if the directory also exists
in /emul/ia32-linux/ directory. This will cause the 32bit program work abnormal
in 64bit environment.
opendir() can open the correct directory on ia64 platform.
*** This bug has been marked as a duplicate of 186757 ***