From c5e120b8fe161ad249c4c5b39882d7129cd38761 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 8 Aug 2003 06:58:06 +0000 Subject: [lcd4linux @ 2003-08-08 06:58:06 by reinelt] improved forking --- debug.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 271ad9f..a90fec7 100644 --- a/debug.c +++ b/debug.c @@ -1,4 +1,4 @@ -/* $Id: debug.c,v 1.3 2001/03/12 12:39:36 reinelt Exp $ +/* $Id: debug.c,v 1.4 2003/08/08 06:58:06 reinelt Exp $ * * debug() and error() functions * @@ -20,6 +20,9 @@ * * * $Log: debug.c,v $ + * Revision 1.4 2003/08/08 06:58:06 reinelt + * improved forking + * * Revision 1.3 2001/03/12 12:39:36 reinelt * * reworked autoconf a lot: drivers may be excluded, #define's went to config.h @@ -62,6 +65,7 @@ void message (int level, const char *format, ...) static int log_open=0; extern int debugging; extern int foreground; + extern int background; if (level>debugging) return; @@ -69,15 +73,17 @@ void message (int level, const char *format, ...) (void) vsnprintf(buffer, sizeof(buffer), format, ap); va_end(ap); - if (foreground) { + if (!background) { #ifdef WITH_TEXT extern int curs_err(char *); if (!curs_err(buffer)) #endif - fprintf (level?stdout:stderr, "%s\n", buffer); - return; + fprintf (level?stdout:stderr, "%s\n", buffer); } - + + if (foreground) + return; + if (!log_open) { openlog ("LCD4Linux", LOG_PID, LOG_USER); log_open=1; -- cgit v1.2.3 iff/dvbv5_isdb-t/br-se-MonteAlegreDeSergipe?follow=1'>diffstats
path: root/dvbv5_isdb-t/br-se-MonteAlegreDeSergipe (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-01-31isdb-t: Update Brazil channel listsMauro Carvalho Chehab1935-11312/+70605
Use the current lists from portalbsd.com. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-01-30dvb-s: drop transponders that aren't there at Lyngsat anymoreMauro Carvalho Chehab50-20357/+0
Those transponders may have been renamed or decommissioned. So, drop them. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-01-30dvb-s: update from today's Lyngsat reportMauro Carvalho Chehab196-15543/+15859
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-01-30dtv-scan-tables: full uk transmitter updateSimon Liddicott81-500/+163
updates all transmitter files, removes discontinued muxes Link: https://lore.kernel.org/linux-media/20230216010528.5921-1-simon@liddicott.com Signed-off-by: Simon Liddicott <simon@liddicott.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-11-25dtv-scan-tables: hu-Digikabel changesHrotkó Gábor1-1/+26
Modifications by: https://digi.hu/tv/csatornalista FREQUENCY = 121000000 Link: https://lore.kernel.org/linux-media/8c632dad-d428-402e-a171-baf7234f2d85@gmail.com Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-04-30pt-All: fix modulationMauro Carvalho Chehab1-10/+10
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-04-30pt-All: Update Portugal channelsMauro Carvalho Chehab1-34/+70
There were some changes at Portugal channel frequencies, mostly in 2020. Update the DVB-T channel list accordingly, in order to reflect the current list of emitters. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-03-07Update Brazilian ISDB-T tablesMauro Carvalho Chehab549-2923/+13860
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-03-07Update satellite channel lists from LyngsatMauro Carvalho Chehab54-1882/+2326
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2021-12-14dtv-scan-tables: latest UK changesSimon Liddicott4-24/+24
only includes transmitters where there have been changes Link: https://lore.kernel.org/linux-media/20210128234622.75009-1-simon@liddicott.com Signed-off-by: Simon Liddicott <simon@liddicott.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-30update Brazilian scan filesMauro Carvalho Chehab2476-12805/+69312
Data updated according with https://portalbsd.com.br/. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-30Remove legacy entriesMauro Carvalho Chehab129-24898/+0
There are several entries that used to be at Lyngsat. Several of them were merged with other entries. On others, there's no TV signal anymore. So, drop them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721
Those are are new satellite descriptions that didn't use to exist on Lyngsat. Add them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182
Those two satellites have two names. Use Just one of them. While here, update their frequencies from Lyngsat. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>