Opened 11 years ago
#304 new defect
stat() and trailing dots
| Reported by: | KO Myung-Hun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.7 |
| Component: | libc | Version: | 0.6.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hi/2.
If passing a name with trailing dots to stat(), then stat() fails. Any other compilers do not fail.
For examples, assume that there is a file, stat.c. Then, stat() for stat.c succeeds, but for stat.c. fails. Of course, all the trailing dots should be ignored.
Attachments (1)
Note:
See TracTickets
for help on using tickets.

Patch for trailing dots