Re: GSoC: Porting Guix to Hurd week 3+4 report.

2015-06-04 Thread Ludovic Courtès
Manolis Ragkousis skribis: > Hey Thomas, thank you for looking into this. > > On 2 June 2015 at 18:55, Thomas Schwinge wrote: >> Shame on me, but I've never actively used/built Guix before. I do know >> about , and that there must be >> a Guix manual e

[PATCH 2/2] console-client: Fix lower range of binary search

2015-06-04 Thread Diego Nieto Cid
To prevent infinite recursion range checking was introduced as an exit condition adding two extra comparisons on each recursive call. By fixing the range used by the recursive call over the lower half of the array one can avoid penalizing successful lookups while still preventing infinite recursio

[PATCH 1/2] * console-client/xkb/kstoucs.c (find_ucs): assert precondition.

2015-06-04 Thread Diego Nieto Cid
--- console-client/xkb/kstoucs.c | 4 1 file changed, 4 insertions(+) diff --git a/console-client/xkb/kstoucs.c b/console-client/xkb/kstoucs.c index 8471e94..fb62445 100644 --- a/console-client/xkb/kstoucs.c +++ b/console-client/xkb/kstoucs.c @@ -1,3 +1,5 @@ +#include + struct ksmap { i

[PATCH 0/2] Fix binary search in console-client

2015-06-04 Thread Diego Nieto Cid
Hi A few weeks ago, a problem with the Hurd console was reported at the IRC channel. Justus had a look at it and he found that the keysym to unicode translation was broken when converting a keysym lower than the lowest keysym known to the conversion table. He fixed it by quitting the search if th

[PATCH] Check AWK usability when XKB is enabled

2015-06-04 Thread Diego Nieto Cid
* configure.ac: test whether AWK provides strtonum function. --- configure.ac | 8 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 71f3a0e..b03057b 100644 --- a/configure.ac +++ b/configure.ac @@ -292,6 +292,14 @@ PKG_CHECK_MODULES([X11], [x11 xproto],

[PATCH] Check AWK usability when XKB is enabled

2015-06-04 Thread Diego Nieto Cid
Hi, While compiling the Hurd in a freshly installed system I found out that the build failed because the awk command (in mawk package) did not implent strtonum function, which is required by a script in console-client. This patch checks whether awk provides such function, whenever XKB is enabled,

Re: mach_task_self, mach_thread_self, mach_host_self

2015-06-04 Thread Samuel Thibault
Justus Winter, le Wed 03 Jun 2015 13:54:40 +0200, a écrit : > 1/ Cache the [host] port in the libc like we do for the task port. I'd say so, yes, there is no need for a kernel call here. Samuel

Re: RFC: [PATCH] trans/fakeroot.c

2015-06-04 Thread Samuel Thibault
Hello, It seems there is still a corner case which doesn't work: the pycorrfit package fails to build with: chmod -R 644 debian/pycorrfit/usr/share/doc/pycorrfit/examples/external_model_functions/ chmod: cannot access 'debian/pycorrfit/usr/share/doc/pycorrfit/examples/external_model_functions/E