6f2f21d2ff
New Features: - Flag uploads coming from G2 servents with a "[G2]" tag after IP address. - Added alias support in sharing/querying. - Made the "Clear completed" button in Downloads/Tools do something useful. - Moved "Clear completed" button to the bottom right of the download pane. - Remember fileinfo notebook tab number across sessions. - Remember main notebook tab number across sessions, only restored after crash. - Remember Gnet stats notebook tab number across sessions. - Remember download info / tools notebook tab number across sessions. Improvements: - Added --cleanup to explicitly request for final memory cleanup sequence. - Updated Italian translation. - Updated GeoIP databases. Bug Fixes: - Leaf nodes could end-up being connected to more ultrapeers than configured. - Fixed monitoring of alien threads, important when GTK file selector is used. Under the Hood: - Debian compatibility level changed from 4 to 5. - Make sure we can deal with older pkg-config, which needs leading arguments. - Use "embedded" symbols for xmalloc(), xfree() and friends. - Added "query_trace" property to trace all queries which were searched. - Moved halloc-based string functions like h_strdup() to dedicated hstrfn.c. - Expanded search mask to 64 bits to be able to hold all digits and letters. - Count aliased queries and hits from aliases. - Pre-compute shared file media type at record creation time. - Pass query limits to st_search() to avoid needless pattern matching. - Added h_strsplit() and h_strsplit_set(). - Added strvec_append_with() to expand vector by appending another vector. - crash_assert_logv(): don't call crash_mode() if assert failure was recorded. - entropy_clock_time(): mix the entropy nonce through hashing for more diffusion. - node_can_accept_connection(): only send headers back when handshaking. - qrp_add_file(): optimized to avoid computing word length if not required. - thread_stack_check_overflow(): ignore virtual addresses outside stack range. - vmm_init_once(): ensure any shared library for stacktrace unwinding is loaded.
19 lines
566 B
Bash
19 lines
566 B
Bash
$NetBSD: patch-config__h.SH,v 1.1 2017/02/26 12:58:28 adam Exp $
|
|
|
|
Define HAS_POPCOUNT.
|
|
|
|
--- config_h.SH.orig 2017-02-26 12:33:26.000000000 +0000
|
|
+++ config_h.SH
|
|
@@ -204,6 +204,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#und
|
|
*/
|
|
#$d_built_popcount HAS_BUILTIN_POPCOUNT /**/
|
|
|
|
+/* HAS_POPCOUNT:
|
|
+ * This symbol, if defined, indicates that popcount routine is
|
|
+ * available to compute the amount of '1' bits in a word.
|
|
+ */
|
|
+#$d_popcount HAS_POPCOUNT /**/
|
|
+
|
|
/* HAS_BZERO:
|
|
* This symbol is defined if the bzero() routine is available to
|
|
* set a memory block to 0.
|