Opened 6 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:



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)

remove-trailing-dots.diff (674 bytes) - added by KO Myung-Hun 6 years ago.
Patch for trailing dots

Download all attachments as: .zip

Change History (1)

Changed 6 years ago by KO Myung-Hun

Attachment: remove-trailing-dots.diff added

Patch for trailing dots

Note: See TracTickets for help on using tickets.