This patch corrects "Edit [erw] filename" errors when "filename" is unrooted.
Under this condition the effective file name becomes the entire tag line. (Button
3 clicking on an unrooted file name in the tag line also fails, but silently.)
The propsed change to dirname() explicitly sets a terminating null for the
unrooted file name case.
|