is_mangled()

Christopher R. Hertel crh at NTS.Umn.EDU
Fri Mar 27 23:35:20 GMT 1998


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 at nts.umn.edu              Networking and Telecommunications Services


More information about the samba-technical mailing list