From 6dbdef9d57278a7a4ad3e688db414b604c967c9e Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 1 Mar 2001 14:40:21 +0000 Subject: [PATCH] Split some string constants to avoid possible RCS keyword expansions. committer: mfx 983457621 +0000 --- src/packer.cpp | 10 +++++++--- src/stub/ident_s.ash | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/packer.cpp b/src/packer.cpp index a3b4bf1d..a97ffb52 100644 --- a/src/packer.cpp +++ b/src/packer.cpp @@ -926,14 +926,18 @@ char const *Packer::identstr(unsigned &size) { static const char identbig[] = "\n\0" - "$Info: This file is packed with the UPX executable packer http://upx.tsx.org $" + "$Info: " + "This file is packed with the UPX executable packer http://upx.tsx.org $" "\n\0" - "$Id: UPX " UPX_VERSION_STRING4 " Copyright (C) 1996-2001 the UPX Team. All Rights Reserved. $" + "$Id: UPX " + UPX_VERSION_STRING4 + " Copyright (C) 1996-2001 the UPX Team. All Rights Reserved. $" "\n"; static const char identsmall[] = "\n" - "$Id: UPX (C) 1996-2001 the UPX Team. All Rights Reserved. http://upx.tsx.org $" + "$Id: UPX " + "(C) 1996-2001 the UPX Team. All Rights Reserved. http://upx.tsx.org $" "\n"; if (opt->small) { diff --git a/src/stub/ident_s.ash b/src/stub/ident_s.ash index 9103174d..cf6d852e 100644 --- a/src/stub/ident_s.ash +++ b/src/stub/ident_s.ash @@ -29,7 +29,8 @@ ; ------------- COPYRIGHT ------------- db 10 - db '$Id: UPX (C) 1996-2001 the UPX Team. All Rights Reserved. http://upx.tsx.org $' + db '$Id: UPX ' + db '(C) 1996-2001 the UPX Team. All Rights Reserved. http://upx.tsx.org $' db 10,0