freebsd-src/usr.sbin/kldxref
Marcel Moolenaar 9ceddbd532 Change maketempfile() to return a FILE* so as to eliminate the fopen()
that immediately follows the only call to it. maketempfile() uses
mkstemp(), so the temporary file has already been opened and using
fopen() again just opens the file twice. This also fixes the invalid
mode used on the fopen().
While here, assign NULL to fxref after fclose() because we test for
fxref being !NULL to determine if we have the (temporary) hints file
open.
2006-07-29 19:39:03 +00:00
..
ef.c Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
ef.h Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
ef_amd64.c Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
ef_i386.c Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
ef_nop.c Explicitly pass in the relocation base and data offset into ef_reloc() 2004-08-28 19:31:10 +00:00
ef_obj.c Use posix_memalign() rather than assuming that malloc() provides adequate 2006-01-12 08:01:38 +00:00
ef_powerpc.c Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
ef_sparc64.c Make our ELF64 type definitions match standards. In particular this 2005-12-18 04:52:37 +00:00
fileformat
kldxref.8 Fixed manpage's synopsis, and synchronized it with the program's usage(). 2004-06-01 09:34:04 +00:00
kldxref.c Change maketempfile() to return a FILE* so as to eliminate the fopen() 2006-07-29 19:39:03 +00:00
Makefile Add support for reading ELF relocatable object file format modules. 2004-08-27 00:58:40 +00:00