* source.c (is_regular_file): New function.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 23 Apr 2002 11:09:10 +0000 (11:09 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 23 Apr 2002 11:09:10 +0000 (11:09 +0000)
commit1da1a192397ebfc0afde6e4c02a6242bb01407c2
tree9f7e10ddaa770f101cc71597a903d51d1cf137f4
parent5019bb5448aca347b105f281343586793fb76723
    * source.c (is_regular_file): New function.
        (openp): Check wether file to open is a regular file
        to avoid opening directories.
gdb/ChangeLog
gdb/source.c