This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] Fix build problem with system call in compile/compile.c
- From: Pedro Alves <palves at redhat dot com>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>, Steve Ellcey <sellcey at imgtec dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org, Yao Qi <yao at codesourcery dot com>, Chen Gang <gang dot chen at sunrus dot com dot cn>
- Date: Wed, 07 Jan 2015 19:35:18 +0000
- Subject: Re: [Patch] Fix build problem with system call in compile/compile.c
- Authentication-results: sourceware.org; auth=none
- References: <c2ab3326-5227-43ff-a755-35cf75e209d8 at BAMAIL02 dot ba dot imgtec dot org> <20150106041615 dot GJ5445 at adacore dot com> <1420560255 dot 15691 dot 21 dot camel at ubuntu-sellcey> <20150107041351 dot GN5445 at adacore dot com> <1420655766 dot 15691 dot 44 dot camel at ubuntu-sellcey> <alpine dot LFD dot 2 dot 11 dot 1501071858580 dot 27020 at eddie dot linux-mips dot org>
On 01/07/2015 07:29 PM, Maciej W. Rozycki wrote:
> Therefore I think it would be best to rewrite it to only use the relevant
> C library calls like `remove' and `rmdir' to recursively remove a
> directory; I wonder if actually we don't have something relevant already
> available in libiberty or gnulib.
Jan's working on that already. See the ftw discussion, and the gnulib patches.
>
> That of course does not mean we oughtn't to make a temporary fix to the
> immediate problem discussed here, I certainly don't object that.
Yep.
Thanks,
Pedro Alves