From: Harlan Stenn Date: Wed, 16 May 2007 04:26:17 +0000 (-0400) Subject: [Bug 822] set progname once, early. X-Git-Tag: NTP_4_2_5P34~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c1ad81a7ea9714b0f2b3bacb69faaefad2c28d;p=thirdparty%2Fntp.git [Bug 822] set progname once, early. bk: 464a87e9kZVGPEEU2EaVo9xK9dSkjg --- diff --git a/ChangeLog b/ChangeLog index 08e523ba9..82587648c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 822] set progname once, early. * [Bug 819] remove erroneous #if 0 in Windows completion port code. * The new config code missed an #ifdef for building without refclocks. * Distribute some files needed by the new config parsing code. diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 5fa0d5b6b..df9dc67da 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -1819,7 +1819,6 @@ void getconfig(int argc,char *argv[]) alt_config_file = alt_config_file_storage; #endif /* SYS_WINNT */ - progname = argv[0]; res_fp = NULL; ntp_syslogmask = NLOG_SYNCMASK; /* set more via logconfig */