Author Topic: GetErrorFilename() and backslashes on Linux (beta4)  (Read 1966 times)


  • Community Member
  • Posts: 30
  • Hero Points: 2
GetErrorFilename() and backslashes on Linux (beta4)
« on: May 21, 2013, 11:10:20 pm »
On my Ubuntu machine I login with domain credentials. This gives me a username of DOMAIN/johnv. The backslash in the username gives SlickEdit fits and I eventually worked around this by defining USER=johnv in my slickedit configuration. However, GetErrorFilename in error.e doesn't seem to use this, instead calling _userName(). This returns DOMAIN\\johnv (note double backslash) which isn't right.

I don't know what _userName() does, but it should either user the USER environment variable or get the backslash escaping correct.

I am not sure why GetErrorFilename() is #ifdef'd for Unix - seems like the PID approach is better anyway.

You could repro this by having a username with a \ in it and trying to load a user.e macro that has a compile error in it.