mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
listing: Don't try to open non-specified listing
By default we setup @listname to '\0' and if has not been specified in command line it is passed in this form into list_init() which cause | [cyrill@uranus nasm.git] ./nasm -felf64 t.asm | nasm: error: unable to open listing file `' So make a proper test here. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
a9a1b5c318
commit
92c02bb50d