From b48908cbbaee53747c9a7cdfc08692a20aa92cb1 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 19 Aug 2009 11:51:18 -0400 Subject: [PATCH] Windows: Add resource info to threaded volserver.exe 1.5.60 and 1.5.61 shipped without resource information linked to the threaded version of the volserver.exe executable. Correct that oversight. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/325 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/tvolser/NTMakefile | 9 ++++++++- src/tvolser/volserver.rc | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/tvolser/volserver.rc diff --git a/src/tvolser/NTMakefile b/src/tvolser/NTMakefile index cad8a5521..375dd594f 100644 --- a/src/tvolser/NTMakefile +++ b/src/tvolser/NTMakefile @@ -72,7 +72,14 @@ LIBACLOBJS=$(OUT)\aclprocs.obj $(OUT)\netprocs.obj DIROBJS=$(OUT)\buffer.obj $(OUT)\dir.obj $(OUT)\salvage.obj -VOLSERVER_EXEOBJS = $(VOLSEROBJS) $(VLSERVEROBJS) $(LWPOBJS) $(LIBACLOBJS) $(DIROBJS) $(FSINTOBJS) $(OUT)\vscommon.obj +VOLSERVER_EXEOBJS = $(VOLSEROBJS) \ + $(VLSERVEROBJS) \ + $(LWPOBJS) \ + $(LIBACLOBJS) \ + $(DIROBJS) \ + $(FSINTOBJS) \ + $(OUT)\vscommon.obj \ + $(OUT)\volserver.res VOLSERVER_EXELIBS = \ $(DESTDIR)\lib\afsauthent.lib \ diff --git a/src/tvolser/volserver.rc b/src/tvolser/volserver.rc new file mode 100644 index 000000000..58e3f1a4d --- /dev/null +++ b/src/tvolser/volserver.rc @@ -0,0 +1,17 @@ +/* + * Copyright 2000, International Business Machines Corporation and others. + * All Rights Reserved. + * + * This software has been released under the terms of the IBM Public + * License. For details, see the LICENSE file in the top-level source + * directory or online at http://www.openafs.org/dl/license10.html + */ + +/* Define VERSIONINFO resource */ + +#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Server (Threaded)" +#define AFS_VERINFO_NAME "volserver" +#define AFS_VERINFO_FILENAME "volserver.exe" + +#include "AFS_component_version_number.h" +#include "..\config\NTVersioninfo.rc" -- 2.39.5