Re: I need help testing new interface

2010-05-25 Thread olafBuddenhagen
Hi, On Mon, May 24, 2010 at 10:36:51AM +0200, Sergio Lopez wrote: > You can find the patched packages here: > > http://blogs.nologin.es/uploads/hurd Great :-) Too bad I can't test them right now... But I'm really eager to see the effect :-) Hope I will be able to run them in a not too distant

Re: exec server and /dev/fd/N

2010-05-25 Thread Emilio Pozuelo Monfort
On 25/05/10 21:10, Carl Fredrik Hammar wrote: >> @@ -278,7 +280,9 @@ check_hashbang (struct execdata *e, >>else >> name = argv; >> >> - if (strchr (name, '/') != NULL) >> + if (filename) >> +error = lookup (name = filename, 0, &name_file); >>

Re: exec server and /dev/fd/N

2010-05-25 Thread Samuel Thibault
Emilio Pozuelo Monfort, le Tue 25 May 2010 23:03:43 +0200, a écrit : > > Oh, I haven't noticed this file before. :-) > > It's the list of symbols libc.so should export. Since _hurd_exec is a public > API, I guessed _file_name should be too. But if we don't want it to be > public, I > can probabl

Re: exec server and /dev/fd/N

2010-05-25 Thread Emilio Pozuelo Monfort
Hi Carl, Thanks for the thorough review! On 25/05/10 21:10, Carl Fredrik Hammar wrote: > Some of the changes that need to be made have already been discussed on > IRC: you should use string_t instead of data_t, empty string instead of > NULL for RPCs, and update copyright years, OK > The first

Re: exec server and /dev/fd/N

2010-05-25 Thread Carl Fredrik Hammar
Hi, On Mon, May 24, 2010 at 12:08:10PM +0200, Emilio Pozuelo Monfort wrote: > > These are a series of patches to fix https://savannah.gnu.org/bugs/?28934 > > Basically the problem is that in some cases the exec server can't find the > file > name of the file being executed (when it's a script),

[bug #29206] /proc/meminfo says swap is full when it's not

2010-05-25 Thread Emilio Pozuelo Monfort
Follow-up Comment #2, bug #29206 (project hurd): I successfully tested this patch: diff -u -r1.1.2.5 procfs_nonpid_files.c --- procfs_nonpid_files.c 12 Dec 2008 00:48:54 - 1.1.2.5 +++ procfs_nonpid_files.c 25 May 2010 11:57:14 - @@ -412,8 +414,8 @@ "HighFree:t%l

[bug #29655] linkat() fails because __file_name_lookup_at() problems

2010-05-25 Thread Emilio Pozuelo Monfort
Update of bug #29655 (project hurd): Wiki-like text discussion box: As we have just discussed on #hurd, the patch looks good and should be submitted to libc-alpha after I have the copyright assignment for glibc on file (and after updating the changelog). => __

[PATCH] Fix --version in scripts

2010-05-25 Thread Carl Fredrik Hammar
Hi, Emilio reported that `fakeroot --version' (fakeroot-hurd in Debian) prints out `STANDARD_HURD_VERSION_uptime_' instead of its version. The bug is due to a faulty make rule which depends on the original sed script which inserted the correct version but was later inlined into Makeconf itself (ba