Branch: Tag:

2014-01-09

2014-01-09 10:20:09 by Anders Johansson <anders@roxen.com>

Fixed path display when server path contains symlinks.

This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and
solves [bug 6267 (#6267)].

115:    string cwd = getcwd() + "/";    if (has_prefix (fname, cwd))    fname = fname[sizeof (cwd)..]; -  else if (has_prefix (fname, roxenloader.server_dir)) -  fname = fname[sizeof (roxenloader.server_dir)..]; +  else if (has_prefix (fname, roxenloader.server_dir + "/")) +  fname = fname[sizeof (roxenloader.server_dir + "/")..];       return ({fname, line});   }