|
From: <sv...@va...> - 2005-06-18 04:13:56
|
Author: njn Date: 2005-06-18 05:13:54 +0100 (Sat, 18 Jun 2005) New Revision: 3932 Log: Move VG_CLO_DEFAULT_LOGPORT to a better spot. Modified: trunk/auxprogs/valgrind-listener.c trunk/coregrind/pub_core_libcfile.h trunk/coregrind/pub_core_options.h Modified: trunk/auxprogs/valgrind-listener.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/auxprogs/valgrind-listener.c 2005-06-18 04:10:56 UTC (rev 3931) +++ trunk/auxprogs/valgrind-listener.c 2005-06-18 04:13:54 UTC (rev 3932) @@ -46,7 +46,7 @@ =20 #include "core.h" #include "pub_core_libcassert.h" // For VG_BUGS_TO -#include "pub_core_options.h" // For VG_CLO_DEFAULT_LOGPORT +#include "pub_core_libcfile.h" // For VG_CLO_DEFAULT_LOGPORT =20 =20 /*---------------------------------------------------------------*/ Modified: trunk/coregrind/pub_core_libcfile.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/pub_core_libcfile.h 2005-06-18 04:10:56 UTC (rev 3931= ) +++ trunk/coregrind/pub_core_libcfile.h 2005-06-18 04:13:54 UTC (rev 3932= ) @@ -46,6 +46,10 @@ extern Int VG_(safe_fd) ( Int oldfd ); extern Int VG_(fcntl) ( Int fd, Int cmd, Int arg ); =20 +/* Default destination port to be used in logging over a network, if + none specified. */ +#define VG_CLO_DEFAULT_LOGPORT 1500 + extern Int VG_(write_socket)( Int sd, void *msg, Int count ); extern Int VG_(connect_via_socket)( UChar* str ); extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *na= melen ); Modified: trunk/coregrind/pub_core_options.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/pub_core_options.h 2005-06-18 04:10:56 UTC (rev 3931) +++ trunk/coregrind/pub_core_options.h 2005-06-18 04:13:54 UTC (rev 3932) @@ -39,10 +39,6 @@ =20 #include "pub_tool_options.h" =20 -/* Default destination port to be used in logging over a network, if - none specified. */ -#define VG_CLO_DEFAULT_LOGPORT 1500 - /* The max number of suppression files. */ #define VG_CLO_MAX_SFILES 10 =20 |