Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
xfce4-session
xfce4-session-Make-verbose-logging-conditional....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-session-Make-verbose-logging-conditional.patch of Package xfce4-session
From 26f9ae8df629f02af0773df2ed82db6b85c5b556 Mon Sep 17 00:00:00 2001 From: Eric Koegel <eric.koegel@gmail.com> Date: Sat, 28 Mar 2015 16:57:24 +0300 Subject: Make verbose logging conditional (Bug #11698) Bug report and patch submitted by Zhihao Yuan Signed-off-by: Eric Koegel <eric.koegel@gmail.com> diff --git a/xfce4-session/xfsm-global.h b/xfce4-session/xfsm-global.h index d2e0c29..d458712 100644 --- a/xfce4-session/xfsm-global.h +++ b/xfce4-session/xfsm-global.h @@ -49,7 +49,10 @@ extern XfsmSplashScreen *splash_screen; #if defined(G_HAVE_ISO_VARARGS) #define xfsm_verbose(...)\ - xfsm_verbose_real (__func__, __FILE__, __LINE__, __VA_ARGS__) +G_STMT_START{ \ + if (G_UNLIKELY (verbose)) \ + xfsm_verbose_real (__func__, __FILE__, __LINE__, __VA_ARGS__); \ +}G_STMT_END #else -- cgit v0.10.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor