[openssh-commits] [openssh] 02/03: Add SSIZE_MAX when we define ssize_t.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Nov 16 09:00:35 AEDT 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 134a74f4e0cf750931f1125beb2a3f40c54c8809
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Nov 15 18:55:13 2019 +1100

    Add SSIZE_MAX when we define ssize_t.
---
 defines.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/defines.h b/defines.h
index b3a2b43d..03212de6 100644
--- a/defines.h
+++ b/defines.h
@@ -336,6 +336,7 @@ typedef unsigned int size_t;
 
 #ifndef HAVE_SSIZE_T
 typedef int ssize_t;
+#define SSIZE_MAX INT_MAX
 # define HAVE_SSIZE_T
 #endif /* HAVE_SSIZE_T */
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list