Opened 17 years ago
Closed 12 years ago
#213 closed defect (fixed)
stat() not reporting readonly status correctly
| Reported by: | Steven Levine | Owned by: | Yuri Dario |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.6.6 |
| Component: | libc-backend | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
libc\src\kNIX\os2\b_fsNativeFileStat.c contains a typo that causes it to always report files as read-write.
b_fsNativeFileStat.c#189 reads
if (rc & FILE_READONLY)
and should read
if (fAttributtes & FILE_READONLY)
Attachments (2)
Change History (6)
comment:1 by , 15 years ago
| Component: | libc → libc-backend |
|---|---|
| Milestone: | → libc-0.7 |
comment:2 by , 12 years ago
| Milestone: | libc-0.7 → libc-0.6.6 |
|---|
by , 12 years ago
| Attachment: | patch-213b.txt added |
|---|
by , 12 years ago
| Attachment: | patch-213t.txt added |
|---|
comment:3 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
comment:4 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Committed fix as well as spelling correction in r3812 (both trees).
Note:
See TracTickets
for help on using tickets.

Thanks.