BR 2593349: Move version message back to stdout

Checkin 4b9358928b114caaf34a69d6fdfd3b285b7a72cc changed the version
message from stdout to stderr, but:

a) doesn't motivate the change in the commit log;
b) bundles that with other changes;
c) is inconsistent with other programs;
d) was done by me and I can't remember any reason for it.

Hence conclude it was unintentional and therefore a bug.  Since this
commit was done after 2.05.01 no stable release has been affected.
This commit is contained in:
H. Peter Anvin 2009-02-13 09:33:56 -08:00
parent f8914800f8
commit 2186415f01

4
nasm.c
View File

@ -789,8 +789,8 @@ static bool process_arg(char *p, char *q)
break;
case 'v':
fprintf(stderr, "NASM version %s compiled on %s%s\n",
nasm_version, nasm_date, nasm_compile_options);
printf("NASM version %s compiled on %s%s\n",
nasm_version, nasm_date, nasm_compile_options);
exit(0); /* never need usage message here */
break;