Re: llvm / clang / scan-build of the Hurd

2013-11-07 Thread Ludovic Courtès
Richard Braun skribis: > On Fri, Oct 25, 2013 at 02:32:08PM -0700, Roland McGrath wrote: >> > Clang does not support nested functions [1], and there is no plan to >> > support them upstream. As such, any file that uses nested functions >> > (or any gcc extension not supported by clang) is exclude

[PATCH 3/3] utils: implement settrans --pid-file

2013-11-07 Thread Justus Winter
This switch makes settrans write the pid file of the active translator it starts to a file. This makes the pid easily retrievable for test suites. * utils/settrans.c (options): Add --pid-file. (main): Add variable pid_file. (parse_opt): Handle --pid-file switch. (open_node): Write pid file. --- u

[PATCH 2/3] utils: implement portinfo --search

2013-11-07 Thread Justus Winter
Implement the --search switch of portinfo. The feature was suggested in the source code and partly implemented. portinfo --search locates the target ports (or all ports) in any other process and prints the port mapping and information about the port in the remote process. * utils/Makefile: Link po

[PATCH 1/3] libshouldbeinlibc: fix reference counting in port_name_xlator_create

2013-11-07 Thread Justus Winter
Both task ports are deallocated in the destructor, so they must be referenced in the constructor. * libshouldbeinlibc/portxlate.c (port_name_xlator_create): Fix reference counting. --- libshouldbeinlibc/portxlate.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libshouldbeinlibc/portx