https://sourceware.org/bugzilla/show_bug.cgi?id=17994

            Bug ID: 17994
           Summary: `dlltool -l` leaves temporary file in case of error
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru

`dlltool -l` doesn't remove a temporary file in case of an error. Illustration:

$ ./dlltool -l /dev/null /dev/null
dndibh.s: Assembler messages:
dndibh.s:5: Error: cannot represent relocation type BFD_RELOC_RVA
dndibh.s:10: Error: cannot represent relocation type BFD_RELOC_RVA
dndibh.s:11: Error: cannot represent relocation type BFD_RELOC_RVA
./dlltool: as exited with status 1
./dlltool: failed to open temporary head file: dndibh.o: No such file or
directory

$ ls *.s
dndibh.s

The same when a malformed regular file is used for input instead of /dev/null.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to