From 896b390bda7935b1fbc5244e7655b49a2a089bf5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 24 Jul 2014 08:26:57 +0000 Subject: Provide a dropdown entry "All Architectures" and make it the default. Still, amd64 remains the default in the following sense: If a man(1) mode search returns more than one page of the same name, prefer amd64 over other architectures for immediate display. ok deraadt@ daniel@ --- cgi.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/cgi.c b/cgi.c index 0b3ac814..e505b928 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.80 2014/07/22 18:14:13 schwarze Exp $ */ +/* $Id: cgi.c,v 1.81 2014/07/24 08:26:57 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -422,7 +422,11 @@ resp_searchform(const struct req *req) /* Write architecture selector. */ - puts("\n" + ""); for (i = 0; i < arch_MAX; i++) { printf("