[Forensics-changes] [yara] 176/192: Increase version number in librara.h

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:32:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit 48c97732e9000af4b833c864ca7937938aa347cc
Author: plusvic <plusvic at gmail.com>
Date:   Mon May 15 18:18:15 2017 +0200

    Increase version number in librara.h
---
 libyara/include/yara/libyara.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/libyara/include/yara/libyara.h b/libyara/include/yara/libyara.h
index f4861ed..1da61e5 100644
--- a/libyara/include/yara/libyara.h
+++ b/libyara/include/yara/libyara.h
@@ -33,12 +33,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <yara/utils.h>
 
 #define YR_MAJOR_VERSION   3
-#define YR_MINOR_VERSION   5
+#define YR_MINOR_VERSION   6
 #define YR_MICRO_VERSION   0
 
-// Version as a string
-#define YR_VERSION         "3.5.0"
+#define version_str(s) _version_str(s)
+#define _version_str(s) #s
 
+// Version as a string
+#define YR_VERSION version_str(YR_MAJOR_VERSION) \
+    "." version_str(YR_MINOR_VERSION) \
+    "." version_str(YR_MICRO_VERSION)
 
 // Version as a single 4-byte hex number, e.g. 0x030401 == 3.4.1.
 #define YR_VERSION_HEX ((YR_MAJOR_VERSION << 16) | \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list