freebsd-nq/release/picobsd/tinyware
David Malone 8fb0d51534 Improve MIME handling. This patch is based on Eugene's patch, but
with the following changes:

1) Don't make a mime_types.h 'cos we should avoid creating variables
   in header files,
2) Use strrchr to find the extension, rather than strchr,
3) Slightly simplify the mime-type matching loop.

any goof are likely to be mine. Note that there are links to more
improvements by Eugene in the PR.

PR:		29725
Submitted by:	Eugene Grosbein <eugen@kuzbass.ru>
2004-08-16 09:38:34 +00:00
..
aps
help
login de-__P() 2002-10-10 00:32:55 +00:00
msg
msh Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
ns Function declared void shouldn't return any value... 2002-03-27 20:10:53 +00:00
oinit de-__P() 2002-10-10 00:32:55 +00:00
passwd style cleanup: Remove duplicate $FreeBSD$ tags. 2004-02-10 20:42:33 +00:00
simple_httpd Improve MIME handling. This patch is based on Eugene's patch, but 2004-08-16 09:38:34 +00:00
sps Make this compile again 2002-03-11 08:03:50 +00:00
view de-__P() 2002-10-10 00:32:55 +00:00
vm Use the correct sysctl names for intrcnt and intrnames. 2001-10-25 01:29:21 +00:00