[ntp:bk-ntp-dev-send] BitKeeper diffs

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Thu Nov 20 10:35:24 UTC 2014


#### ChangeSet ####
2014-11-20 10:21:46+00:00, stenn at psp-fb1.ntp.org
  [Bug 2677] PATH_MAX isn't #define'd  under Windows

==== ChangeLog ====
2014-11-20 10:21:35+00:00, stenn at psp-fb1.ntp.org +2 -0
  [Bug 2677] PATH_MAX isn't #define'd  under Windows

--- 1.1566/ChangeLog	2014-11-15 03:58:16 -05:00
+++ 1.1567/ChangeLog	2014-11-20 05:21:35 -05:00
@@ -1,3 +1,5 @@
+* [Bug 2677] PATH_MAX isn't #define'd  under Windows.
+  Regression from the patch fixing Bug 2639.
 (4.2.7p479) 2014/11/15 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 2651] Certificates with ASN timestamps w/ 4-digit years mis-parsed.
 (4.2.7p478) 2014/11/14 Released by Harlan Stenn <stenn at ntp.org>

==== ntpd/ntp_loopfilter.c ====
2014-11-20 10:21:35+00:00, stenn at psp-fb1.ntp.org +3 -0
  [Bug 2677] PATH_MAX isn't #define'd  under Windows

--- 1.173/ntpd/ntp_loopfilter.c	2014-11-14 04:39:51 -05:00
+++ 1.174/ntpd/ntp_loopfilter.c	2014-11-20 05:21:35 -05:00
@@ -124,6 +124,9 @@ static int loop_started;	/* TRUE after L
 static void rstclock (int, double); /* transition function */
 static double direct_freq(double); /* direct set frequency */
 static void set_freq(double);	/* set frequency */
+#ifndef PATH_MAX
+# define PATH_MAX MAX_PATH
+#endif
 static char relative_path[PATH_MAX + 1]; /* relative path per recursive make */
 static char *this_file = NULL;
 


More information about the bk-ntp-dev-send mailing list