Commits
- Commit:
df9bb54d629f5085f152e8d6d5f4d098a2adfba2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add -o to chose the path where to save the named file
- Commit:
5d0dedb3fb1363a2f04e15ddc46ea427e40db91c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: print diognistic messages to stderr
excluding the one from cmd_*
- Commit:
14ae3944ec7b3c26fedacdad6a3bea52cd1eb69e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: automatic cd or fetch on the given path
before the given path was used for Tattach. Turns out at least u9fs
doesn't seem to use that field for the initial directory (not sure if it
should). kamiftp now always issues a Tattach with aname="/" and then
does a Twalk on the path: if it names a directory, it becomes the remote
working directory like a `cd' was issued, if it names a file it is
fetched and kamiftp quits.
- Commit:
2c50e0f6595eb735d3345687359274f63b9d7fbb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: always use "/" for attach
- Commit:
2afde960164d9b7c1c8e660fa08f99299d7bd5f3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: use the [user@]host[:port][/path] syntax
instead of taking the path as a separate argument. For some time the
old style will be supported.
- Commit:
315668d47de15aca3c4f52136a3e55cd2adc04dd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
endian.h is not universally available
FreeBSD and NetBSD have sys/endian.h, on MacOS we need to use the
functions from libkern/OSByteOrder.h
see github issue #1
- Commit:
8f7253b29f275cfc3fd6111a54ce1cdd6622d1ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor kamiftp internals
use a FILE (constructed either via fdopen over a socket or funopen
over libtls) for remote I/O
- Commit:
2dfdd11a40cc7c2f468c0b614f7d0aaffa1c6074
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include compat for reallocarray too
reported by @Et7f3 in github issue #1, thanks!
- Commit:
b5c4cc839e3178788f0203eb2cde9d0bf8fc0b76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around macos lack of accept4(2), SOCK_CLOEXEC and NONBLOCK
I always forget that they're not available on darwin; reported by @Et7f3
in github issue #1
- Commit:
16012c8fa7ede11487b07a31204fbe9a5238c632
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add blank before comma, reported by man -Tlint
- Commit:
6cd1a16b12afd9317d374de957a12f8d2781d942
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp.1: specify how USER is used
- Commit:
55c3776073a03773f5690862f9d1b564e540aacf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add TODO
- Commit:
3e92d717b9b64d69e5c273ac7e6732eb4bde8208
- From:
- Omar Polo <op@omarpolo.com>
- Date:
readability
- Commit:
7ede6c1f9feb8b4a0e2c13b4432f6d3702be3f24
- From:
- Omar Polo <op@omarpolo.com>
- Date:
specify the suite components
- Commit:
20f7a94e1890facb6e7f1a12acf4cf5e1e8de977
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around missing LOGIN_NAME_MAX
Both Linux and OpenBSD have LOGIN_NAME_MAX available when including
limits.h, FreeBSD, Darwin and possibly others don't.
FreeBSD (and maybe Darwin) have MAXLOGNAME, so try to use that if
available. Otherwise use _POSIX_LOGIN_NAME_MAX, but only has a fallback
since it has a lower value (9 at the time of writing).
If everything fails, use 32 which is what OpenBSD use by default;
OpenSMTPd also defaults to it.
See also github issue #1