Commit 154a307d authored by Karl Heuer's avatar Karl Heuer

(file_name_as_directory): For empty arg, return `./'.

parent 170c9733
......@@ -484,8 +484,9 @@ file_name_as_directory (out, in)
if (size < 0)
{
out[0] = '/';
out[1] = 0;
out[0] = '.';
out[1] = '/';
out[2] = 0;
return out;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment