From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: emacsclient.c build on FreeBSD Date: Sat, 13 Dec 2008 19:28:26 -0800 (PST) Message-ID: <200812140328.mBE3SQ8Z011056@mothra.ics.uci.edu> References: <87skorin6z.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229225345 10270 80.91.229.12 (14 Dec 2008 03:29:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2008 03:29:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 14 04:30:09 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LBhgG-0000ii-Gc for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2008 04:30:08 +0100 Original-Received: from localhost ([127.0.0.1]:52961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBhf4-0005jM-SY for ged-emacs-devel@m.gmane.org; Sat, 13 Dec 2008 22:28:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBhez-0005hq-Fe for emacs-devel@gnu.org; Sat, 13 Dec 2008 22:28:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBhex-0005fv-J4 for emacs-devel@gnu.org; Sat, 13 Dec 2008 22:28:48 -0500 Original-Received: from [199.232.76.173] (port=48543 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBhex-0005fm-C0 for emacs-devel@gnu.org; Sat, 13 Dec 2008 22:28:47 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:41030) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LBhew-0005mE-TY for emacs-devel@gnu.org; Sat, 13 Dec 2008 22:28:47 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBE3SSlI016760; Sat, 13 Dec 2008 19:28:28 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBE3SQ8Z011056; Sat, 13 Dec 2008 19:28:26 -0800 (PST) In-Reply-To: <87skorin6z.fsf@kobe.laptop> (Giorgos Keramidas's message of "Sun, 14 Dec 2008 03:02:12 +0200") Original-Lines: 29 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBE3SSlI016760 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106901 Archived-At: Giorgos Keramidas writes: > Hi Dan, > > This change: > > : 2008-12-10 Dan Nicolaescu > : > : * emacsclient.c (print_help_and_exit): Describe what an empty > : string argument does for --alternate-editor. > : (set_socket): Make it possible to not exit in case of an error. > : (start_daemon_and_retry_set_socket): New function. > : (main): Use it. Restore the NULL value for socket_name and > : server_file after the set_socket call. > > needs a small patch to build on FreeBSD/i386: > > %%% > diff -r 1d6f7d6431ac lib-src/emacsclient.c > --- a/lib-src/emacsclient.c Sun Dec 14 02:39:37 2008 +0200 > +++ b/lib-src/emacsclient.c Sun Dec 14 02:58:31 2008 +0200 > @@ -42,6 +42,7 @@ > #else /* !WINDOWSNT */ > > # include > +# include Thanks for the bug report. Instead I included syswait.h that includes both the above files.