Accepting request 1000043 from home:rhabacker:branches:windows:mingw:win64:binutils-2.39

- Fix generating invalid source file path when scanning binaries
  (boo#1202865)

OBS-URL: https://build.opensuse.org/request/show/1000043
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=149
This commit is contained in:
Ralf Habacker 2022-08-30 06:43:58 +00:00 committed by Git OBS Bridge
parent 35217c7460
commit b680ff0fd2
2 changed files with 11 additions and 1 deletions

View File

@ -15,7 +15,11 @@ state == 1 && $2 ~ /DW_AT_name/ {
state == 1 && $2 ~ /DW_AT_comp_dir/ {
atdir = $NF
if (atdir != "" && atname != "") {
# atname is absolute
if (atname ~ /^\//) {
print atname
state = 0
} else if (atdir != "" && atname != "") {
print atdir "/" atname
state = 0
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 29 10:17:22 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Fix generating invalid source file path when scanning binaries
(boo#1202865)
-------------------------------------------------------------------
Fri Aug 26 07:36:18 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>