Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/libexec/httpd Add back a netbsd-6* workaround accidentall...
details: https://anonhg.NetBSD.org/src/rev/005b1176b676
branches: netbsd-6
changeset: 777146:005b1176b676
user: snj <snj%NetBSD.org@localhost>
date: Wed Mar 08 00:38:18 2017 +0000
description:
Add back a netbsd-6* workaround accidentally removed in ticket 1437:
Explicitly initialize uid to avoid a gcc warning.
diffstat:
libexec/httpd/bozohttpd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f360723a0c98 -r 005b1176b676 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Tue Mar 07 21:02:13 2017 +0000
+++ b/libexec/httpd/bozohttpd.c Wed Mar 08 00:38:18 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.c,v 1.30.2.4 2017/03/07 07:25:18 snj Exp $ */
+/* $NetBSD: bozohttpd.c,v 1.30.2.5 2017/03/08 00:38:18 snj Exp $ */
/* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */
@@ -2243,7 +2243,7 @@
struct passwd *pw;
extern char **environ;
static char *cleanenv[1] = { NULL };
- uid_t uid;
+ uid_t uid = 0;
int uidset = 0;
char *chrootdir;
char *username;
Home |
Main Index |
Thread Index |
Old Index