diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-03-28 00:25:45 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-03-28 00:25:45 +0000 |
commit | c70ec3e0cfe1b1f8f8bcd593d8e826c381422f49 (patch) | |
tree | 795508e28bfc9d330fcf3943332781e63f279aed /Build/source/texk/web2c/luatexdir/utils | |
parent | 28aff1e0215254537e412e6f8dea0b8cb7a9c04b (diff) |
web2c/luatexdir: Sync with luatex trunk
git-svn-id: svn://tug.org/texlive/trunk@36652 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/utils')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/utils.h | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/utils.w | 26 |
2 files changed, 1 insertions, 27 deletions
diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.h b/Build/source/texk/web2c/luatexdir/utils/utils.h index 135bd5dafc0..6818c33c765 100644 --- a/Build/source/texk/web2c/luatexdir/utils/utils.h +++ b/Build/source/texk/web2c/luatexdir/utils/utils.h @@ -24,7 +24,6 @@ extern int epochseconds; extern int microseconds; -extern char *pdftex_banner; void make_subset_tag(fd_entry *); @@ -32,7 +31,6 @@ __attribute__ ((format(printf, 1, 2))) void tex_printf(const char *, ...); void garbage_warning(void); -void make_pdftex_banner(void); size_t xfwrite(void *, size_t size, size_t nmemb, FILE *); int xfflush(FILE *); int xgetc(FILE *); diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.w b/Build/source/texk/web2c/luatexdir/utils/utils.w index c1ada7c5e93..131ee3b6bc2 100644 --- a/Build/source/texk/web2c/luatexdir/utils/utils.w +++ b/Build/source/texk/web2c/luatexdir/utils/utils.w @@ -35,7 +35,7 @@ #include "zlib.h" #include "md5.h" -#include "lua/luatex-api.h" /* for ptexbanner */ +#include "lua/luatex-api.h" /* for luatex_banner */ #include "png.h" #include "mplib.h" @@ -195,30 +195,6 @@ void garbage_warning(void) remove_pdffile(static_pdf); } -@ @c -char *pdftex_banner = NULL; - -@ @c -void make_pdftex_banner(void) -{ - char *s; - unsigned int slen; - int i; - - if (pdftex_banner != NULL) - return; - - slen = (unsigned int) (SMALL_BUF_SIZE + - strlen(ptexbanner) + - strlen(versionstring) + - strlen(kpathsea_version_string)); - s = xtalloc(slen, char); - /* The Web2c version string starts with a space. */ - i = snprintf(s, slen, - "%s%s %s", ptexbanner, versionstring, kpathsea_version_string); - check_nprintf(i, slen); - pdftex_banner = s; -} @ @c size_t xfwrite(void *ptr, size_t size, size_t nmemb, FILE * stream) |