fixed a bug in the name mangling code. It implicitly assumed that
authorAndrew Tridgell <tridge@samba.org>
Thu, 3 Sep 1998 03:14:31 +0000 (03:14 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 3 Sep 1998 03:14:31 +0000 (03:14 +0000)
commit0b5cc173099c7fd5ea4865ef4197739ec87e4c35
tree78628f6843f0685683573efafc710540f4953e50
parent0067ea1b5a634db442ed8f89558dc4d43d9f3fe6
fixed a bug in the name mangling code. It implicitly assumed that
mangling a name can't increase it's size which isn't true. (imagine a
file called "L B" which mangles to "LB~XX")

The symptoms were that users couldn't run batch files from short
directory names that contained non 8.3 characters (such as spaces).
(This used to be commit c319d8ea3f8b42bb3a8e501642971ed0bdb21583)
source3/include/proto.h
source3/smbd/filename.c
source3/smbd/mangle.c