[Git][NTPsec/ntpsec][master] Updare to porting guidelines.

Eric S. Raymond gitlab at mg.gitlab.com
Sat Aug 26 16:54:41 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
98ed7cc3 by Eric S. Raymond at 2017-08-26T12:49:36-04:00
Updare to porting guidelines.

- - - - -


1 changed file:

- devel/hacking.txt


Changes:

=====================================
devel/hacking.txt
=====================================
--- a/devel/hacking.txt
+++ b/devel/hacking.txt
@@ -61,6 +61,9 @@ You can view POSIX.1-2001, SUSv3, online for free here:
 
 POSIX threads *are* considered part of the standardized API and may be used.
 
+You *may* assume the clock_gettime(2) and clock_settime(2) calls, and
+the related getitimer(2)/setitimer(2), from POSIX-1.2008.
+
 Here are the non-standardized APIs that may be used:
 
 * Either ntp_adjtime() or the older BSD adjtime(2).
@@ -72,6 +75,10 @@ Here are the non-standardized APIs that may be used:
   hidden as an implementation of the isc_interfaceiter.c functions,
   not called directly from the rest of the code.
 
+* Local facilities for reading packet arrival timestamps out of the
+  UDP packet layer.  See ntpd/ntp_packetstamp.c for details - if you
+  add a local hack to do this, it needs to be sealed inside that module.
+
 === Banned functions ===
 
 The following C99/POSIX functions are BANNED.  They are unsafe, tending to
@@ -215,11 +222,15 @@ back-compatibility issues that trying to make them run is probably
 doomed.  The first 3.x version under which our Python has been
 extensively tested is 3.5.
 
-Please check your Python code with the Pyflakes.  If your code fails
+Please check your Python code with Pyflakes.  If your code fails
 a Pyflakes test, we probably will not merge it.
 
 https://pypi.python.org/pypi/pyflakes
 
+Note: In the future, the Python baseline may
+http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html[change
+t 2.7.2].
+
 == General notes ==
 
 === Build system ===



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/98ed7cc3dbd9650168b10cf5bb3bc156c92a5476

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/98ed7cc3dbd9650168b10cf5bb3bc156c92a5476
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170826/1a6cdf7e/attachment.html>


More information about the vc mailing list