https://sourceware.org/bugzilla/show_bug.cgi?id=33635

--- Comment #14 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 16498
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16498&action=edit
updated patch

Hello Frank.  Thank you for your review.  I'm attaching updated patch,
hopefully addressing your comments.  I've also added a man page entry and a
testcase.

I've addressed the file open error similarly to how it is handled here:
$ nl -ba debuginfod/debuginfod.cxx | grep '^[[:space:]]*4474' -A6
  4474    int fd = open (rps.c_str(), O_RDONLY);
  4475    try  
  4476      {    
  4477        if (fd >= 0)
  4478          elf_classify (fd, executable_p, debuginfo_p, buildid,
sourcefiles);
  4479        else
  4480          throw libc_exception(errno, string("open ") + rps);
$
...

Please, check.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to