diff --git a/doc/Makefile b/doc/Makefile index b2f31796..1238b77a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,7 +3,7 @@ SHELL = /bin/sh top_srcdir = .. PACKAGE = upx -VERSION_DATE = 02 Jan 2001 +VERSION_DATE = 04 Jan 2001 VERSION := $(shell sed -n 's/^.*UPX_VERSION_STRING.*"\(.*\)".*/\1/p' $(top_srcdir)/src/version.h) TRIMSPACE = cat diff --git a/src/help.cpp b/src/help.cpp index ed729ac1..699aa2a8 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -49,8 +49,17 @@ void show_head(void) con_fprintf(f, " Ultimate Packer for eXecutables\n" " Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001\n" - "UPX v%-12sMarkus F.X.J. Oberhumer & Laszlo Molnar%21s\n\n", - UPX_VERSION_STRING, UPX_VERSION_DATE); + "UPX %-12s Markus F.X.J. Oberhumer & Laszlo Molnar %20s\n\n", +#if defined(__MFX_DOS) + UPX_VERSION_STRING "d", +#elif defined(__MFX_WIN32) + UPX_VERSION_STRING "w", +#elif 0 && defined(__linux__) + UPX_VERSION_STRING "l", +#else + UPX_VERSION_STRING, +#endif + UPX_VERSION_DATE); fg = con_fg(f,fg); } diff --git a/src/version.h b/src/version.h index 86c8290f..55f7e550 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,3 @@ #define UPX_VERSION 0x011102 /* 01.11.02 */ #define UPX_VERSION_STRING "1.11.2" -#define UPX_VERSION_DATE "Jan 2nd 2001" +#define UPX_VERSION_DATE "Jan 4th 2001"