From 7f93e283aa333cfe306cd3bdccbb59c63a0e832b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 7 Dec 2011 16:08:55 +0000 Subject: Apropos and man.cgi should strcasecmp their output sorting. man.cgi should sort in the first place -- it wasn't before. Revert uppercasing of man.cgi title. --- apropos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apropos.c') diff --git a/apropos.c b/apropos.c index ae4cedca..b33855e1 100644 --- a/apropos.c +++ b/apropos.c @@ -1,4 +1,4 @@ -/* $Id: apropos.c,v 1.22 2011/11/29 10:53:42 kristaps Exp $ */ +/* $Id: apropos.c,v 1.23 2011/12/07 16:08:55 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -133,7 +133,7 @@ static int cmp(const void *p1, const void *p2) { - return(strcmp(((const struct res *)p1)->title, + return(strcasecmp(((const struct res *)p1)->title, ((const struct res *)p2)->title)); } -- cgit v1.2.3