diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-16 07:28:25 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-16 07:28:25 +0000 |
commit | 809513ef1bb6e4189650e30526995ba69aeefce7 (patch) | |
tree | a983fd41c70514eb36db451bf7a497c7e02b7877 /x11/gdm2/files/patch-ar | |
parent | Apply some black cvs magick to readd patch-ar properly. (diff) |
Apply some black cvs magick to readd patch-ar properly.
Notes
Notes:
svn path=/head/; revision=48836
Diffstat (limited to '')
-rw-r--r-- | x11/gdm2/files/patch-ar | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-ar b/x11/gdm2/files/patch-ar new file mode 100644 index 000000000000..b0b8c0315d67 --- /dev/null +++ b/x11/gdm2/files/patch-ar @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- daemon/gdm-net.c.orig Sun Aug 26 04:56:37 2001 ++++ daemon/gdm-net.c Tue Oct 16 09:35:36 2001 +@@ -238,11 +243,11 @@ + return NULL; + } + ++ bzero(&addr, sizeof(addr)); + strcpy (addr.sun_path, sockname); + addr.sun_family = AF_UNIX; + if (bind (fd, +- (struct sockaddr *) &addr, strlen (addr.sun_path) + +- sizeof (addr.sun_family)) < 0) { ++ (struct sockaddr *) &addr, sizeof(addr)) < 0) { + gdm_error (_("%s: Could not bind socket"), + "gdm_connection_open_unix"); + close (fd); |