You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/11/26 22:56:21 UTC

DO NOT REPLY [Bug 25035] New: - Cygwin (unix-like) paths don't work in cygwin builds

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25035

Cygwin (unix-like) paths don't work in cygwin builds

           Summary: Cygwin (unix-like) paths don't work in cygwin builds
           Product: Xerces-C++
           Version: 2.3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: abraham@backus.com


When Xerces is passed a cygwin path, it doesn't know how to deal with it,
because the underlying Xerces code is using Win32 functions (OpenFile,
CreateFile, etc.) directly.

I took the approach of copying the code from util/Platforms/Linux into a new
directory util/Platforms/Cygwin.  The mutex code seemed ok, the Platforms/Cygwin
code is a mix of what was in Linux (for file i/o) and what was in Win32 (for mutex).

I'll be attaching new files that will be in the new directory
c/src/xercesc/util/Platforms/Cygwin as well as a patch file to patch existing
files to use this new code.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org