[ovs-git] Open vSwitch: util: Pre-allocate buffer for ovs_lasterror_to_string(). (master)

dev at openvswitch.org dev at openvswitch.org
Fri Feb 14 16:46:16 UTC 2014


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 "Open vSwitch".

The branch, master has been updated
       via  315ea327a63195d86082eecd502b830a3b2ece5e (commit)
      from  f4c340e1d996704ed81223217b172dbac3f045ac (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 315ea327a63195d86082eecd502b830a3b2ece5e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=315ea327a63195d86082eecd502b830a3b2ece5e
Author: Gurucharan Shetty <gshetty at nicira.com>
		
util: Pre-allocate buffer for ovs_lasterror_to_string().
		
This lets us call ovs_lasterror_to_string() and not having
to do an extra call of LocalFree() on the returned string.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/entropy.c     |    4 +---
 lib/lockfile.c    |    4 +---
 lib/socket-util.c |   19 +++----------------
 lib/util.c        |   25 +++++++++++++++----------
 lib/util.h        |    1 +
 5 files changed, 21 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list