From 251198a1d6d29585c5730c65ecbc85ccd3f4e834 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Mon, 16 Mar 2009 12:41:47 +0100 Subject: [PATCH] Applied Olivier's patches. --- selector.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/selector.cc b/selector.cc index f4d7930..de06b45 100644 --- a/selector.cc +++ b/selector.cc @@ -58,23 +58,6 @@ int remove_duplicates = 0; ////////////////////////////////////////////////////////////////////// -// int test_and_set_hash(char *s, char **hashed, int hash_size) { - // uint32_t code = 0, mask; - // int result; - - // for(int k = 0; s[k]; k++) { - // code += ((uint32_t) (s[k])) << (8 * k%4); - // } - - // code = code%hash_table_size; - - // if(hashed[code]) { - // } else { - // } -// } - -////////////////////////////////////////////////////////////////////// - // This looks severely Linux-only ... void inject_into_tty_buffer(char *line) { -- 2.39.5