Opened 19 years ago
Closed 19 years ago
#149 closed defect (fixed)
libc: stat("/dev/null", &s) fails, fix.
| Reported by: | bird | Owned by: | bird |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.6.2 |
| Component: | libc-backend | Version: | 0.6 |
| Severity: | normal | Keywords: | stat /dev/null dev |
| Cc: |
Description
There is an todo for handling this in the __libc_back_fsNativeFileStat function. (__libc_back_ioFileOpen must also be updated to act correctly when it gets a S_IFCHR return from the stat API.) The FH stat function will use __libc_back_fsNativeFileStat if it has a filename, and that should usually be the case...
Note:
See TracTickets
for help on using tickets.

(In [3063]) Fake something half ok when a device is being stat()'ed. Fixes #149.