From 62c71c219fee02dbdf435088deeff0f2fc55178e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 4 Mar 2021 19:00:28 +0000 Subject: fixes from debian, tldistro 3 Mar 2021 07:59:41 git-svn-id: svn://tug.org/texlive/trunk@58117 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/luafilesystem/src/lfs.c | 6 +++++- Build/source/texk/web2c/synctexdir/ChangeLog | 9 ++++++++- Build/source/texk/web2c/synctexdir/synctex_parser.c | 3 ++- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/luatexdir/luafilesystem/src/lfs.c b/Build/source/texk/web2c/luatexdir/luafilesystem/src/lfs.c index c8122c2ca95..10d72f86103 100644 --- a/Build/source/texk/web2c/luatexdir/luafilesystem/src/lfs.c +++ b/Build/source/texk/web2c/luatexdir/luafilesystem/src/lfs.c @@ -60,7 +60,11 @@ #include #include #include /* for MAXPATHLEN */ - #define LFS_MAXPATHLEN MAXPATHLEN + #ifdef MAXPATHLEN + #define LFS_MAXPATHLEN MAXPATHLEN + #else + #define LFS_MAXPATHLEN 128 + #endif #endif #include diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index fd74522647e..c140bba63ba 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,3 +1,10 @@ +2021-03-04 Karl Berry + + * synctex_scanner_new_with_output_file: don't warn to terminal + with _synctex_error when a file is missing. + code from https://gitlab.gnome.org/GNOME/evince/commit/678410e81d0c889f4db4e995ca451ed62b8a2eee + Debian bug #908964 + 2019-10-10 Hironori Kitagawa * synctex-p-rec.ch0, synctex-ep-rec.ch0: Fix \meaning\synctex @@ -6,7 +13,7 @@ 2019-08-07 Akira Kakuto - * synctex.c: Improve support of non-ascii path names + * synctex.c: Improve support of non-ASCII path names (Windows only). 2018-10-25 Akira Kakuto diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c index 7fcbe0ce3a9..45124ea3bff 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser.c +++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c @@ -6009,7 +6009,8 @@ synctex_scanner_p synctex_scanner_new_with_output_file(const char * output, cons if ((scanner->reader = synctex_reader_init_with_output_file(scanner->reader, output, build_directory))) { return parse? synctex_scanner_parse(scanner):scanner; } - _synctex_error("No file?"); + // don't warn to terminal if no file is present, this is a library. + // _synctex_error("No file?"); return NULL; } -- cgit v1.2.3