codeview: use nasm_realpath() to find the canonical name of the outfile
commit01838948951af0e3404e8fe03bf42f7a76ee688f
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 25 May 2016 06:34:32 +0000 (24 23:34 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 25 May 2016 06:35:57 +0000 (24 23:35 -0700)
treebd1c6381339ab46b3459ae92ffe5ead351ee98ed
parent8794350751320f19f7334cd3a2c113749a56e63a
codeview: use nasm_realpath() to find the canonical name of the outfile

Concatenating the cwd with the name of the output file is incorrect
for filenames which are specified as absolute.  We already have
nasm_realpath() for this purpose, use it.

Cc: Jim Kukunas <james.t.kukunas@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/codeview.c