From 569202c9a4efa15831cc260cea44d2756fbcac59 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Jan 2011 09:40:40 +0100 Subject: [PATCH] TODO: get rid of PATH_MAX --- docs/TODO | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/TODO b/docs/TODO index 0a4c9815e..c1b7e129c 100644 --- a/docs/TODO +++ b/docs/TODO @@ -16,6 +16,7 @@ 1.2 More data sharing 1.3 struct lifreq 1.4 signal-based resolver timeouts + 1.5 get rid of PATH_MAX 2. libcurl - multi interface 2.1 More non-blocking @@ -134,6 +135,15 @@ Also, alarm() provides timeout resolution only to the nearest second. alarm ought to be replaced by setitimer on systems that support it. +1.5 get rid of PATH_MAX + + Having code use and rely on PATH_MAX is not nice: + http://insanecoding.blogspot.com/2007/11/pathmax-simply-isnt.html + + Currently the SSH based code uses it a bit, but to remove PATH_MAX from there + we need libssh2 to properly tell us when we pass in a too small buffer and + its current API (as of libssh2 1.2.7) doesn't. + 2. libcurl - multi interface 2.1 More non-blocking