From 25d7fab329afd72979fc9aa2a258438ae498da01 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 31 Oct 2014 09:40:26 +0100 Subject: updated text for gnutls_fd_in_use() to account the new behavior --- doc/cha-gtls-app.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi index 55d0879d51..b4932ca01d 100644 --- a/doc/cha-gtls-app.texi +++ b/doc/cha-gtls-app.texi @@ -280,9 +280,9 @@ The resources allocated by the initialization process will be released on library deinitialization, or explictly by calling @funcref{gnutls_global_deinit}. Note that during initialization file descriptors may be kept open by -GnuTLS (e.g. /dev/urandom). The helper function @funcref{gnutls_fd_in_use} -is given to assist applications closing all unknown file descriptors -on initialization. +GnuTLS (e.g. /dev/urandom) on library load. Applications closing all unknown file +descriptors must immediately call @funcref{gnutls_global_init}, after that, to +ensure they don't disrupt GnuTLS' operation. @c In order to take advantage of the internationalization features in @c GnuTLS, such as translated error messages, the application must set -- cgit v1.2.1