(start_server, main, service_main): Call emp_config() earlier.
(main): Call loginit() later, after emp_config(). Previously, the program logged to the default datadir until emp_config(). (init_server, start_sever): Split start_server() into initialization and actual startup. Move initialization before disassoc(). (main, init_server): Log server startup only after initialization is complete.
This commit is contained in:
parent
e215af5ac5
commit
830c171dd2
3 changed files with 30 additions and 15 deletions
|
@ -48,7 +48,8 @@
|
|||
extern void close_files(void);
|
||||
extern void panic(int sig);
|
||||
extern void shutdwn(int sig);
|
||||
extern void start_server(int, char *);
|
||||
extern void init_server(int);
|
||||
extern void start_server(int);
|
||||
#if defined(_WIN32)
|
||||
extern void loc_NTTerm(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue