Richard Sharpe sharpe at ns.aus.com
Fri Jul 24 03:10:23 GMT 1998


well, Jeremy, I see what you have done, and it is not such a disaster.

To fit in with what I am suggesting, I think I will need to following changes:

In server.c:

int max_open_files = 0;       /* Will have to be extern in other files */
int max_open_directories = 0;

plus some other code to set these to real or default values depending on
what happens in reload_services.

In local.h:

#define MAX_FNUMS (max_open_files+max_open_directories)

This minimizes the changes I need to make, but means that the code is more
difficult to understand.

Does anyone think I should do it differently?

Richard Sharpe, sharpe at ns.aus.com, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...

More information about the samba-technical mailing list