diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index a27c8f3174..3032263502 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -433,6 +433,12 @@ automatically free()d when the dissection of the current packet ends so you don't have to worry about free()ing them explicitly in order to not leak memory. Please read README.malloc. +When using g_strsplit() from glib, place an #include <epan/ws_strsplit.h> at +the top of your file. This file will leave in place g_strsplit() when using +GTK/GLib v2 and replace it with GLib v2 code when compiling for GTK/GLib 1. +This is necessary because the GLib v1 version of g_strsplit is known to be +buggy. In either case, you will still use the g_strsplit() function name +as usual in your code. 1.1.3 Robustness. |