Eliminate filename length restrictions, remote ofmt->filename()
commit81b62b9f54ac8e4019a9b2ec2b95ec0faa86bd2a
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Dec 2017 21:33:49 +0000 (20 13:33 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Dec 2017 21:38:20 +0000 (20 13:38 -0800)
tree5339576fc296a92504dbc5a07a8a97c2de4896ab
parentdcbaf677d4b5118d427a3a3b45a3499e22fa8635
Eliminate filename length restrictions, remote ofmt->filename()

Get rid of remaining dependencies on FILENAME_MAX, which ought to have
been removed a long time ago.

Remove ofmt->filename(); all implementations pretty much do the same
thing and there is absolutely no reason to duplicate that
functionality all over the place.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
23 files changed:
Makefile.in
Mkfiles/msvc.mak
Mkfiles/openwcom.mak
asm/nasm.c
asm/preproc-nop.c
asm/preproc.c
configure.ac
include/compiler.h
include/nasm.h
include/nasmlib.h
nasmlib/filename.c
output/codeview.c
output/outaout.c
output/outas86.c
output/outbin.c
output/outcoff.c
output/outdbg.c
output/outelf.c
output/outieee.c
output/outmacho.c
output/outobj.c
output/outrdf2.c
stdlib/strrchrnul.c [copied from nasmlib/filename.c with 57% similarity]