[PATCH 2/3] Add a file_exec_file_name RPC

2010-08-04 Thread Emilio Pozuelo Monfort
>From ba528e4a9db131112aa09edfdbb3449b55618578 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 26 May 2010 01:27:40 +0200 Subject: [PATCH 2/3] Add a file_exec_file_name RPC * hurd/fs.defs (file_exec): Deprecate in favor of... (file_exec_file_name): ...this new RPC. Change all imp

[PATCH 3/3] Use the new _hurd_exec_file_name function

2010-08-04 Thread Emilio Pozuelo Monfort
>From bbce8439190738efc9260490fa52f9dfe9600306 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 26 May 2010 23:32:16 +0200 Subject: [PATCH 3/3] Use the new _hurd_exec_file_name function * configure.in: Check for _hurd_exec_file_name. * utils/fakeauth.c: Call _hurd_exec_file_name i

[PATCH 1/3] Add a new exec_exec_file_name RPC

2010-08-04 Thread Emilio Pozuelo Monfort
And these are the Hurd patches. Regards, Emilio >From 011df9d35eb68132cdb14a0f55e2435375e2cfce Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 26 May 2010 00:15:37 +0200 Subject: [PATCH 1/3] Add a new exec_exec_file_name RPC * hurd/exec.defs (exec_exec_file_name): New RPC. (exe

[PATCH] Use the new file_exec_file_name RPC

2010-08-04 Thread Emilio Pozuelo Monfort
Hi, This is the glibc patch. If we need to check for file_exec_file_name, I'll integrate something along the lines of the attached patch (after addressing some issues mentioned on IRC with the macro). Regards, Emilio 2010-08-04 Emilio Pozuelo Monfort * hurd/hurdexec.c (_hurd_exec): D

Re: exec server and /dev/fd/N

2010-08-04 Thread Emilio Pozuelo Monfort
Hi, Regarding glibc checking for the presence of file_exec_file_name in configure, Thomas said he's happy if we just let the build fail if the RPC is not present. Should we check for it or is that fine? If it's fine, I believe these patches are ready to be pushed. If we need to check for it, I hav

[PATCH 6/8] Add missing functions to input_driver_test.

2010-08-04 Thread Diego Nieto Cid
--- input_driver_test.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/input_driver_test.c b/input_driver_test.c index b050b13..6d2394b 100644 --- a/input_driver_test.c +++ b/input_driver_test.c @@ -76,6 +76,16 @@ error_t console_switch (int id, int delta) re

[PATCH 4/8] Remove glue code and use mig to regenerate it.

2010-08-04 Thread Diego Nieto Cid
modified: Makefile new file: kdioctl.defs deleted:kdioctlServer.c deleted:kdioctl_S.h --- Makefile| 59 + kdioctl.defs| 39 +++ kdioctlServer.c | 192 --- kdioctl_S.h | 60 ---

[PATCH 7/8] Argument's default values are set independently.

2010-08-04 Thread Diego Nieto Cid
--- xkb.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/xkb.c b/xkb.c index 00fa6e0..8c16d35 100644 --- a/xkb.c +++ b/xkb.c @@ -1748,6 +1748,9 @@ xkb_init (void **handle, int no_exit, int argc, char **argv, int *next) if (!arguments.xkbdir) { arguments.

[PATCH 2/8] Avoid hashing garbage for short keynames.

2010-08-04 Thread Diego Nieto Cid
--- xkbdata.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/xkbdata.c b/xkbdata.c index bd23c46..1cba0d5 100644 --- a/xkbdata.c +++ b/xkbdata.c @@ -50,6 +50,14 @@ keyname_init () /* XXX: error. */ } +static inline int +keyname_hash(char *keyname) +{ +

[PATCH 5/8] Update code borrowed from console-client.

2010-08-04 Thread Diego Nieto Cid
Makefile: adjust CFLAGS to support extern inline. inputdev.h: copied from hurd/console-client/mach-inputdev.h. version.h: copied from configured directory. --- Makefile |8 +- input.h|3 + inputdev.h |6 +- trans.c| 892 +++

[PATCH 0/8] Bring console-driver-xkb up to date

2010-08-04 Thread Diego Nieto Cid
Dear list, The past couple of weeks I've been packaging Marco's input driver for Arch Hurd and I've found that some changes were necesary to make it work again. The patch series this message introduces is based on the Debian source code (after applying patches) for version 0.008-7 of the pa

[PATCH 3/8] Rule vmod returns an int with the vmod's bit on.

2010-08-04 Thread Diego Nieto Cid
This allows to combine virtual modifiers safely using a bitwise or operation. Also, warn when too many virtual modifier are defined. --- parser.y |5 - xkbdata.c |2 ++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/parser.y b/parser.y index cf1ca33..2def00a 100644 ---

[PATCH 8/8] Use vfprintf in debug_printf and write to stderr.

2010-08-04 Thread Diego Nieto Cid
--- xkb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xkb.c b/xkb.c index 8c16d35..ad990e8 100644 --- a/xkb.c +++ b/xkb.c @@ -123,7 +123,7 @@ debug_printf (const char *f, ...) va_start (ap, f); #ifdef XKB_DEBUG - ret = printf (f, ap); + ret = vfprintf (stder

[PATCH 1/8] Update the parser to work with current XKB files.

2010-08-04 Thread Diego Nieto Cid
Squashed commits: * Add type to $$ in mid-rules.(see: http://www.mail-archive.com/help-bi...@gnu.org/msg02159.html ) * Lexer support for keycodes with +/- symbols and arbitrary level numbers. * Skip to main file's default section when needed. * Update key type assigment routine.

Re: preliminary patch for initrd support in Mach

2010-08-04 Thread Jeremie Koenig
Hi, On Sat, Jul 31, 2010 at 04:49:08PM +0200, Samuel Thibault wrote: > Jérémie Koenig, le Sat 12 Jun 2010 19:05:20 +0200, a écrit : > > @@ -128,7 +129,7 @@ > > } > >else > > { > > - int i, losers, maxlen; > > + int i, losers; > > > >/* Initialize boot script varia