Man Pages and code mismatches ... with respect to name mangling

Simo Sorce simo.sorce at
Sun Sep 1 06:58:00 GMT 2002

We should update the man page with description on different mangling
methods. Simo.

On Sat, 2002-08-31 at 23:44, Richard Sharpe wrote:
> Hi,
> I notice that the code (at least for mangling method = hash2) does 
> different things to what the man pages claim.
> Man pages say that if the file starts with a leading ., it is replaced 
> with three underscores. Either Ethereal can't count, or they are not. Only 
> one is placed there. In addition, it seems that more characters than a 
> leading . (dot) are replaced by a single underscore. For example, the # 
> character (known as pound or hash) is also replaced by a single 
> underscore.
> Secondly, the man pages claim that the first three characters of the 
> extension (after the right most period) are forced to upper case etc. What 
> it omits to say is that this only true if the extension consists of three 
> or less characters. If there are more than five characters in the 
> extension, well, they get lost.
> Which of these two behaviours is the intended one?
> Regards
> -----
> Richard Sharpe, rsharpe at, rsharpe at, 
> sharpe at
Simo Sorce - simo.sorce at
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list