VFS error - turns out to be vps_ops.rename failure .. help

Gerald Carter jerry at samba.org
Tue May 14 07:36:01 GMT 2002


AB,

This is already fixed in SAMBA_2_2, correct?  Can you verify?
This code has already been changed.




cheers, jerry

On Fri, 10 May 2002, Alexander Bokovoy wrote:

> This is known bug, I've posted correction several times. In brief:
> --- ./examples/VFS/recycle.c.orig       Mon Mar 25 12:56:47 2002
> +++ ./examples/VFS/recycle.c    Fri Apr 12 18:21:54 2002
> @@ -239,9 +163,10 @@
>         }
> 	 
>          base = strrchr(fname, '/') + 1;
> -       if(base == (char*)1)
> +       if(base == (char*)1) {
>                  ext = strrchr(fname, '.');
> -       else
> +               base = fname;
> +       } else
>                 ext = strrchr(base, '.');
> 						  
>         pstrcpy(bin,
> 	recycle_bin);
> 							  
> 

-- 
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--






More information about the samba-technical mailing list