#247 truename leaks null-character into the lisp error message

HEAD
closed
nobody
None
1
2014-09-23
2013-01-11
stassats
No

(truename "/tmp/x/y/z/")
=>
Filesystem error with pathname "/tmp/x^@".

That's because the C part is using string[length-1] = 0 in enter_directory to get rid of the last /.

Discussion


Anonymous


Cancel   Add attachments