Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src Pull up following revision(s) (requested by mrg in ticket...
details: https://anonhg.NetBSD.org/src/rev/1445c0cd546e
branches: netbsd-7
changeset: 799885:1445c0cd546e
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Apr 15 20:24:30 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-7.1 | 6 +++++-
libexec/httpd/cgi-bozo.c | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (49 lines):
diff -r 5160fc2ab8cd -r 1445c0cd546e doc/CHANGES-7.1
--- a/doc/CHANGES-7.1 Fri Apr 15 19:07:25 2016 +0000
+++ b/doc/CHANGES-7.1 Fri Apr 15 20:24:30 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.1,v 1.1.2.79 2016/04/15 19:07:25 snj Exp $
+# $NetBSD: CHANGES-7.1,v 1.1.2.80 2016/04/15 20:24:30 mrg Exp $
A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.1
release:
@@ -3783,3 +3783,7 @@
library is dlopen/dlclose'd !
[riastradh, ticket #1158]
+libexec/httpd/cgi-bozo.c 1.34
+
+ Fix the build: use %zu instead of %lu for size_t.
+ [mrg, ticket #1141]
diff -r 5160fc2ab8cd -r 1445c0cd546e libexec/httpd/cgi-bozo.c
--- a/libexec/httpd/cgi-bozo.c Fri Apr 15 19:07:25 2016 +0000
+++ b/libexec/httpd/cgi-bozo.c Fri Apr 15 20:24:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgi-bozo.c,v 1.25.2.4 2016/04/15 19:01:05 snj Exp $ */
+/* $NetBSD: cgi-bozo.c,v 1.25.2.5 2016/04/15 20:24:30 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