From 7a319cd96f7f4869300b32442ebe892ae557f41c Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 8 Feb 2016 15:47:49 +0100
Subject: erts: Fix error cases in enif_get_list_length
false if improper list
false if length > UINT_MAX
---
erts/doc/src/erl_nif.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'erts/doc')
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index 420c9fea38..be0e406b9c 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -753,7 +753,7 @@ typedef enum {
intenif_get_list_length(ErlNifEnv* env, ERL_NIF_TERM term, unsigned* len)
Get the length of list term
Set *len to the length of list term and return true,
- or return false if term is not a list.
+ or return false if term is not a proper list.
intenif_get_long(ErlNifEnv* env, ERL_NIF_TERM term, long int* ip)
Read an long integer term
--
cgit v1.2.3