delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/04/10:50:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 4 Jun 2002 16:48:36 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
Reply-To: Pavel Tsekov <cygwin AT cygwin DOT com>
Organization: Syntrex, Inc.
X-Priority: 3 (Normal)
Message-ID: <13923153212.20020604164836@syntrex.com>
To: cygwin AT cygwin DOT com
Subject: The /proc/registry file system and file/directory names with slashes
MIME-Version: 1.0

Hello, there! :)

I thought this needs to be in the ml archives :)

I have seen this in the past but never paid too much attention to the
fact i.e. the registry can contain keys/values with forward/backward
slashes in them. Now as I've spent some time investigating the cygwin
/proc/registry support it seems this is a real PITA. The problem is
that the cygwin dll internally converts the paths it works with from
POSIX to Win32 and from Win32 to POSIX - this in some cases renders
the registry paths totaly unusable though they may were POSIX-ly valid.
Well I don't know what POSIX says about backslashes but linux doesn't
seem to have problems with them, neither does Solaris 8. While this
seems to be possible to handle with some quirks in the code or a
custom path_conv class, the other case i.e. forward slashes seem to be a real nasty :(
Maybe the forward slash can be replaced with some other character on the fly
and only the registry fhandler will see the real name ?! :)

Oh well :) Hope this one wasn't too annoing :)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019