sys::basename now matches boost::filesystem behaviour so if a session name
had a dot in it the session name used in the interchange directory would be
truncated.
git-svn-id: svn://localhost/ardour2/trunk@2408
d708f5d6-7413-0410-9779-
e7cbd77b26cf
path l_sound_path(m_root_path);
l_sound_path /= interchange_dir_name;
- l_sound_path /= basename(m_root_path);
+ l_sound_path /= m_root_path.leaf();
l_sound_path /= sound_dir_name;
return l_sound_path;
path l_midi_path(m_root_path);
l_midi_path /= interchange_dir_name;
- l_midi_path /= basename(m_root_path);
+ l_midi_path /= m_root_path.leaf();
l_midi_path /= midi_dir_name;
return l_midi_path;