[ntpsec commit] In probes.py, simpilfy a test and fix some typos.
Eric S. Raymond
esr at ntpsec.org
Fri Oct 2 17:12:43 UTC 2015
Module: ntpsec
Branch: master
Commit: d35ff56b46687118910aa4510b228de182fe4102
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=d35ff56b46687118910aa4510b228de182fe4102
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Fri Oct 2 13:11:51 2015 -0400
In probes.py, simpilfy a test and fix some typos.
---
pylib/probes.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/pylib/probes.py b/pylib/probes.py
index 7d6435a..b5a2668 100644
--- a/pylib/probes.py
+++ b/pylib/probes.py
@@ -31,16 +31,14 @@ int main() {
mandatory = False)
# What we really want to do here is test to see if the following program
-# compiles *and exits with 9 status*. Because we don;t know how to check
-# the return status we must seettle for a simpler tesl
+# compiles *and exits with 9 status*. Because we don't know how to check
+# the return status we must settle for a simpler test.
'''
#include <stdarg.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
-int call_vsnprintf(char *dst, size_t sz, const char *fmt, ...);
-
int call_vsnprintf(char *dst, size_t sz, const char *fmt,...)
{
va_list ap;
More information about the vc
mailing list