Die immediately if the output file is a directory.

Thu Nov  9 16:01:47 2006  Søren Sandmann  <sandmann@redhat.com>

        * sysprof-text.c (main): Die immediately if the output file is a
        directory.

        * autogen.sh (DIE): Also work when automake-1.9 is installed.
This commit is contained in:
Søren Sandmann
2006-11-09 21:02:31 +00:00
committed by Søren Sandmann Pedersen
parent 0513ed87e8
commit 442a9b4f3c
4 changed files with 31 additions and 5 deletions

View File

@ -231,6 +231,8 @@ bin_file_new (const char *filename)
else
{
bf->elf = elf_parser_new (filename, NULL);
if (!bf->elf)
g_print ("Could not parse file %s\n", bf->elf);
}
/* We need the text offset of the actual binary, not the