Re: Bug in scm_getaffinity

2014-07-03 Thread Eli Zaretskii
> From: l...@gnu.org (Ludovic Courtès) > Cc: guile-devel@gnu.org > Date: Wed, 02 Jul 2014 23:04:38 +0200 > > > static SCM > > cpu_set_to_bitvector (const cpu_set_t *cs) > > { > > SCM bv; > > size_t cpu; > > > > bv = scm_c_make_bitvector (sizeof (*cs), SCM_BOOL_F); > > > > for

Re: Bug in scm_getaffinity

2014-07-02 Thread Ludovic Courtès
Eli Zaretskii skribis: > While working on the MS-Windows emulation of this function, I bumped > into something that looks like a bug in its subroutine: > > static SCM > cpu_set_to_bitvector (const cpu_set_t *cs) > { > SCM bv; > size_t cpu; > > bv = scm_c_make_bitvector (sizeof (

Bug in scm_getaffinity

2014-07-02 Thread Eli Zaretskii
While working on the MS-Windows emulation of this function, I bumped into something that looks like a bug in its subroutine: static SCM cpu_set_to_bitvector (const cpu_set_t *cs) { SCM bv; size_t cpu; bv = scm_c_make_bitvector (sizeof (*cs), SCM_BOOL_F); for (cpu = 0; cpu <