This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question...has this been raised before? why domain\user instead of domain/user?


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),
> 
> 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.
> 
> 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?

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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]