]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh
authorSean Hefty <sean.hefty@intel.com>
Tue, 24 Apr 2012 18:25:01 +0000 (11:25 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 24 Apr 2012 18:25:01 +0000 (11:25 -0700)
meta
patches/refresh-temp [deleted file]
patches/snprintf

diff --git a/meta b/meta
index b2bee4182dfa60be2bcb961f37f2edd3be0316b9..e635a3ee0b34d0398d21bc81ad932b7cea2cead0 100644 (file)
--- a/meta
+++ b/meta
@@ -1,8 +1,7 @@
 Version: 1
-Previous: 2132f386fab7b13ff725e44b5d79617e7f37b913
-Head: af80bf54fa86e8515091c499ff11925fa2edf9d1
+Previous: c1c38bec6b6ab2812906e15a61a35f99260cc8f5
+Head: 5658ff385e0449a78a325d430163e524b7a97ec4
 Applied:
-  snprintf: e71a008fe1de887481348d026bb2970a469b24e8
-  refresh-temp: af80bf54fa86e8515091c499ff11925fa2edf9d1
+  snprintf: 5658ff385e0449a78a325d430163e524b7a97ec4
 Unapplied:
 Hidden:
diff --git a/patches/refresh-temp b/patches/refresh-temp
deleted file mode 100644 (file)
index 24a53dd..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Bottom: efccb146a38888a3e615a81017329971c08b8fc1
-Top:    de666c51520c9988ea3a07e332fa0402fdef6010
-Author: Sean Hefty <sean.hefty@intel.com>
-Date:   2012-04-24 11:25:01 -0700
-
-Refresh of snprintf
-
----
-
-diff --git a/examples/rping.c b/examples/rping.c
-index ee292ec..785338e 100644
---- a/examples/rping.c
-+++ b/examples/rping.c
-@@ -909,7 +909,7 @@ static int rping_test_client(struct rping_cb *cb)
-               cb->state = RDMA_READ_ADV;
-               /* Put some ascii text in the buffer. */
--              cc = sprintf(cb->start_buf, RPING_MSG_FMT, ping);
-+              cc = snprintf(cb->start_buf, cb->size, RPING_MSG_FMT, ping);
-               for (i = cc, c = start; i < cb->size; i++) {
-                       cb->start_buf[i] = c;
-                       c++;
index 1c78df048cd912e223c5de3c4e0a82d939cda771..e2debde6a27548bf4c2b6ab6ebc3763db6f5fe9e 100644 (file)
@@ -1,5 +1,5 @@
 Bottom: efccb146a38888a3e615a81017329971c08b8fc1
-Top:    efccb146a38888a3e615a81017329971c08b8fc1
+Top:    de666c51520c9988ea3a07e332fa0402fdef6010
 Author: Dotan Barak <dotanb@dev.mellanox.co.il>
 Date:   2012-04-24 11:20:55 -0700
 
@@ -11,4 +11,16 @@ Signed-off-by: Sean Hefty <sean.hefty@intel.com>
 
 ---
 
-
+diff --git a/examples/rping.c b/examples/rping.c
+index ee292ec..785338e 100644
+--- a/examples/rping.c
++++ b/examples/rping.c
+@@ -909,7 +909,7 @@ static int rping_test_client(struct rping_cb *cb)
+               cb->state = RDMA_READ_ADV;
+               /* Put some ascii text in the buffer. */
+-              cc = sprintf(cb->start_buf, RPING_MSG_FMT, ping);
++              cc = snprintf(cb->start_buf, cb->size, RPING_MSG_FMT, ping);
+               for (i = cc, c = start; i < cb->size; i++) {
+                       cb->start_buf[i] = c;
+                       c++;