[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 495] NEW: sys::Path interface is ugly
From:       bugzilla-daemon () cs ! uiuc ! edu
Date:       2005-01-05 19:15:51
Message-ID: 200501051915.NAA02168 () zion ! cs ! uiuc ! edu
[Download RAW message or body]

http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=495

           Summary: sys::Path interface is ugly
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: System Library
        AssignedTo: rspencer@x10sys.com
        ReportedBy: rspencer@x10sys.com


Currently the interface for manipulating operating system Paths is pretty ugly.
It tries to maintain a distinction between a path that should reference a
directory and one that should reference a file. The distinction isn't really
worth maintaining. The method names are awkward and have proven to be confusing
for its users.

It is suggested that sys::Path interface be changed to be similar to
java.io.File  which can be found here:   

  http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html

Anyone who has any thoughts on this, please speak up.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic