You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2014/08/20 15:54:49 UTC
svn commit: r1619102 - /qpid/proton/trunk/proton-c/src/proton-dump.c
Author: chug
Date: Wed Aug 20 13:54:49 2014
New Revision: 1619102
URL: http://svn.apache.org/r1619102
Log:
PROTON-650: use pn_compat utilities for cross platform builds
Modified:
qpid/proton/trunk/proton-c/src/proton-dump.c
Modified: qpid/proton/trunk/proton-c/src/proton-dump.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/proton-dump.c?rev=1619102&r1=1619101&r2=1619102&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/proton-dump.c (original)
+++ qpid/proton/trunk/proton-c/src/proton-dump.c Wed Aug 20 13:54:49 2014
@@ -19,9 +19,9 @@
*
*/
-#include <libgen.h>
+#include "pncompat/misc_funcs.inc"
+
#include <stdio.h>
-#include <unistd.h>
#include <proton/buffer.h>
#include <proton/codec.h>
#include <proton/error.h>
@@ -101,7 +101,7 @@ int dump(const char *file)
}
void usage(char* prog) {
- printf("Usage: %s [FILE1] [FILEn] ...\n", basename(prog));
+ printf("Usage: %s [FILE1] [FILEn] ...\n", prog);
printf("Displays the content of an AMQP dump file containing frame data.\n");
printf("\n [FILEn] Dump file to be displayed.\n\n");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org