[xorg-x11-xtrans-devel/f17] xtrans 1.2.7 (#806309)

Adam Jackson ajax at fedoraproject.org
Mon Apr 9 20:40:17 UTC 2012


commit 3e51c65fc576a2ab97ab8e34b05e63e78625869f
Author: Adam Jackson <ajax at redhat.com>
Date:   Mon Apr 9 16:40:16 2012 -0400

    xtrans 1.2.7 (#806309)

 xtrans-1.0.3-avoid-gethostname.patch |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/xtrans-1.0.3-avoid-gethostname.patch b/xtrans-1.0.3-avoid-gethostname.patch
index 5d474d5..4e3b659 100644
--- a/xtrans-1.0.3-avoid-gethostname.patch
+++ b/xtrans-1.0.3-avoid-gethostname.patch
@@ -1,11 +1,11 @@
-diff -up xtrans-1.0.3/Xtransutil.c.jx xtrans-1.0.3/Xtransutil.c
---- xtrans-1.0.3/Xtransutil.c.jx	2006-12-06 11:08:53.000000000 -0500
-+++ xtrans-1.0.3/Xtransutil.c	2007-10-01 14:53:43.000000000 -0400
-@@ -271,6 +271,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
+diff -up xtrans-1.2.7/Xtransutil.c.jx xtrans-1.2.7/Xtransutil.c
+--- xtrans-1.2.7/Xtransutil.c.jx	2012-03-22 23:04:35.000000000 -0400
++++ xtrans-1.2.7/Xtransutil.c	2012-04-09 16:39:29.000000000 -0400
+@@ -255,6 +255,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
      case AF_UNIX:
      {
  	struct sockaddr_un *saddr = (struct sockaddr_un *) addr;
 +	strcpy(hostnamebuf, "unix");
- 	networkId = (char *) xalloc (3 + strlen (transName) +
+ 	networkId = malloc (3 + strlen (transName) +
  	    strlen (hostnamebuf) + strlen (saddr->sun_path));
  	sprintf (networkId, "%s/%s:%s", transName,


More information about the scm-commits mailing list