[Git][NTPsec/ntpsec][syslog] 2 commits: Added check of python install directories in PYTHONPATH.

Ian Bruene gitlab at mg.gitlab.com
Sat Sep 1 00:00:00 UTC 2018


Ian Bruene pushed to branch syslog at NTPsec / ntpsec


Commits:
8de92230 by Ian Bruene at 2018-08-31T23:34:01Z
Added check of python install directories in PYTHONPATH.

- - - - -
57f5b2c4 by Ian Bruene at 2018-08-31T23:58:51Z
Added syslog-like attribute to msyslog.

- - - - -


2 changed files:

- libntp/msyslog.c
- wscript


Changes:

=====================================
libntp/msyslog.c
=====================================
@@ -309,6 +309,9 @@ msyslog(
 	...
 	)
 {
+#ifdef __sysloglike
+	__sysloglike(2, 3);
+#endif
 	char	buf[1024];
 	va_list	ap;
 


=====================================
wscript
=====================================
@@ -1100,6 +1100,9 @@ def build(ctx):
         if "PYTHONPATH" not in os.environ:
             print("--- PYTHONPATH is not set, "
                   "loading the Python ntp library may be troublesome ---")
+        elif ctx.env.PYTHONARCHDIR not in os.environ["PYTHONPATH"]:
+            print("--- PYTHONDARCHIR not in PYTHONPATH"
+                  "loading the Python ntp library may be troublesome ---")
 
 #
 # Boot script setup



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/bb848d7721da7f77df47af91afdfe63e88a29876...57f5b2c4483d7b6eec475351578776fc8adf10b5

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/bb848d7721da7f77df47af91afdfe63e88a29876...57f5b2c4483d7b6eec475351578776fc8adf10b5
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/20180901/6f06f147/attachment-0001.html>


More information about the vc mailing list