Re: Bug in SMBFS

Albert Cahalan (albert@ccs.neu.edu)
Thu, 15 Feb 1996 15:54:13 -0500 (EST)


> I have a strange problem with SMBFS. When name of the _last_ file in the
> directory of SAMBA disk is too long, 'ls' shows garbage on such directory,
> but all files in it are accessable. A discovered that it takes place when
> L2-L1>=20 (see figure below). If file is not last in the directory or
> is situated at the root of SAMBA disk, then all works Ok. It is not a
> server problem - smbclent and Windows 95/NT can see such directory.
>
> What is this???
>
> Figure: /dir/.../dir/dir/.../dir/filename
> \_________/ \_________/ \______/
> SMB disk is Path on Last file
> mounted here SMB disk name
> (L1 chars) (L2 chars)

It may be a Makefile bug, add -fno-strength-reduce to CFLAGS.
(and a compiler bug too, but the Makefile should be safe)