[ovs-git] Open vSwitch: Avoid printf type modifiers not supported by MSVC C runtime library. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 26 07:48:03 UTC 2013


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  34582733d9aad82bba60f4bf986b62d58412502a (commit)
      from  4d3daf048134e8c375fdadcec7e51d1dc28fe0b6 (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 34582733d9aad82bba60f4bf986b62d58412502a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=34582733d9aad82bba60f4bf986b62d58412502a
Author: Alin Serdean <aserdean at cloudbasesolutions.com>
		
Avoid printf type modifiers not supported by MSVC C runtime library.
		
The MSVC C library printf() implementation does not support the 'z', 't',
'j', or 'hh' format specifiers.  This commit changes the Open vSwitch code
to avoid those format specifiers, switching to standard macros from
<inttypes.h> where available and inventing new macros resembling them
where necessary.  It also updates CodingStyle to specify the macros' use
and adds a Makefile rule to report violations.

Signed-off-by: Alin Serdean <aserdean at cloudbasesolutions.com>
Co-authored-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 AUTHORS                       |    1 +
 CodingStyle                   |   16 +++++++++++++++-
 Makefile.am                   |   13 +++++++++++++
 lib/bfd.c                     |    2 +-
 lib/bond.c                    |    4 ++--
 lib/bundle.c                  |    4 ++--
 lib/coverage.c                |    2 +-
 lib/dpif-linux.c              |    2 +-
 lib/dynamic-string.c          |    6 ++++--
 lib/hmap.c                    |    2 +-
 lib/multipath.c               |    2 +-
 lib/netdev-bsd.c              |    4 ++--
 lib/netdev-linux.c            |    4 ++--
 lib/netlink-socket.c          |    4 ++--
 lib/netlink.c                 |    8 ++++----
 lib/nx-match.c                |    4 ++--
 lib/odp-util.c                |    8 ++++----
 lib/ofp-actions.c             |   12 ++++++------
 lib/ofp-print.c               |   26 ++++++++++++-------------
 lib/ofp-util.c                |   42 ++++++++++++++++++++---------------------
 lib/ofpbuf.c                  |    2 +-
 lib/ovsdb-data.c              |    6 +++---
 lib/ovsdb-idl.c               |    6 +++---
 lib/ovsdb-parser.c            |    4 ++--
 lib/pcap-file.c               |    2 +-
 lib/socket-util.c             |    6 +++---
 lib/stp.c                     |    6 +++---
 lib/stream-ssl.c              |    6 +++---
 lib/util.c                    |    6 +++---
 lib/util.h                    |   17 +++++++++++++++++
 ofproto/ofproto-dpif-upcall.c |    4 ++--
 ofproto/ofproto-dpif.c        |    6 +++---
 ofproto/ofproto.c             |    2 +-
 ovsdb/execution.c             |    4 ++--
 ovsdb/jsonrpc-server.c        |    4 ++--
 ovsdb/log.c                   |    2 +-
 ovsdb/ovsdb-client.c          |    8 ++++----
 ovsdb/ovsdb-server.c          |    2 +-
 ovsdb/transaction.c           |    6 +++---
 tests/test-aes128.c           |    4 ++--
 tests/test-hindex.c           |    2 +-
 tests/test-hmap.c             |    2 +-
 tests/test-netflow.c          |    2 +-
 tests/test-odp.c              |    2 +-
 tests/test-ovsdb.c            |   12 ++++++------
 tests/test-stp.c              |    4 ++--
 utilities/ovs-ofctl.c         |   20 ++++++++++----------
 47 files changed, 180 insertions(+), 133 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list