From owner-freebsd-ports Wed Jan 31 7:24:27 2001 Delivered-To: freebsd-ports@freebsd.org Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by hub.freebsd.org (Postfix) with ESMTP id BACE737B65D for ; Wed, 31 Jan 2001 07:24:08 -0800 (PST) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id E6A952E440; Wed, 31 Jan 2001 10:24:07 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.1/8.11.1) id f0VFO7807608; Wed, 31 Jan 2001 10:24:07 -0500 (EST) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14968.11799.728273.147245@onceler.kciLink.com> Date: Wed, 31 Jan 2001 10:24:07 -0500 To: Brandon Fosdick Cc: ports@freebsd.org Subject: Re: Everybuddy problem In-Reply-To: <3A773CD4.3DF9AF6A@glue.umd.edu> References: <3A773CD4.3DF9AF6A@glue.umd.edu> X-Mailer: VM 6.88 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "BF" == Brandon Fosdick writes: BF> I just cvsupped and rebuilt/installed world this morning. Afterwards BF> running everybuddy produces "bind: Address already in use". So I BF> pkg_deleted everybuddy-0.2.0 and then reinstalled it (via port). I still BF> get the same error. Any ideas? I tried installing the the package with BF> the same results. There was an off-by-one bug in the creation of the socket file name. Rerun CVS to get the patch which was committed yesterday. Here's the one I submitted; don't know if it is exactly the one added to the port. Also, you can delete ~/.everybuddy/eb_socke by hand prior to running everybudy to work around the problem. --- work/everybuddy-0.2.0/src/#main.c~ Mon Jan 29 14:49:29 2001 +++ work/everybuddy-0.2.0/src/main.c Mon Jan 29 14:49:29 2001 @@ -279,7 +279,7 @@ strcat(local.sun_path, "eb_socket"); unlink(local.sun_path); local.sun_family = AF_UNIX; - len = strlen(local.sun_path) + sizeof(local.sun_family); + len = strlen(local.sun_path) + 1 + sizeof(local.sun_family); if(bind(sock, (struct sockaddr *)&local, len) == -1) { perror("bind"); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message