]> cygwin.com Git - cygwin-apps/setup.git/commit
Fix scope problem when using the return value of get_root_dir()
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 1 Sep 2016 11:52:33 +0000 (13:52 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 1 Sep 2016 11:52:33 +0000 (13:52 +0200)
commitd396ed1058cc89878344a6a1c7097b2cbe88274e
treeefcd154b0ec256afb0efc10258fdcee692f646db
parent4f0fb3e4b44b79600e27136d5bbf4607a3fd45fa
Fix scope problem when using the return value of get_root_dir()

Let get_root_dir return a reference instead of a temporary
std::string object.  In directory_is_absolute() and
directory_is_rootdir(), use std::string methods rather than
falling back to plain C techniques.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
mount.cc
mount.h
root.cc
This page took 0.033678 seconds and 5 git commands to generate.