Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 19 Apr 2001 16:29:14 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problems with illegal characters in Pathnames
Message-ID: <20010419162914.H12557@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <229D7C0FE0BED311A0E800805F0DD47176CB58@wn01ex.wn.gb.solvay.com> <002f01c0c8d4$fbc186c0$6e032bb7@BRAMSCHE>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <002f01c0c8d4$fbc186c0$6e032bb7@BRAMSCHE>; from Ralf.Habacker@saght.tessag.com on Thu, Apr 19, 2001 at 03:31:04PM +0200

On Thu, Apr 19, 2001 at 03:31:04PM +0200, 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 ?

No, it doesn't. This is a long lasting discussion and currently
there's no agreement due to several pros and cons.

If you really want that functionality, write your own wrapper
functions which convert POSIX paths to POSIX paths minus invalid
DOS chars.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

