Change readline version check to <6.2

Required for compilation on Fedora against readline version 6.2
Update NEWS

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Fix typo in #define

Thanks to Ryan Schmidt for the patch. Closes #40

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Updates NEWS

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Rename clearerr to clear_error

This should help with #41.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Use UINT_MAX

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Fix a warning
Document stuff needed to run autogen.sh

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Remove extra \001

Fixes #42
Reformat

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Fix use-after-free while handling %L

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Handle getcwd failure

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Move MIN to syshdr.h

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Use strtoul to parse numbers

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Fix a warning
ftp->code does not make sense for sftp connections

Fixes #43

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Rephrase questions to trust host key

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Fill %u on ssh connections without specifying user explicitly

Fixes #45.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Check input correctly

Fixes #44

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Really check the buf correctly

Thank you, Josh.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>