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.h | ||
| certman.h | ||
| certs_test.h | ||
| error.h | ||
| include.am | ||
| internal.h | ||
| keygen.h | ||
| log.h | ||
| misc.h | ||
| ossh.h | ||
| port.h | ||
| settings.h | ||
| ssh.h | ||
| test.h | ||
| version.h | ||
| version.h.in | ||
| visibility.h | ||
| wolfscp.h | ||
| wolfsftp.h | ||