deleteprinterdriverex does not delete files

Martin Zielinski mz at seh.de
Mon May 3 11:00:59 GMT 2004


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!

Martin


> On Mon, Apr 26, 2004 at 03:02:28PM +0200, Martin Zielinski wrote:
> > Hello list,
> > since upgrading from 3.0.2a to 3.0.3rc1 the deleteprinterdriverex call
> > does no longer delete the driver files on my system.

[...]

> Martin,
>
> Attached is a proposed fix for this. Can you test it out
> and let me know if this fixes the problem, if so I'll
> commit it to svn.
>
> Cheers,
>
> 	Jeremy.

-- 
Martin Zielinski                       mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de


More information about the samba-technical mailing list