File src/hashset.c changed (mode: 100644) (index d5c0891..8f80fec) |
... |
... |
int hashset_put(HashSet * hs, const char *key, void *value) { |
69 |
69 |
} |
} |
70 |
70 |
|
|
71 |
71 |
int hashset_add(HashSet * hs, const char *key) { |
int hashset_add(HashSet * hs, const char *key) { |
72 |
|
return hashset_put(hs, key, NULL); |
|
|
72 |
|
return hashset_put(hs, key, "nil"); |
73 |
73 |
} |
} |
74 |
74 |
|
|
75 |
75 |
int hashset_size(const HashSet * hs) { |
int hashset_size(const HashSet * hs) { |
File src/hstr_history.c changed (mode: 100644) (index b3b6978..22bb1e4) |
... |
... |
typedef struct { |
23 |
23 |
|
|
24 |
24 |
static HistoryItems *prioritizedHistory; |
static HistoryItems *prioritizedHistory; |
25 |
25 |
static bool dirty; |
static bool dirty; |
26 |
|
static const char *commandBlacklist[] = {"ls", "pwd", "cd", "hh"}; |
|
|
26 |
|
static const char *commandBlacklist[] = {"ls", "pwd", "cd", "hh", "mc"}; |
27 |
27 |
|
|
28 |
28 |
#ifdef DEBUG_RADIX |
#ifdef DEBUG_RADIX |
29 |
29 |
#define DEBUG_RADIXSORT() radixsort_stat(&rs); exit(0) |
#define DEBUG_RADIXSORT() radixsort_stat(&rs); exit(0) |