CVS update: samba/source/param

abartlet at samba.org abartlet at samba.org
Sun Jul 8 23:02:19 EST 2001


Date:	Sun Jul  8 06:02:18 2001
Author:	abartlet

Update of /data/cvs/samba/source/param
In directory va:/tmp/cvs-serv9508

Modified Files:
	loadparm.c 
Log Message:
Fix the loading of configuration files using the include syntax.

We had a problem where if a % macro in the smb.conf could be ignored if the
various files it pointed to had the same time-stamp.  

This changes the code to insted check that the both the time-stamp and the
substituted filename are the same over each change.

This was picked up only becouse the build-farm automaticly generates its config
files, and hence gets identical timestamps.

(Why this doesn't happen all the time I'm not entirly sure, somthing to do with
the 'test' paramater to reload_services(), but this fixes this problem).

Andrew Bartlett


Revisions:
loadparm.c		1.312 => 1.313
	http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.312&r2=1.313




More information about the samba-cvs mailing list