krb5 commit [krb5-1.10]: Fix typo for windows versions

Tom Yu tlyu at MIT.EDU
Wed Dec 5 18:39:58 EST 2012


https://github.com/krb5/krb5/commit/725786e1b7591454985ff77d1afe457205b743e7
commit 725786e1b7591454985ff77d1afe457205b743e7
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Wed Dec 5 18:21:53 2012 -0500

    Fix typo for windows versions
    
    We omit the patchlevel if it is zero, but the check whether
    the patchlevel was zero was checking the wrong variable, and thus
    always succeeding.
    
    (cherry picked from commit de80646215b623b1ce16fe8a2c2db85bba531532)
    
    ticket: 7481
    status: resolved

 src/windows/version.rc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/windows/version.rc b/src/windows/version.rc
index d2c341d..275867f 100644
--- a/src/windows/version.rc
+++ b/src/windows/version.rc
@@ -12,7 +12,7 @@
 
 #define MAJOR_MINOR STR(KRB5_MAJOR_RELEASE) "." STR(KRB5_MINOR_RELEASE)
 
-#if KRB5_PATCH_LEVEL != 0
+#if KRB5_PATCHLEVEL != 0
 #define MAYBE_PATCH "." STR(KRB5_PATCHLEVEL)
 #else
 #define MAYBE_PATCH ""


More information about the cvs-krb5 mailing list