[Samba] PATCH: Performance improvement for parameterised include path names

Gerald Carter jerry at samba.org
Wed Jul 10 07:36:37 GMT 2002


On Tue, 9 Jul 2002, Jonathan Knight wrote:

> --- samba-2.2.3a/source/param/loadparm-2.2.3a.c	Tue Jul  9 13:50:53 2002
> +++ samba-2.2.3a/source/param/loadparm.c	Tue Jul  9 13:52:40 2002
> @@ -2454,10 +2454,10 @@
>  	pstring fname;
>  	pstrcpy(fname, pszParmValue);
>  
> -	add_to_file_list(pszParmValue, fname);
> -
>  	standard_sub_basic(fname);
>  
> +	add_to_file_list(pszParmValue, fname);
> +
>  	string_set(ptr, fname);
>  
>  	if (file_exist(fname, NULL))
> 

Looks good to me.  I'm applying it now to both HEAD and SAMBA_2_2.





cheers, jerry
 ---------------------------------------------------------------------
 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 mailing list