deleteprinterdriverex does not delete files

Jeremy Allison jra at samba.org
Mon May 3 16:37:21 GMT 2004


On Mon, May 03, 2004 at 01:00:59PM +0200, Martin Zielinski wrote:
> On Sunday 02 May 2004 21:08, Jeremy Allison wrote:
> 
> Works well, except for the little typo in line 4515 
> 
> @@ -4480,6 +4512,7 @@
>  			/* bypass the "\print$" portion of the path */
>  			
>  			if ( (file = strchr( info_3->dependentfiles[i]+1, '\\' )) != NULL ) {
> +				driver_unix_convert(s, conn, NULL, &bad_path, &st);
>                                                  ^^^^^^ should be: "file".
> 
>  				DEBUG(10,("deleting dependent file [%s]\n", file));
>  				unlink_internals(conn, 0, file );
>  			}
> 
> Thanks very much!

No problem, thanks for catching the typo. It's committed in svn.

Cheers,

	Jeremy.


More information about the samba-technical mailing list