Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wyang007 committed May 29, 2019
1 parent 01c92d1 commit a5da760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ OBJECTS=XrdOucName2NameDCP4RUCIO.o XrdOssStatInfoDCP.o rucioGetMetaLink.o pfn2ca
DEBUG=-g

XrdName2NameDCP4RUCIO.so: $(OBJECTS) Makefile
g++ ${DEBUG} -shared -fPIC -o $@ $(OBJECTS) -ldl -lssl -lcurl -lXrdCl -lXrdFileCache-4 -lstdc++
g++ ${DEBUG} -shared -fPIC -o $@ $(OBJECTS) -L${XRD_LIB} -L${XRD_LIB}/XrdCl -ldl -lssl -lcurl -lXrdCl -lXrdFileCache-4 -lstdc++

XrdOucName2NameDCP4RUCIO.o: XrdOucName2NameDCP4RUCIO.cc ${HEADERS} Makefile
g++ ${DEBUG} ${FLAGS} -fPIC -I ${XRD_INC} -I ${XRD_LIB} -c -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion XrdOucName2NameDCP4RUCIO.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int XrdOucName2NameDiskCacheProxy4Rucio::lfn2pfn(const char* lfn, char* buff, in
myLfn = lfn;
// see comments in pfn2cache()

// Do not allow users to specify file:// or root://localhost
// Do not allow users to specify file:// or root://localfile
if (myLfn.find("/root:/localfile") == 0 || myLfn.find("/file:/") == 0)
{
myPfn = "ENOENT";
Expand Down

0 comments on commit a5da760

Please sign in to comment.