[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-30 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 --- Comment #6 from Mark Wielaard --- (In reply to Frank Ch. Eigler from comment #5) > Yeah, I suppose there is that race possibility. > > One way to fix it is to use something like file locks, such as a flock(2) on > a designated file such a

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-30 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 --- Comment #7 from Frank Ch. Eigler --- > I wonder if there is some way around it using temp names for the directories, > like we do for the actual file names, so that we can atomically rename them > in-place. I couldn't think of one without

[PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-11-30 Thread Dmitry V. Levin
According to GNU Automake documentation [1], $(EXEEXT) is the suffix that should be used for executables, it is not applicable for shared libraries. [1] https://www.gnu.org/software/automake/manual/html_node/EXEEXT.html Signed-off-by: Dmitry V. Levin --- debuginfod/ChangeLog | 4 debugin

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-11-30 Thread Mark Wielaard
On Mon, Nov 30, 2020 at 08:00:00AM +, Dmitry V. Levin wrote: > According to GNU Automake documentation [1], $(EXEEXT) is the suffix > that should be used for executables, it is not applicable for shared > libraries. > > [1] https://www.gnu.org/software/automake/manual/html_node/EXEEXT.html I

[PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-11-30 Thread Dmitry V. Levin
Add DEBUGINFOD_SONAME macro to API for use by those of libdebuginfod clients that would like to dlopen the library in the same way as __libdwfl_debuginfod_init does. Signed-off-by: Dmitry V. Levin --- ChangeLog| 5 + configure.ac