[gmime/gmime-2-4] Fixed QP_ENCODE_LEN macro and bumped version



commit 14937b79dced05b5d83410c1b09187a4d55e5c69
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Tue May 18 09:37:48 2010 -0400

    Fixed QP_ENCODE_LEN macro and bumped version
    
    2010-05-18  Jeffrey Stedfast  <fejj novell com>
    
    	* README: Bumped version
    
    	* configure.in: Bumped version to 2.4.16
    
    	* build/vs2008/gmime.vcproj: Bumped version.
    
    	* gmime/gmime-encodings.h (GMIME_QP_ENCODE_LEN): Since
    	force-wrapped lines use "=\n" instead of just "\n", lines will
    be
    	74 bytes, not 73.

 ChangeLog                 |   12 ++++++++++++
 README                    |    2 +-
 build/vs2008/gmime.vcproj |    4 ++--
 configure.in              |    2 +-
 gmime/gmime-encodings.h   |    2 +-
 5 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9f3f5a5..1c8311a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-05-18  Jeffrey Stedfast  <fejj novell com>
+
+	* README: Bumped version
+
+	* configure.in: Bumped version to 2.4.16
+
+	* build/vs2008/gmime.vcproj: Bumped version.
+
+	* gmime/gmime-encodings.h (GMIME_QP_ENCODE_LEN): Since
+	force-wrapped lines use "=\n" instead of just "\n", lines will be
+	74 bytes, not 73.
+
 2010-05-15  Jeffrey Stedfast  <fejj novell com>
 
 	* README: Bumped version
diff --git a/README b/README
index e32d7e4..fdaa786 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-                            GMime, version 2.4.16
+                            GMime, version 2.4.17
                    by Jeffrey Stedfast <fejj gnome org>
 
 
diff --git a/build/vs2008/gmime.vcproj b/build/vs2008/gmime.vcproj
index 9bd464a..7ae7e90 100644
--- a/build/vs2008/gmime.vcproj
+++ b/build/vs2008/gmime.vcproj
@@ -41,7 +41,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;16&quot;"
+				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;17&quot;"
 				Optimization="0"
 				AdditionalIncludeDirectories="&quot;..\..\&quot;; &quot;..\..\util&quot;"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\&quot;GMime\&quot;"
@@ -106,7 +106,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;16&quot;"
+				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;17&quot;"
 				AdditionalIncludeDirectories="&quot;..\..\&quot;; &quot;..\..\util&quot;"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\&quot;GMime\&quot;"
 				RuntimeLibrary="2"
diff --git a/configure.in b/configure.in
index 50f4357..f7e3aa0 100644
--- a/configure.in
+++ b/configure.in
@@ -12,7 +12,7 @@ AM_CONFIG_HEADER(config.h)
 
 GMIME_MAJOR_VERSION=2
 GMIME_MINOR_VERSION=4
-GMIME_MICRO_VERSION=16
+GMIME_MICRO_VERSION=17
 GMIME_VERSION=$GMIME_MAJOR_VERSION.$GMIME_MINOR_VERSION.$GMIME_MICRO_VERSION
 GMIME_VERSION_INFO=`expr $GMIME_MAJOR_VERSION + $GMIME_MINOR_VERSION`:$GMIME_MICRO_VERSION:$GMIME_MINOR_VERSION
 
diff --git a/gmime/gmime-encodings.h b/gmime/gmime-encodings.h
index 6356ba5..8b5fbde 100644
--- a/gmime/gmime-encodings.h
+++ b/gmime/gmime-encodings.h
@@ -78,7 +78,7 @@ const char *g_mime_content_encoding_to_string (GMimeContentEncoding encoding);
  * Returns: the number of output bytes needed to encode an input buffer
  * of size @x using the quoted-printable encoding.
  **/
-#define GMIME_QP_ENCODE_LEN(x)     ((size_t) ((((x) / 24) * 73) + 74))
+#define GMIME_QP_ENCODE_LEN(x)     ((size_t) ((((x) / 24) * 74) + 74))
 
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]