Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
gpm
gpm-lib-silent.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpm-lib-silent.patch of Package gpm
--- src/lib/report-lib.c.lib-silent 2002-12-24 23:57:16.000000000 +0100 +++ src/lib/report-lib.c 2006-01-18 17:55:38.000000000 +0100 @@ -24,8 +24,16 @@ #include "headers/message.h" +static int gpm_silent() { + if ( getenv( "GPM_VERBOSE" ) == NULL ) return 1; + return 0; +} + void gpm_report(int line, char *file, int stat, char *text, ... ) { + if ( gpm_silent() && stat != GPM_STAT_OOPS ) + return; + char *string = NULL; int log_level; va_list ap;
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