Skip to content

Commit

Permalink
[XrdCl] Stat local file without opaqueinfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Sep 10, 2019
1 parent c1d8d12 commit 45f4d8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/XrdApps/XrdCpFile.cc
Expand Up @@ -159,7 +159,10 @@ int XrdCpFile::Resolve()

// This should exist but it might not, the caller will determine what to do
//
char *cgibeg = strchr( Path, '?' );
if( cgibeg ) *cgibeg = '\0';
if (stat(Path, &Stat)) return errno;
if( cgibeg ) *cgibeg = '?';

// Find out what this really is
//
Expand Down

0 comments on commit 45f4d8c

Please sign in to comment.