Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010419101616.0219eca0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 19 Apr 2001 10:16:48 -0400 To: "Ralf Habacker" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Problems with illegal characters in Pathnames In-Reply-To: <002f01c0c8d4$fbc186c0$6e032bb7@BRAMSCHE> References: <229D7C0FE0BED311A0E800805F0DD47176CB58 AT wn01ex DOT wn DOT gb DOT solvay DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:31 AM 4/19/2001, Ralf Habacker wrote: >Hi, > >I'm porting applications for Windows (using X11 and KDE) and one often >recognized problem is that application using >the content of the DISPLAY environment variable to generate filenames >directly. Under Windows character ':' and some other aren't allowed for >filenames, so this applications will fail on running. > >I've found a function "mount_info::conv_to_win32_path" in the cygwin >library. Is it possible, that this function can convert illegal filename >characters to valid ? I'm not sure but you can either try it or look at the code to see if it will do this for you. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple