Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-0]: src Pull up following revision(s) (requested by mrg in tick...
details: https://anonhg.NetBSD.org/src/rev/49734b89d3a9
branches: netbsd-6-0
changeset: 775119:49734b89d3a9
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Apr 15 20:19:00 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.0.7 | 6 +++++-
libexec/httpd/cgi-bozo.c | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (49 lines):
diff -r 9a7d1345fa71 -r 49734b89d3a9 doc/CHANGES-6.0.7
--- a/doc/CHANGES-6.0.7 Fri Apr 15 19:38:51 2016 +0000
+++ b/doc/CHANGES-6.0.7 Fri Apr 15 20:19:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-6.0.7,v 1.1.2.60 2016/04/15 19:38:51 snj Exp $
+# $NetBSD: CHANGES-6.0.7,v 1.1.2.61 2016/04/15 20:19:00 mrg Exp $
A complete list of changes from the NetBSD 6.0.6 release to the NetBSD 6.0.7
release:
@@ -7791,3 +7791,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 9a7d1345fa71 -r 49734b89d3a9 libexec/httpd/cgi-bozo.c
--- a/libexec/httpd/cgi-bozo.c Fri Apr 15 19:38:51 2016 +0000
+++ b/libexec/httpd/cgi-bozo.c Fri Apr 15 20:19:00 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgi-bozo.c,v 1.20.8.2 2016/04/15 19:38:13 snj Exp $ */
+/* $NetBSD: cgi-bozo.c,v 1.20.8.3 2016/04/15 20:19:00 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