summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/fileutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index 4e72d8462..c74632218 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -773,9 +773,9 @@ string flAbsPath(string File)
_error->Errno("realpath", "flAbsPath on %s failed", File.c_str());
return "";
}
- std::string AbsPath(p);
+ File = p;
free(p);
- return AbsPath;
+ return File;
}
/*}}}*/
std::string flNormalize(std::string file) /*{{{*/