diff options
Diffstat (limited to 'ld/io.c')
-rw-r--r-- | ld/io.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -127,8 +127,10 @@ int level; PUBLIC void executable() { + if (errcount) + unlink(outputname); #ifndef MSDOS - if (errcount == 0) + else chmod(outputname, outputperms); #endif } @@ -620,6 +622,13 @@ PUBLIC void usage() #endif } +PUBLIC void version_msg() +{ + stderr_out(); + putstr("ld86 version: "); + errexit(VERSION); +} + PUBLIC void use_error(message) char *message; { |