diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-10 01:46:02 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-10 01:46:02 +0200 |
commit | 33d8d08f7818a6d10e14ad8397c61adfcd377a6f (patch) | |
tree | 8653ac3a95e6cd5a23138392e9b9a091df799e3e /libbb | |
parent | d069e5398d7538bdcf0e97c357c28aade3d01a28 (diff) | |
download | busybox-w32-33d8d08f7818a6d10e14ad8397c61adfcd377a6f.tar.gz busybox-w32-33d8d08f7818a6d10e14ad8397c61adfcd377a6f.tar.bz2 busybox-w32-33d8d08f7818a6d10e14ad8397c61adfcd377a6f.zip |
httpd: shrink mime type matching code (suggested by Bernhard)
function old new delta
static.suffixTable 100 231 +131
send_file_and_exit 625 658 +33
handle_incoming_and_exit 2749 2745 -4
send_cgi_and_exit 936 901 -35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 164/-39) Total: 125 bytes
text data bss dec hex filename
824631 458 6956 832045 cb22d busybox_old
824550 458 6956 831964 cb1dc busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/isdirectory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c index 28ed3ec29..4a2961e0d 100644 --- a/libbb/isdirectory.c +++ b/libbb/isdirectory.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Return TRUE if fileName is a directory. | 15 | * Return TRUE if fileName is a directory. |
16 | * Nonexistent files return FALSE. | 16 | * Nonexistent files return FALSE. |
17 | */ | 17 | */ |
18 | int FAST_FUNC is_directory(const char *fileName, const int followLinks, struct stat *statBuf) | 18 | int FAST_FUNC is_directory(const char *fileName, int followLinks, struct stat *statBuf) |
19 | { | 19 | { |
20 | int status; | 20 | int status; |
21 | struct stat astatBuf; | 21 | struct stat astatBuf; |