mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-13 07:56:30 +00:00
Trim symbolic link original path in file.
This commit is contained in:
parent
5db369d67e
commit
7fabd18b1f
@ -868,7 +868,6 @@ static int s3fs_readlink(const char* path, char* buf, size_t size)
|
||||
|
||||
// check buf if it has space words.
|
||||
string strTmp = trim(string(buf));
|
||||
ressize = static_cast<ssize_t>(strTmp.length());
|
||||
strcpy(buf, strTmp.c_str());
|
||||
|
||||
FdManager::get()->Close(ent);
|
||||
|
Loading…
Reference in New Issue
Block a user