]> granicus.if.org Git - curl/commitdiff
TODO: get rid of PATH_MAX
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2011 08:40:40 +0000 (09:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2011 08:40:40 +0000 (09:40 +0100)
docs/TODO

index 0a4c9815e04d225a011add0346d8aa8766ef2ef0..c1b7e129cf5a839f21c883a947aee6f5cdbf39dc 100644 (file)
--- 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
  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