Document the assumption that all URLs passed into urldb are already normalised. Violate this precondition at your peril.

svn path=/trunk/netsurf/; revision=6371
This commit is contained in:
John Mark Bell 2009-02-06 02:08:00 +00:00
parent 961be4593b
commit 19321017a9

View File

@ -79,6 +79,10 @@
* with similar performance characteristics, but with a significantly
* simpler implementation. Entries in this tree comprise pointers to the
* leaf nodes of the host tree described above.
*
* REALLY IMPORTANT NOTE: urldb expects all URLs to be normalised. Use of
* non-normalised URLs with urldb will result in undefined behaviour and
* potential crashes.
*/
#define _GNU_SOURCE /* For strndup */