projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e55df4
)
Applied Olivier's patches.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 16 Mar 2009 11:41:47 +0000
(12:41 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 16 Mar 2009 11:41:53 +0000
(12:41 +0100)
selector.cc
patch
|
blob
|
history
diff --git
a/selector.cc
b/selector.cc
index
f4d7930
..
de06b45
100644
(file)
--- 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) {
// This looks severely Linux-only ...
void inject_into_tty_buffer(char *line) {