GNU bug report logs - #13768
--without-posix code uses scm_getpid() in libguile-2.0.2

Previous Next

Package: guile;

Reported by: Jan Schukat <shookie <at> email.de>

Date: Tue, 19 Feb 2013 23:42:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 13768-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 13768-done <at> debbugs.gnu.org, shookie <at> email.de
Subject: Re: bug#13768: --without-posix code uses scm_getpid() in
	libguile-2.0.2
Date: Mon, 25 Feb 2013 21:39:42 +0100
On Mon 25 Feb 2013 19:58, Mark H Weaver <mhw <at> netris.org> 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/




This bug report was last modified 12 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.