xtrans: Changes to 'debian-unstable'
ChangeLog | 22 ++++++++++++++++++++++
Xtranssock.c | 4 ++--
debian/changelog | 6 ++++++
3 files changed, 30 insertions(+), 2 deletions(-)
New commits:
commit 1e256ead721a4ad97e3b54acfdb5290729c0d238
Author: Julien Cristau <jcristau@debian.org>
Date: Thu May 22 17:27:51 2008 +0200
Update changelogs
diff --git a/ChangeLog b/ChangeLog
index 85d971d..5f07286 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+commit 02fcb08803dca5bb2df4f8be490a845659bd7ed3
+Author: Adam Jackson <ajax@redhat.com>
+Date: Mon May 12 17:49:41 2008 -0400
+
+ Connection failure for abstract socket is ECONNREFUSED, not ENOENT.
+
+ Apropos of bug #15884.
+
+commit 906294025573d07c739894fa3b2eedc82813a379
+Author: Bill Nottingham <notting@redhat.com>
+Date: Mon May 12 17:43:36 2008 -0400
+
+ Ignore mkdir() errors when creating the abstract socket.
+
+ Red Hat bug #445303.
+
+commit 08134c2ce72bc43c172b6ae134d8a94a40b45c9b
+Author: James Cloos <cloos@jhcloos.com>
+Date: Sat May 10 07:02:09 2008 -0400
+
+ Remove extraneous execute bit from .c file
+
commit e75b9dad0ae4bc0869af81652d8259675a3c5cac
Author: Julien Cristau <jcristau@debian.org>
Date: Thu May 8 16:27:29 2008 +0200
diff --git a/debian/changelog b/debian/changelog
index 9525430..4b43e85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xtrans (1.2-2) unstable; urgency=low
+
+ * Pull from upstream git, yet more fixes for abstract socket handling.
+
+ -- Julien Cristau <jcristau@debian.org> Thu, 22 May 2008 17:26:57 +0200
+
xtrans (1.2-1) unstable; urgency=high
* High urgency upload for RC bug fix.
commit 02fcb08803dca5bb2df4f8be490a845659bd7ed3
Author: Adam Jackson <ajax@redhat.com>
Date: Mon May 12 17:49:41 2008 -0400
Connection failure for abstract socket is ECONNREFUSED, not ENOENT.
Apropos of bug #15884.
diff --git a/Xtranssock.c b/Xtranssock.c
index 8b8e4a9..309839c 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -2161,7 +2161,7 @@ TRANS(SocketUNIXConnect) (XtransConnInfo ciptr, char *host, char *port)
return TRANS_IN_PROGRESS;
else if (olderrno == EINTR)
return TRANS_TRY_CONNECT_AGAIN;
- else if (olderrno == ENOENT) {
+ else if (olderrno == ENOENT || olderrno == ECONNREFUSED) {
/* If opening as abstract socket failed, try again normally */
if (abstract) {
ciptr->transptr->flags &= ~(TRANS_ABSTRACT);
commit 906294025573d07c739894fa3b2eedc82813a379
Author: Bill Nottingham <notting@redhat.com>
Date: Mon May 12 17:43:36 2008 -0400
Ignore mkdir() errors when creating the abstract socket.
Red Hat bug #445303.
diff --git a/Xtranssock.c b/Xtranssock.c
index 9be7f5a..8b8e4a9 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -1148,7 +1148,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, char *port,
#else
mode = 0777;
#endif
- if (trans_mkdir(UNIX_DIR, mode) == -1) {
+ if (!abstract && trans_mkdir(UNIX_DIR, mode) == -1) {
PRMSG (1, "SocketUNIXCreateListener: mkdir(%s) failed, errno = %d\n",
UNIX_DIR, errno, 0);
(void) umask (oldUmask);
commit 08134c2ce72bc43c172b6ae134d8a94a40b45c9b
Author: James Cloos <cloos@jhcloos.com>
Date: Sat May 10 07:02:09 2008 -0400
Remove extraneous execute bit from .c file
diff --git a/Xtransutil.c b/Xtransutil.c
old mode 100755
new mode 100644
Reply to: