libdpkg: Refactor lax problem reporting into parse_lax_problem() function
commit77cd6c000d433c8ebe6dfcf51579ed0f985e45ee
authorGuillem Jover <guillem@debian.org>
Thu, 9 May 2024 22:18:47 +0000 (10 00:18 +0200)
committerGuillem Jover <guillem@debian.org>
Thu, 9 May 2024 22:18:47 +0000 (10 00:18 +0200)
tree801587c64f3c17334c1a62c311d58fa22707874f
parent4ed783dc7f83f97642ca206d05fc155c636dfb3a
libdpkg: Refactor lax problem reporting into parse_lax_problem() function

This function checks whether need to report a warning or an error
depending on whether we are currently in one of the specific lax modes,
as specified by the passed flags.
lib/dpkg/parse.c
lib/dpkg/parsedump.h
lib/dpkg/parsehelp.c