delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/21/17:51:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C1FDE7A.3040202@redhat.com>
Date: Mon, 21 Jun 2010 15:49:46 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Question...has this been raised before? why domain\user instead of domain/user?
References: <4C1FD90A DOT 3000509 AT tlinx DOT org>
In-Reply-To: <4C1FD90A.3000509@tlinx.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

--------------enig2FFA00603C90C903E88D9F86
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 06/21/2010 03:26 PM, Linda Walsh wrote:
> Consistent with unix names, where we use forward slash
> instead of backslash (both in file and registry names),
>=20
> why do I get an error when I try to use <domain>/user as a user arg when
> <domain>\\user is allows?

Because <domain>\\user is NOT a file name, but a user name.

>  Should I get a
> warning about using a Windows style identifier by using backslash?

No.

>  I
> mean there's been this increasing strictly about getting away from using
> backslash in windows paths,

Yes.  But only for paths (aka file names).

> I'm surprised it's still even allowed in user names, let
> alone, being the ONLY option allowed.
>=20
> Isn't this inconsistent?  Any plans to fix this?

I don't see any inconsistency in our handling of file names.  If it
bothers you that user names don't accept slash as an alias for
backslash, then submit a patch - but as I don't use user names in file
name contexts, it doesn't bother me enough for me to want to write a
patch.  So, the question is back at you - any plans for you to submit a
patch to fix this?

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig2FFA00603C90C903E88D9F86
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMH95/AAoJEKeha0olJ0NqMqUIAK2SwO4VBOP8/ku/4Y1xLI/q
AANGrneqQNvBdkLgYTlnG4nYue+ayAq4Hu+eIHPtjVYqwhYAgQL/3UEAYo1N9A4i
4Y1zmMYi+mqkjeeEnR1M20dMfdvpxbjBLqH5GjVEzAp5PkQ48v9omQWmYJVZ6y81
ofuXrpAxaIpHAvtOh8piv8RrFzUcnGgZb5yB3dua618CJA0cLQTJhIeAUZmUUKf0
tsYH5xWvJoIpt1E0OkJMwGmAgNf+MNdaFPXkHIzCowJUZw5cMnTGm44e39U3NQqJ
1b0UiCvqHqsP+FKgR96GDwo4a1vhmIHHd641uE6p+y8YNhjDOW0DR4PHimWYnNw=
=g+/X
-----END PGP SIGNATURE-----

--------------enig2FFA00603C90C903E88D9F86--

- Raw text -


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