From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#13768: --without-posix code uses scm_getpid() in libguile-2.0.2 Date: Mon, 25 Feb 2013 21:39:42 +0100 Message-ID: <87sj4k2kmp.fsf@pobox.com> References: <51240CE7.8030802@email.de> <87ip5hcyb1.fsf@pobox.com> <87sj4l5gzo.fsf@tines.lan> <87621g92zl.fsf@pobox.com> <87bob85igc.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361824832 3908 80.91.229.3 (25 Feb 2013 20:40:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 20:40:32 +0000 (UTC) Cc: 13768-done@debbugs.gnu.org, shookie@email.de To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Feb 25 21:40:54 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UA4qs-00033L-Jx for guile-bugs@m.gmane.org; Mon, 25 Feb 2013 21:40:46 +0100 Original-Received: from localhost ([::1]:36170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA4qX-0001rO-Db for guile-bugs@m.gmane.org; Mon, 25 Feb 2013 15:40:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA4qU-0001qe-HE for bug-guile@gnu.org; Mon, 25 Feb 2013 15:40:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA4qT-000363-Bg for bug-guile@gnu.org; Mon, 25 Feb 2013 15:40:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA4qT-00035x-7w for bug-guile@gnu.org; Mon, 25 Feb 2013 15:40:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UA4s5-0002v4-Qe for bug-guile@gnu.org; Mon, 25 Feb 2013 15:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 25 Feb 2013 20:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13768 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13768-done@debbugs.gnu.org id=D13768.136182489311183 (code D ref 13768); Mon, 25 Feb 2013 20:42:01 +0000 Original-Received: (at 13768-done) by debbugs.gnu.org; 25 Feb 2013 20:41:33 +0000 Original-Received: from localhost ([127.0.0.1]:50043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UA4rc-0002uJ-PJ for submit@debbugs.gnu.org; Mon, 25 Feb 2013 15:41:33 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:46271 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UA4ra-0002uC-I0 for 13768-done@debbugs.gnu.org; Mon, 25 Feb 2013 15:41:31 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 14557BE79; Mon, 25 Feb 2013 15:39:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=vUsIDzbVJI3MQd1BhakVRUuh7gs=; b=haN2C/ 7NvAAUrDOj7AbVnCIXVrTd/eYf8nrrPS2Q6IN3Cn6NXhylyy6QoVOmZCqplFjIkM f0Pap6pt2Gg5FdoK0a58/Cir81f5ToBIb2IvbMfcZ/NILnUZYlfKrO3H8W4lcfH4 nYP9KgvKLvZTasc8NoqtL722V66U1UYjWBztE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=HT+d7eSLRXdZBJWj8mfWcqlsMZlfhFX5 OYBB7LyraFXstQ4tUXYE26Ranui6HcPom+yGSRBqk+5UCQSE7ArjAou9HYdry8HK g9hLUzbUEuRgfYcVYaTbZxtkx5R2jQgw1uU6ccWYMl0j7eNgVSbJnB3sjaXRPVi5 87RXINYEFNQ= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 0AC6DBE78; Mon, 25 Feb 2013 15:39:49 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 856C1BE76; Mon, 25 Feb 2013 15:39:48 -0500 (EST) In-Reply-To: <87bob85igc.fsf@tines.lan> (Mark H. Weaver's message of "Mon, 25 Feb 2013 13:58:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 7F427C00-7F8B-11E2-AE6A-79910E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6792 Archived-At: On Mon 25 Feb 2013 19:58, Mark H Weaver writes: >> Why don't we just add the result of getpid() without relying on the >> scm_getpid() binding. All platforms have it. > > Ah, good! I didn't know that getpid() was available on MinGW. > >> Thanks for following up. TBH though I would prefer that if you already >> know the solution, to go ahead and fix it instead of writing a mail and >> fixing the docs. > > Agreed. I didn't know the solution until just now. I have done as you > suggested above, and am now closing this bug. Super, thank you! FWIW, --disable-posix has two uses. One is to work around compilation failures, and the other is to decrease the "interface size" of Guile. But sometimes they are a bit entangled, which is the case for scm_getpid that might get removed when you're just looking to get around some compilation failure. Cheers, Andy -- http://wingolog.org/