Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
The exception is that ColumnLimit is 90.
|
|
split message print fuctions (mpr_*), strerrno, and mscp_get/set_error
into print.c/h and strerrno.c/h.
ToDo: revise usages of priv_set_errv and pr_* functions.
|
|
|
|
instead, mpr_* functions print messages to stdout or stderr directly.
|
|
|
|
This commit makes struct path allocation use strndup().
It reduices the memory footprint for struct path per file (issue #8).
|
|
-I INTERVAL option inserts sleep for interval (seconds) between
SSH connection attempts (issue #7).
|
|
Previously wrapper functions for open(), opendir(), and stat(), etc,
are implemneted in path.h, and now they are in fileops.h and fileops.c.
This commit is a reparation for remote glob.
|
|
Instead of m->threads array, struct mscp_thread instanes are
maintained in m->thread_list. This enables stable counter access
via mscp_get_stats().
|
|
|
|
|
|
This commit runs mscp_prepare() in a pthread. mscp copy threads
run aysnchronously with mscp_prepare(). So, when mscp_prepare()
has not finished yet (due to too many source files), we can start
to copy files.
|
|
In new walk_src_path, resolve dst path and resolve chunks are
invoked when adding a path.
|
|
ToDo:
main should use pipe to receive messages from libmscp.
|
|
Instead of pr_err(), libmscp uses mscp_set_error() and
applications use mscp_get_errror() to get error message.
|
|
|
|
|
|
|
|
this commit starts to refactor file.h|c to path.h|c and
add mscp.c|h. not completed yet.
|