This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001410] New: mkdir() fails if pathname has a trailing "/"
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Tue, 6 Dec 2011 02:38:41 +0000
- Subject: [Bug 1001410] New: mkdir() fails if pathname has a trailing "/"
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001410
Summary: mkdir() fails if pathname has a trailing "/"
Product: eCos
Version: CVS
Platform: All
OS/Version: Other
Status: UNCONFIRMED
Severity: normal
Priority: low
Component: FAT filesystem
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: fpagliughi@mindspring.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
The fatfs_mkdir() call seems to fail if the path name ends in a "/". So, for
example, this call succeeds:
mkdir("/root", 0775);
but this call fails:
mkdir("/root/", 0775);
This behaviour differs from that of Linux, and makes porting code a little more
difficult.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.