From: Pavel Charvat Date: Tue, 14 Jan 2014 19:48:31 +0000 (+0100) Subject: Docs: Checked for problems with common var-len-arrays and alloca() (written by Tom). X-Git-Tag: v5.99~29 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=e4c70112ddbe8a1b012ea47c88d9134748d22077;p=libucw.git Docs: Checked for problems with common var-len-arrays and alloca() (written by Tom). --- diff --git a/ucw/trie.h b/ucw/trie.h index 3e577750..4aae65fa 100644 --- a/ucw/trie.h +++ b/ucw/trie.h @@ -30,12 +30,15 @@ * TRIE_WANT_FIND_BUF node *find_buf(byte *ptr, uns len) * TRIE_WANT_ADD add(*node) * TRIE_WANT_REPLACE node *replace(*node) - * TRIE_WANT_DELETE delete(char *str) - * TRIE_WANT_DELETE_BUF delete_buf(byte *ptr, uns len) - * TRIE_WANT_REMOVE remove(*node) + * TRIE_WANT_DELETE delete(char *str) + * TRIE_WANT_DELETE_BUF delete_buf(byte *ptr, uns len) + * TRIE_WANT_REMOVE remove(*node) * * TRIE_WANT_AUDIT audit() * TRIE_WANT_STATS + * + * Be warned that the implementation is not var-len-arrays friendly and all hell may me unleashed + * if you use these routines in the same function together with var-len-arrays. */ /*** Define once ***/