This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c | |
index 692ccee..9006806 100644 | |
--- a/src/daemon/abrt-server.c | |
+++ b/src/daemon/abrt-server.c | |
@@ -364,7 +364,6 @@ static int run_post_create(const char *dirname, struct response *resp) | |
g_main_loop_unref(context.main_loop); | |
g_io_channel_unref(channel_signal); | |
close(g_signal_pipe[1]); | |
- close(g_signal_pipe[0]); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0b24818744517e434c3a9546bba8ec16d4546d73 Mon Sep 17 00:00:00 2001 | |
From: Benjamin Berg <benjamin@sipsolutions.net> | |
Date: Sun, 19 Nov 2017 20:08:54 +0100 | |
Subject: [PATCH] recognize: Assume scan is correct | |
This is intended as an example of how to work around a bad scan when it is | |
already too late (seriously DON'T get into this situation in the first | |
place). | |
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\def\logpos#1{\lognamedpos{#1}#1} | |
\def\lognamedpos#1{\pdfsavepos\write128{POSITION #1: \the\pdflastxpos,\the\pdflastypos}} | |
\newenvironment{MYTEST}[1]{% | |
\begingroup% | |
\global\advance \gTESTint 1 % | |
\SEPARATOR% | |
\LONGTYPEOUT{% | |
TEST \the\gTESTint: \detokenize{#1}}% | |
\SEPARATOR% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{scrartcl} | |
\usepackage{expl3} | |
\ExplSyntaxOn | |
\cs_generate_variant:Nn \tl_if_eq:nnTF { VnTF } | |
\cs_generate_variant:Nn \tl_if_eq_p:NN { Vn } | |
\tl_new:N \l__tmp_tl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sdaps/reorder/__init__.py b/sdaps/reorder/__init__.py | |
index c258183..2ecc3b8 100644 | |
--- a/sdaps/reorder/__init__.py | |
+++ b/sdaps/reorder/__init__.py | |
@@ -34,6 +34,11 @@ def reorder(survey): | |
need to care about that here! | |
""" | |
+ image_count = survey.questionnaire.page_count | |
+ # We have two images per page in simplex mode! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tex/sdaps.cls b/tex/sdaps.cls | |
index 89abf1e..602b1c8 100644 | |
--- a/tex/sdaps.cls | |
+++ b/tex/sdaps.cls | |
@@ -120,7 +120,7 @@ | |
\RequirePackage[T1]{fontenc} | |
% color | |
-\RequirePackage{color} | |
+\RequirePackage{xcolor} |