Parent Directory
|
Revision Log
|
Patch
| Revision 1.17 by sysadm, Mon Nov 17 12:16:48 2025 UTC | Revision 1.18 by sysadm, Mon Nov 17 14:01:13 2025 UTC | |
|---|---|---|
| # | Line 126 int set_trie_dict_shm_readonly(void) | Line 126 int set_trie_dict_shm_readonly(void) |
| 126 | shmid = p_trie_node_pool->shmid; | shmid = p_trie_node_pool->shmid; |
| 127 | ||
| 128 | // Remap shared memory in read-only mode | // Remap shared memory in read-only mode |
| 129 | #if defined(__MSYS__) || defined(__MINGW32__) | #if defined(__CYGWIN__) |
| 130 | if (shmdt(p_trie_node_pool) == -1) | if (shmdt(p_trie_node_pool) == -1) |
| 131 | { | { |
| 132 | log_error("shmdt(trie_node_pool) error (%d)\n", errno); | log_error("shmdt(trie_node_pool) error (%d)\n", errno); |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |