~sbinet/star-tex-patches

star-tex: internal/ctex: dont use GCC extension (raw strings) v1 PROPOSED

Sebastien Binet: 1
 internal/ctex: dont use GCC extension (raw strings)

 1 files changed, 2 insertions(+), 6 deletions(-)
#439172 linux.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sbinet/star-tex-patches/patches/20539/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH star-tex] internal/ctex: dont use GCC extension (raw strings) Export this patch

Signed-off-by: Sebastien Binet <s@sbinet.org>
---
 internal/ctex/ctex.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/internal/ctex/ctex.c b/internal/ctex/ctex.c
index 0e5aaef..07a59d4 100644
--- a/internal/ctex/ctex.c
+++ b/internal/ctex/ctex.c
@@ -19433,12 +19433,8 @@ void process(ctex_t *ctx, const char *filename, const char *result,
  ctx->dvi_mgr.dvi_file = fopen(result, "w");

  const char *args[5] = {
      R"(\nonstopmode)", // omits all stops (\batchmode also omits terminal
                         // output)
      R"(\input plain)",
      R"(\input)",
      filename,
      R"(\end)",
      // omits all stops (\batchmode also omits terminal output)
      "\\nonstopmode", "\\input plain", "\\input", filename, "\\end",
  };
  typeset(ctx, 5, args);
}
-- 
2.30.1
builds.sr.ht
star-tex/patches/linux.yml: SUCCESS in 44s

[internal/ctex: dont use GCC extension (raw strings)][0] from [Sebastien Binet][1]

[0]: https://lists.sr.ht/~sbinet/star-tex-patches/patches/20539
[1]: mailto:s@sbinet.org

✓ #439172 SUCCESS star-tex/patches/linux.yml https://builds.sr.ht/~sbinet/job/439172