This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001410] New: mkdir() fails if pathname has a trailing "/"


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 the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]