In file_relative_name(), append the remainder of the path by its own length, and do not add a second trailing slash under –slash. The length was taken from the working directory’s name, so the path’s terminator and the bytes after it were read and copied. (tags: small-fixes-2)