|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#13768: closed (--without-posix code uses scm_getpid() in libguile-2.0.2) |
Date: | Sun, 24 Feb 2013 19:24:01 +0000 |
Your message dated Sun, 24 Feb 2013 20:21:54 +0100 with message-id <address@hidden> and subject line Re: bug#13768: --without-posix code uses scm_getpid() in libguile-2.0.2 has caused the debbugs.gnu.org bug report #13768, regarding --without-posix code uses scm_getpid() in libguile-2.0.2 to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 13768: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13768 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: --without-posix code uses scm_getpid() in libguile-2.0.2 Date: Wed, 20 Feb 2013 00:38:15 +0100 I'm experimenting a little with statically linking a minimal build of libguile. So while no one really would want to build it it with --without-posix (except when you want the same functionality on all platforms including windows in your program), and this is a low priority bug and I can easily fix it myself for my purposes, it is still a bug. User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 What happens is, in random.c in random_state_of_last_resort on line 668 scm_getpid is used to seed the random generator. So either a preprocessor switch or a hand constructed scm like in scm_getpid (scm_from_ulong(getpid())) should be used there.Regards
--- End Message ---
--- Begin Message ---Subject: Re: bug#13768: --without-posix code uses scm_getpid() in libguile-2.0.2 Date: Sun, 24 Feb 2013 20:21:54 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) On Wed 20 Feb 2013 00:38, Jan Schukat <address@hidden> writes: > What happens is, in random.c in random_state_of_last_resort on line 668 > scm_getpid is used to seed the random generator. So either a > preprocessor switch or a hand constructed scm like in scm_getpid > (scm_from_ulong(getpid())) should be used there. Fixed, thanks for the report. Andy -- http://wingolog.org/
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |