[LLVMbugs] [Bug 495] NEW: sys::Path interface is ugly
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jan 5 11:15:51 PST 2005
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 at x10sys.com
ReportedBy: rspencer at 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.
More information about the llvm-bugs
mailing list