[LLVMbugs] [Bug 21563] New: Improve Windows long path name support

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 13 07:36:01 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21563

            Bug ID: 21563
           Summary: Improve Windows long path name support
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

PR21482 (fix in r221841) addressed long path name support in the Path corner
of libSupport.  However there are also some path-name related Windows API calls
in Support/Windows/Program.inc that could benefit from the same treatment.

RedirectIO() should be updated for long path names. The widenPath() function
in Path.inc could be promoted to the path:: namespace for this purpose.

Execute() does various things; the place that handles the actual program name
should be updated for long path names, unless we decide that it would be
stupid to put an executable program in a directory where CMD.EXE couldn't
find it, and therefore in practice is not a problem. The other places that
use UTF8ToUTF16 in that function look like they're not path-related.

I looked at all other calls to UTF8ToUTF16 and they all looked like they
did not need the long-path-name treatment (uses were e.g. file encoding,
or passing environment variable names to Unicode APIs).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141113/c5bfd7f5/attachment.html>


More information about the llvm-bugs mailing list