This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Should openp open directories?
> Date: Mon, 22 Apr 2002 13:00:17 +0200
> From: Joel Brobecker <brobecker@ACT-Europe.FR>
>
> Sorry for the delay. Here is a new patch, based on our discussion:
>
> 2002-04-18 Joel Brobecker <brobecker@gnat.com>
>
> * source.c (is_regular_file): New function.
> (openp): Check wether file to open is a regular file
> to avoid opening directories.
>
> Ok to commit?
Yes, thanks.