From d355fd024e68f6c955bff1d004968b24d10b2e32 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 23 Sep 2007 11:06:26 +0000 Subject: some small improvements to the code based on some source code checks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c --- common/tio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') diff --git a/common/tio.c b/common/tio.c index 76c41d4..7d3e197 100644 --- a/common/tio.c +++ b/common/tio.c @@ -35,6 +35,8 @@ /* buffer size for both read and write buffers */ /* TODO: pass this along with the open function */ +/* Note that this size should not be larger than SSIZE_MAX because otherwise + write() of such blocks is undefined */ #define TIO_BUFFERSIZE (4*1024) /* structure that holds a buffer */ -- cgit v1.2.3