Projects
Factory:RISC-V:Base
openssh
_service:tar_scm:openssh-6.6.1p1-scp-non-existi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:openssh-6.6.1p1-scp-non-existing-directory.patch of Package openssh
--- a/scp.c +++ a/scp.c @@ -1084,6 +1084,10 @@ sink(int argc, char **argv) free(vect[0]); continue; } + if (buf[0] == 'C' && ! exists && np[strlen(np)-1] == '/') { + errno = ENOTDIR; + goto bad; + } omode = mode; mode |= S_IWUSR; if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) == -1) { --
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2