mirror of https://github.com/wolfSSL/wolfssh.git
SSH_FXP_REMOVE does not take directories and SSH_FXP_RENAME fails on an existing newpath (draft-ietf-secsh-filexfer-02 6.5). The non-Windows handlers check with an lstat first, oldpath before newpath, and REMOVE unlinks. A regular file renames by linkat() and unlink(), which refuses an existing name atomically; anything else checks then calls rename(). - configure: probe for linkat() - port.h: WUNLINK on POSIX, WLINK as linkat() when configure finds it - FatFs, Nucleus: only "/" and "/." stand in for the root - regress: test both against files, directories, symlinks and a read-only directory Issue: F-15535, F-15536 |
||
|---|---|---|
| .. | ||
| agent.c | ||
| certman.c | ||
| include.am | ||
| internal.c | ||
| io.c | ||
| keygen.c | ||
| log.c | ||
| misc.c | ||
| ossh.c | ||
| port.c | ||
| ssh.c | ||
| wolfscp.c | ||
| wolfsftp.c | ||
| wolfterm.c | ||