cpu.c: get_output_file: handle input file names without extension
commit24bcadff87fa2eeaa15bb23c9079d18a811b54dc
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 8 Jul 2013 09:08:59 +0000 (8 11:08 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 17 Jul 2013 12:39:27 +0000 (17 14:39 +0200)
tree3a62127ad55cd2dad8502b9b9c0f279f577ae80d
parentde49db139f36ce8c1ee1ca218b26553321f0d5f9
cpu.c: get_output_file: handle input file names without extension

The original code would cause a segmentation fault on such names.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cpu.c