Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
openssh-testuser.26950
openssh-bsc1148566-scp-show-filename-match-patt...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssh-bsc1148566-scp-show-filename-match-patterns-in-verbose-mode.patch of Package openssh-testuser.26950
From 5121c1fad88f1a1249582dd4fec7c8114350387c Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson <hpj@suse.com> Date: Wed, 26 Oct 2022 10:02:10 +0200 Subject: [PATCH] openssh-bsc1148566-scp-show-filename-match-patterns-in-verbose-mode @@ -, +, @@ --- scp.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scp.c b/scp.c index ac4a9ac5..af554816 100644 --- a/scp.c +++ b/scp.c @@ -1421,8 +1421,16 @@ sink(int argc, char **argv, const char *src) if (fnmatch(patterns[n], cp, 0) == 0) break; } - if (n >= npatterns) + if (n >= npatterns) { + if (verbose_mode) { + fprintf(stderr, "expected filenames:\n"); + for (n = 0; n < npatterns; n++) + fprintf(stderr, " \"%s\"\n", patterns[n]); + fprintf(stderr, "incoming filename:\n"); + fprintf(stderr, " \"%s\"\n", cp); + } SCREWUP("filename does not match request"); + } } if (targisdir) { static char *namebuf; -- 2.38.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor