Author: rfm
Date: Fri Jan 29 16:59:56 2016
New Revision: 39320

URL: http://svn.gna.org/viewcvs/gnustep?rev=39320&view=rev
Log:
keep key=value pairs in structured fields on the same line if possible.

Modified:
    libs/base/trunk/ChangeLog
    libs/base/trunk/Source/Additions/GSMime.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=39320&r1=39319&r2=39320&view=diff
==============================================================================
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Fri Jan 29 16:59:56 2016
@@ -1,11 +1,18 @@
+2016-01-29  Richard Frith-Macdonald <[email protected]>
+
+       * Source/Additions/GSMime.m: keep key=value pairs in structured fields
+       on the same line if possible.
+
 2016-01-29     Niels Grewe <[email protected]>
 
-       * Source/NSThread.m: Automatic 'late' unregistration of thread objects: 
When
-       +exit is not called, we no longer log a warning and leak the thread 
object.
-       Instead, we add it to a map table, keyed under the current thread ID, 
and
-       use that in GSCurrentThread() to find the correct NSThread object if
-       pthread_getspecific wont return it to us. 
-       * Tests/base/NSThread/late_unregister.m: Test case for late 
unregistration.
+       * Source/NSThread.m: Automatic 'late' unregistration of thread objects:
+       When +exit is not called, we no longer log a warning and leak the
+       thread object.
+       Instead, we add it to a map table, keyed under the current thread ID,
+       and use that in GSCurrentThread() to find the correct NSThread object
+       if pthread_getspecific wont return it to us. 
+       * Tests/base/NSThread/late_unregister.m: Test case for late
+       unregistration.
 
 2016-01-21     Niels Grewe <[email protected]>
 
@@ -18,7 +25,6 @@
        parameter failure.
 
 2016-01-21  Richard Frith-Macdonald <[email protected]>
-
 
        * Source/GSString.m: Fix errors in conversion from a constant utf-8
        string containing non-ascii characters to latin1 encoded data.

Modified: libs/base/trunk/Source/Additions/GSMime.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/Additions/GSMime.m?rev=39320&r1=39319&r2=39320&view=diff
==============================================================================
--- libs/base/trunk/Source/Additions/GSMime.m   (original)
+++ libs/base/trunk/Source/Additions/GSMime.m   Fri Jan 29 16:59:56 2016
@@ -4311,7 +4311,7 @@
       /* Crude heuristic ... if the length of the value will definitely be
        * too long to fit on a line, fold right now.
        */
-      if (fold > 0 && offset + [v length] > fold)
+      if (fold > 0 && offset + vLength > fold)
         {
           [md appendBytes: "\r\n " length: 3];
           offset = 1;


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to