Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src Pull up following revision(s) (requested by mrg in ticket...
details: https://anonhg.NetBSD.org/src/rev/6ba5c0bba5ee
branches: netbsd-6
changeset: 777045:6ba5c0bba5ee
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Apr 15 20:19:24 2016 +0000
description:
Pull up following revision(s) (requested by mrg in ticket #1377):
libexec/httpd/cgi-bozo.c 1.34
use %zu instead of %lu for size_t.
(ok snj@)
diffstat:
doc/CHANGES-6.2 | 6 +++++-
libexec/httpd/cgi-bozo.c | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (49 lines):
diff -r baa434deca67 -r 6ba5c0bba5ee doc/CHANGES-6.2
--- a/doc/CHANGES-6.2 Fri Apr 15 19:36:28 2016 +0000
+++ b/doc/CHANGES-6.2 Fri Apr 15 20:19:24 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-6.2,v 1.1.2.242 2016/04/15 19:36:28 snj Exp $
+# $NetBSD: CHANGES-6.2,v 1.1.2.243 2016/04/15 20:19:24 mrg Exp $
A complete list of changes from the 6.1 release until the 6.2 release:
@@ -13445,3 +13445,7 @@
o -C option supports now CGI scripts only
[mrg, ticket #1377]
+libexec/httpd/cgi-bozo.c 1.34
+
+ Fix the build: use %zu instead of %lu for size_t.
+ [mrg, ticket #1377]
diff -r baa434deca67 -r 6ba5c0bba5ee libexec/httpd/cgi-bozo.c
--- a/libexec/httpd/cgi-bozo.c Fri Apr 15 19:36:28 2016 +0000
+++ b/libexec/httpd/cgi-bozo.c Fri Apr 15 20:19:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgi-bozo.c,v 1.20.2.2 2016/04/15 19:36:08 snj Exp $ */
+/* $NetBSD: cgi-bozo.c,v 1.20.2.3 2016/04/15 20:19:25 mrg Exp $ */
/* $eterna: cgi-bozo.c,v 1.40 2011/11/18 09:21:15 mrg Exp $ */
@@ -448,11 +448,11 @@
&search_string_argc);
}
- debug((httpd, DEBUG_NORMAL, "parse_search_string args no: %lu",
+ debug((httpd, DEBUG_NORMAL, "parse_search_string args no: %zu",
search_string_argc));
for (i = 0; i < search_string_argc; i++) {
debug((httpd, DEBUG_FAT,
- "search_string[%lu]: `%s'", i, search_string_argv[i]));
+ "search_string[%zu]: `%s'", i, search_string_argv[i]));
}
argv = bozomalloc(httpd, sizeof(*argv) * (3 + search_string_argc));
@@ -578,7 +578,7 @@
path));
for (i = 0; argv[i] != NULL; i++) {
- debug((httpd, DEBUG_FAT, "bozo_process_cgi: argv[%lu] = `%s'",
+ debug((httpd, DEBUG_FAT, "bozo_process_cgi: argv[%zu] = `%s'",
i, argv[i]));
}
Home |
Main Index |
Thread Index |
Old Index