summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Fehlauer <[email protected]>2017-11-30 12:45:58 +0100
committerHenrik Fehlauer <[email protected]>2017-11-30 12:45:58 +0100
commitb6573a271349958e6ab34df86f0fcae3b58c0a51 (patch)
treee879b84c57ffb9d3d799ad76c6b8fa33ef841c6e
parent02a4cfb26afc822777377c9539473f757b277490 (diff)
Change whitespace in synctex patches
15-prevent-leaks-and-segfault.diff did not apply cleanly with quilt. After fixing this, some of the other patches needed a refresh.
-rw-r--r--core/synctex/patches/06-mingw-_synctex_error.diff2
-rw-r--r--core/synctex/patches/08-fix_cpp_comments.diff2
-rw-r--r--core/synctex/patches/10-fix-typo.diff2
-rw-r--r--core/synctex/patches/13-fix-Wundef-warnings.diff2
-rw-r--r--core/synctex/patches/15-prevent-leaks-and-segfault.diff2
-rw-r--r--core/synctex/synctex_parser.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/core/synctex/patches/06-mingw-_synctex_error.diff b/core/synctex/patches/06-mingw-_synctex_error.diff
index 1a5020b..cf89dec 100644
--- a/core/synctex/patches/06-mingw-_synctex_error.diff
+++ b/core/synctex/patches/06-mingw-_synctex_error.diff
@@ -7,7 +7,7 @@ Index: synctex/synctex_parser_utils.c
===================================================================
--- synctex.orig/synctex_parser_utils.c
+++ synctex/synctex_parser_utils.c
[email protected]@ -101,8 +101,26 @@ int _synctex_log(int level, const char *
[email protected]@ -103,8 +103,26 @@ int _synctex_log(int level, const char *
char *buff;
size_t len;
OutputDebugStringA(prompt);
diff --git a/core/synctex/patches/08-fix_cpp_comments.diff b/core/synctex/patches/08-fix_cpp_comments.diff
index 7cf1316..d8611a5 100644
--- a/core/synctex/patches/08-fix_cpp_comments.diff
+++ b/core/synctex/patches/08-fix_cpp_comments.diff
@@ -27,7 +27,7 @@ Index: synctex/synctex_parser_utils.c
===================================================================
--- synctex.orig/synctex_parser_utils.c
+++ synctex/synctex_parser_utils.c
[email protected]@ -583,6 +583,6 @@ int _synctex_get_name(const char * outpu
[email protected]@ -585,6 +585,6 @@ int _synctex_get_name(const char * outpu
const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode) {
static const char * synctex_io_modes[4] = {"r","rb","a","ab"};
diff --git a/core/synctex/patches/10-fix-typo.diff b/core/synctex/patches/10-fix-typo.diff
index b22982b..dd1e7dd 100644
--- a/core/synctex/patches/10-fix-typo.diff
+++ b/core/synctex/patches/10-fix-typo.diff
@@ -6,7 +6,7 @@ Index: synctex/synctex_parser_utils.c
===================================================================
--- synctex.orig/synctex_parser_utils.c
+++ synctex/synctex_parser_utils.c
[email protected]@ -406,7 +406,7 @@ char * _synctex_merge_strings(const char
[email protected]@ -408,7 +408,7 @@ char * _synctex_merge_strings(const char
/* The purpose of _synctex_get_name is to find the name of the synctex file.
* There is a list of possible filenames from which we return the most recent one and try to remove all the others.
diff --git a/core/synctex/patches/13-fix-Wundef-warnings.diff b/core/synctex/patches/13-fix-Wundef-warnings.diff
index 0001291..0d6357f 100644
--- a/core/synctex/patches/13-fix-Wundef-warnings.diff
+++ b/core/synctex/patches/13-fix-Wundef-warnings.diff
@@ -315,7 +315,7 @@ Index: synctex/synctex_parser_utils.c
===================================================================
--- synctex.orig/synctex_parser_utils.c
+++ synctex/synctex_parser_utils.c
[email protected]@ -126,7 +126,7 @@ int _synctex_log(int level, const char *
[email protected]@ -128,7 +128,7 @@ int _synctex_log(int level, const char *
OutputDebugStringA("\n");
free(buff);
}
diff --git a/core/synctex/patches/15-prevent-leaks-and-segfault.diff b/core/synctex/patches/15-prevent-leaks-and-segfault.diff
index 17bc677..25441c4 100644
--- a/core/synctex/patches/15-prevent-leaks-and-segfault.diff
+++ b/core/synctex/patches/15-prevent-leaks-and-segfault.diff
@@ -39,7 +39,7 @@ Index: synctex/synctex_parser.c
@@ -5883,6 +5885,15 @@ synctex_scanner_p synctex_scanner_parse(
scanner->x_offset = scanner->y_offset = 6.027e23f;
scanner->reader->line_number = 1;
-
+
+ /* TODO: cleanup
+ * In some (all?) cases SYNCTEX_START is already initialized
+ * in synctex_reader_init_with_output_file(). Much of the
diff --git a/core/synctex/synctex_parser.c b/core/synctex/synctex_parser.c
index bd2878e..4c1923b 100644
--- a/core/synctex/synctex_parser.c
+++ b/core/synctex/synctex_parser.c
@@ -5884,7 +5884,7 @@ synctex_scanner_p synctex_scanner_parse(synctex_scanner_p scanner) {
* If there is a post scriptum section, this value will be overriden by the real life value */
scanner->x_offset = scanner->y_offset = 6.027e23f;
scanner->reader->line_number = 1;
-
+
/* TODO: cleanup
* In some (all?) cases SYNCTEX_START is already initialized
* in synctex_reader_init_with_output_file(). Much of the