From 4116a00679e567e77bed92a5027e8bef1d9513ff Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Sat, 17 Oct 2009 15:12:40 +0200 Subject: [PATCH 1/2] List all the excluded files for make check-spaces The file listing for excluded files was outdated. tree.h doesn't exist anymore, and several other files were missing. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 24b30bc092..850ab71bb5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,7 +61,8 @@ doxygen: test: all ./src/test/test -# Avoid strlcpy.c, strlcat.c, tree.h +# Avoid strlcpy.c, strlcat.c, aes.c, OpenBSD_malloc_Linux.c, sha256.c, +# eventdns.[hc], tinytest.[ch] check-spaces: ./contrib/checkSpace.pl -C \ src/common/*.h \ From 28b29e0fd7a81e4e36e3c133c7a98d0d9021ccfc Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Mon, 19 Oct 2009 10:59:25 +0200 Subject: [PATCH 2/2] Fix typo in a comment --- src/common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/util.c b/src/common/util.c index 989efd9581..a25d3d16ae 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2451,7 +2451,7 @@ tor_vsscanf(const char *buf, const char *pattern, va_list ap) * long widths. %u does not consume any space. Is locale-independent. * Returns -1 on malformed patterns. * - * (As with other local-independent functions, we need this to parse data that + * (As with other locale-independent functions, we need this to parse data that * is in ASCII without worrying that the C library's locale-handling will make * miscellaneous characters look like numbers, spaces, and so on.) */