gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, master, updated. gnutls_2_99_4-5-gc4d352e


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_99_4-5-gc4d352e
Date: Mon, 25 Jul 2011 17:19:37 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=c4d352e6559179652c20f1fb67fa522be4a3c028

The branch, master has been updated
       via  c4d352e6559179652c20f1fb67fa522be4a3c028 (commit)
       via  04b6bec750d214fc8bc5b65f99e47f0e251f1f7b (commit)
       via  25ee4364ebbea7dd098a84c67b63a97c825b627b (commit)
      from  d3f2fd0f4bb5c65408822a8a73e63a697dc24d06 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c4d352e6559179652c20f1fb67fa522be4a3c028
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Jul 25 19:19:30 2011 +0200

    documented changes.

commit 04b6bec750d214fc8bc5b65f99e47f0e251f1f7b
Author: Sjoerd Simons <address@hidden>
Date:   Mon Jul 25 17:54:32 2011 +0100

    writev_emu: stop on the first incomplete write
    
    Just like standard writev, we should only move on to the next block if
    all the previous ones have been successfully written out. Otherwise
    there is a potential for data loss and/or confusing push functions.
    
    Signed-off-by: Nikos Mavrogiannopoulos <address@hidden>

commit 25ee4364ebbea7dd098a84c67b63a97c825b627b
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sun Jul 24 15:01:01 2011 +0200

    increased size of fdl.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                 |    8 ++++++++
 doc/latex/fdl.tex    |   26 +++++++++++++-------------
 lib/gnutls_buffers.c |    3 +++
 3 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/NEWS b/NEWS
index f1085ee..f82a53f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,14 @@ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
               2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 See the end for copying conditions.
 
+* Version 3.0.0 (unreleased)
+
+** libgnutls: writev_emu: stop on the first incomplete write
+
+** API and ABI modifications:
+No changes since last version.
+
+
 * Version 2.99.4 (released 2011-07-23)
 
 ** doc: documentation updates.
diff --git a/doc/latex/fdl.tex b/doc/latex/fdl.tex
index 3a96fda..1b2ea6e 100644
--- a/doc/latex/fdl.tex
+++ b/doc/latex/fdl.tex
@@ -26,7 +26,7 @@
 \begin{center}
 {\bf\small Preamble}
 \end{center}
-{\tiny 
+{\scriptsize 
 
 The purpose of this License is to make a manual, textbook, or other
 functional and useful document ``free'' in the sense of freedom: to
@@ -56,7 +56,7 @@ principally for works whose purpose is instruction or 
reference.
 %\addcontentsline{toc}{section}{1. APPLICABILITY AND DEFINITIONS}
 \end{center}
 
-{\tiny 
+{\scriptsize 
 
 This License applies to any manual or other work, in any medium, that
 contains a notice placed by the copyright holder saying it can be
@@ -153,7 +153,7 @@ no effect on the meaning of this License.
 %\addcontentsline{toc}{section}{2. VERBATIM COPYING}
 \end{center}
 
-{\tiny
+{\scriptsize
 You may copy and distribute the Document in any medium, either
 commercially or noncommercially, provided that this License, the
 copyright notices, and the license notice saying this License applies
@@ -174,7 +174,7 @@ you may publicly display copies.
 %\addcontentsline{toc}{section}{3. COPYING IN QUANTITY}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 If you publish printed copies (or copies in media that commonly have
 printed covers) of the Document, numbering more than 100, and the
@@ -218,7 +218,7 @@ them a chance to provide you with an updated version of the 
Document.
 %\addcontentsline{toc}{section}{4. MODIFICATIONS}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 You may copy and distribute a Modified Version of the Document under
 the conditions of sections 2 and 3 above, provided that you release
@@ -340,7 +340,7 @@ imply endorsement of any Modified Version.
 %\addcontentsline{toc}{section}{5. COMBINING DOCUMENTS}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 You may combine the Document with other documents released under this
 License, under the terms defined in section~4 above for modified
@@ -371,7 +371,7 @@ Entitled ``Endorsements''.
 %\addcontentsline{toc}{section}{6. COLLECTIONS OF DOCUMENTS}
 \end{center}
 
-{\tiny
+{\scriptsize
 You may make a collection consisting of the Document and other documents
 released under this License, and replace the individual copies of this
 License in the various documents with a single copy that is included in
@@ -390,7 +390,7 @@ other respects regarding verbatim copying of that document.
 %\addcontentsline{toc}{section}{7. AGGREGATION WITH INDEPENDENT WORKS}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 A compilation of the Document or its derivatives with other separate
 and independent documents or works, in or on a volume of a storage or
@@ -416,7 +416,7 @@ aggregate.
 %\addcontentsline{toc}{section}{8. TRANSLATION}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 Translation is considered a kind of modification, so you may
 distribute translations of the Document under the terms of section~4.
@@ -444,7 +444,7 @@ title.
 \end{center}
 
 
-{\tiny
+{\scriptsize
 You may not copy, modify, sublicense, or distribute the Document
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense, or distribute it is void, and
@@ -478,7 +478,7 @@ not give you any rights to use it.
 \end{center}
 
 
-{\tiny
+{\scriptsize
 The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
@@ -505,7 +505,7 @@ Document.
 %\addcontentsline{toc}{section}{11. RELICENSING}
 \end{center}
 
-{\tiny
+{\scriptsize
 
 ``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any
 World Wide Web server that publishes copyrightable works and also
@@ -541,7 +541,7 @@ provided the MMC is eligible for relicensing.
 %\addcontentsline{toc}{section}{ADDENDUM: How to use this License for your 
documents}
 \end{center}
 
-{\tiny
+{\scriptsize
 To use this License in a document you have written, include a copy of
 the License in the document and put the following copyright and
 license notices just after the title page:
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index 198a495..7158433 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -325,6 +325,9 @@ _gnutls_writev_emu (gnutls_session_t session, 
gnutls_transport_ptr_t fd, const g
         break;
 
       total += ret;
+
+      if (ret != giovec[j].iov_len)
+        break;
     }
 
   if (total > 0)


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]