mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6217] [MERGED] build: move errExit macro into inline function #5878
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5878
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/6217
Author: @kmk3
Created: 2/19/2024
Status: ✅ Merged
Merged: 2/23/2024
Merged by: @kmk3
Base:
master← Head:build-errexit-func📝 Commits (1)
f7da0e7build: move errExit macro into inline function📊 Changes
1 file changed (+9 additions, -7 deletions)
View changed files
📝
src/include/common.h(+9 -7)📄 Description
Move most of the
errExitmacro into a new_errExitinline functionand use the former just to forward arguments to the latter.
This reduces the noise in the build output when using
-fanalyzer, asit causes the
errExitmacro to stop being expanded.For example, the complete output of the following warning in
src/firejail/dbus.c is reduced from 243 lines to 141 lines (a ~41%
reduction):
Relates to #6190.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.