Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 186758

Summary: opendir() work abnormal with ia32el service
Product: Red Hat Enterprise Linux 4 Reporter: joan <joan_cn>
Component: ia32elAssignee: Petr Machata <pmachata>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: eric.lin, mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-27 09:25:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description joan 2006-03-26 03:24:26 UTC
Description of problem:
opendir() work abnormal with ia32el service.

Version-Release number of selected component (if applicable):
ia32el 1.3.2
Redhat Enterprise Linux 4, U1, U2,U3

How reproducible:
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 will cause the 32bit program work abnormal in 64bit environment.


Steps to Reproduce:
1.
2.
3.
  
Actual results:
opendir() not open the correct direcotry if the directory also exists 
in /emul/ia32-linux/ directory. 

Expected results:
opendir() can open the correct directory on ia64 platform.

Additional info:

Comment 1 Jakub Jelinek 2006-03-27 09:25:04 UTC

*** This bug has been marked as a duplicate of 186757 ***