is_mangled()

Christopher R. Hertel (crh@NTS.Umn.EDU)
Fri, 27 Mar 1998 17:35:20 -0600 (CST)

From:	"Christopher R. Hertel" <crh@NTS.Umn.EDU>
Message-Id: <199803272335.RAA22445@unet.unet.umn.edu>
Subject: is_mangled()
To:	samba-technical@samba.anu.edu.au (samba-tech)
Date:	Fri, 27 Mar 1998 17:35:20 -0600 (CST)

I'm playing with mangle.c again, and I've gotten a bit confused about the
is_mangled() function. I copied it into a little test program and here's
what I got:

'~xx' IS mangled.
'x~xx' IS mangled.
'voo~xx.voo' IS mangled.
'voo~.~zz.zen' IS mangled.
'~zz.barf' IS mangled.
'~z.zoo' is NOT mangled.

Okay... The ones I question are "voo~.~zz.zen" and "~zz.barf". I don't
think that either of these are valid mangled names, but is_mangled()
accepts them as such.

Comments?

If I get agreement, I'll rewrite this function.

Chris -)-----

--
Christopher R. Hertel -)-----                   University of Minnesota
crh@nts.umn.edu              Networking and Telecommunications Services