Ludovic Courtès escreveu: > Hi, > > [EMAIL PROTECTED] (Ludovic Courtès) writes: > >> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >>> Han-Wen Nienhuys escreveu: >>>> Ludovic Courtès escreveu: >>>>> +/* >>>>> + Classic MIT Hack, see e.g. http://www.tekpool.com/?cat=9 >>>>> + */ >>>>> +int scm_i_uint_bit_count(unsigned int u) >>>>> >>>>> (BTW, it'd make sense to use Gnulib's `count-one-bits' module, which is >>>>> able to use GCC's `__builtin_popcount ()'.) >>> Could you add the gnulib module? I'll do the rest. >> I asked for re-licensing: >> >> http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/14349 >> >> Once that is done, all you need is to add it to `m4/gnulib-cache.m4', >> run "gnulib-tool --update", commit the module changes and additions, and >> hack the thing. You can post the patches before committing, too. ;-) > > I just did it (patch attached).
Thanks. I'm confused though, commit 53f4876abcebf3f05d2a88bba3a898ddcda25a74 Merge: 69f2317... 242ebea... Author: Ludovic Courtès <[EMAIL PROTECTED]> Date: Tue Sep 9 22:03:42 2008 +0200 Merge branch 'master' into strftime-gnulib Conflicts: libguile/ChangeLog srfi/ChangeLog test-suite/ChangeLog I thought we were supposed to keep the history linear; did I miss something? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen