From 5e7a4dc5d7b183c3675f95e5ec9c8601bc3d23a2 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sun, 8 Aug 2010 11:18:38 +0200 Subject: [PATCH] Added copyright string to ares_version.h and make use of it in other files. --- Makefile.netware | 2 +- ares_version.h | 3 +++ cares.rc | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.netware b/Makefile.netware index 043c9674..c70b7f42 100644 --- a/Makefile.netware +++ b/Makefile.netware @@ -20,7 +20,7 @@ endif TARGETS = adig.nlm ahost.nlm acountry.nlm LTARGET = libcares.$(LIBEXT) VERSION = $(LIBCARES_VERSION) -COPYR = Copyright (C) 1996 - 2010, Daniel Stenberg, +COPYR = $(LIBCARES_COPYRIGHT_STR) DESCR = cURL $(subst .def,,$(notdir $@)) $(LIBCARES_VERSION_STR) - http://curl.haxx.se MTSAFE = YES STACK = 64000 diff --git a/ares_version.h b/ares_version.h index a17e8afe..c79b33df 100644 --- a/ares_version.h +++ b/ares_version.h @@ -2,6 +2,9 @@ #ifndef ARES__VERSION_H #define ARES__VERSION_H +/* This is the global package copyright */ +#define ARES_COPYRIGHT "2004 - 2010 Daniel Stenberg, ." + #define ARES_VERSION_MAJOR 1 #define ARES_VERSION_MINOR 7 #define ARES_VERSION_PATCH 4 diff --git a/cares.rc b/cares.rc index 2c43dcaa..50a5e8e2 100644 --- a/cares.rc +++ b/cares.rc @@ -53,7 +53,7 @@ BEGIN #endif VALUE "ProductName", "The c-ares library\0" VALUE "ProductVersion", ARES_VERSION_STR "\0" - VALUE "LegalCopyright", "© 2004 - 2009 Daniel Stenberg, .\0" + VALUE "LegalCopyright", "© " ARES_COPYRIGHT "\0" VALUE "License", "http://c-ares.haxx.se/license.html\0" END END