summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2023-01-01 05:42:55 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2023-01-01 05:42:55 +0000
commit52690578271b4c56b297cb56916d04483ef1b910 (patch)
treef0ac2b85501127f365bcf71e0738152d69cddfea /Build/source/texk
parent8517028b3f0587510b34633a3fff1630d403a81a (diff)
ptexenc: Remove unused function ptenc_get_command_line_args()
git-svn-id: svn://tug.org/texlive/trunk@65423 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/ptexenc/COPYRIGHT2
-rw-r--r--Build/source/texk/ptexenc/ChangeLog6
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c22
-rw-r--r--Build/source/texk/ptexenc/ptexenc/ptexenc.h1
-rw-r--r--Build/source/texk/ptexenc/version.ac2
5 files changed, 8 insertions, 25 deletions
diff --git a/Build/source/texk/ptexenc/COPYRIGHT b/Build/source/texk/ptexenc/COPYRIGHT
index 063b0fd83ee..09a4da02d59 100644
--- a/Build/source/texk/ptexenc/COPYRIGHT
+++ b/Build/source/texk/ptexenc/COPYRIGHT
@@ -1,6 +1,6 @@
Copyright (C) 2009 ASCII MEDIA WORKS.
Copyright (C) 2006-2010 N. Tsuchimura
-Copyright (C) 2010-2022 Japanese TeX Development Community
+Copyright (C) 2010-2023 Japanese TeX Development Community
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog
index c37a0aad278..c3a94f55a0c 100644
--- a/Build/source/texk/ptexenc/ChangeLog
+++ b/Build/source/texk/ptexenc/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-01 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * ptexenc.c, ptexenc/ptexenc.h:
+ Remove unused function ptenc_get_command_line_args().
+ * version.ac, COPYRIGHT: Update copyright year.
+
2022-12-22 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* ptexenc.c, ptexenc/ptexenc.h:
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c
index 461565d2c17..4e81dbee7c8 100644
--- a/Build/source/texk/ptexenc/ptexenc.c
+++ b/Build/source/texk/ptexenc/ptexenc.c
@@ -1343,28 +1343,6 @@ unsigned char *ptenc_from_internal_enc_string_to_utf8(const unsigned char *is)
return buf;
}
-int ptenc_get_command_line_args(int *p_ac, char ***p_av)
-{
- int i, argc;
- char **argv;
-
- get_terminal_enc();
- if (terminal_enc == ENC_UTF8 && !is_internalUPTEX()) {
- argc = *p_ac;
- argv = xmalloc(sizeof(char *)*(argc+1));
- for (i=0; i<argc; i++) {
- argv[i] = ptenc_from_utf8_string_to_internal_enc((*p_av)[i]);
-#ifdef DEBUG
- fprintf(stderr, "Commandline arguments %d:(%s)\n", i, argv[i]);
-#endif /* DEBUG */
- }
- argv[argc] = NULL;
- *p_av = argv;
- return terminal_enc;
- }
- return 0;
-}
-
long ptenc_conv_first_line(long pos, long last, unsigned char *buff, const long buffsize)
/* return new last */
{
diff --git a/Build/source/texk/ptexenc/ptexenc/ptexenc.h b/Build/source/texk/ptexenc/ptexenc/ptexenc.h
index f3c8ff1743b..20fa2833dd6 100644
--- a/Build/source/texk/ptexenc/ptexenc/ptexenc.h
+++ b/Build/source/texk/ptexenc/ptexenc/ptexenc.h
@@ -110,7 +110,6 @@ extern PTENCDLL FILE *nkf_open(const char *path, const char *mode);
extern PTENCDLL int nkf_close(FILE *fp);
extern PTENCDLL unsigned char *ptenc_from_utf8_string_to_internal_enc(const unsigned char *is);
extern PTENCDLL unsigned char *ptenc_from_internal_enc_string_to_utf8(const unsigned char *is);
-extern PTENCDLL int ptenc_get_command_line_args(int *p_ac, char ***p_av);
#endif
extern PTENCDLL long ptenc_conv_first_line(long pos, long limit, unsigned char *buff, const long buffsize);
diff --git a/Build/source/texk/ptexenc/version.ac b/Build/source/texk/ptexenc/version.ac
index 7595c6f6d92..3fba4330175 100644
--- a/Build/source/texk/ptexenc/version.ac
+++ b/Build/source/texk/ptexenc/version.ac
@@ -1,5 +1,5 @@
dnl $Id$
-dnl Copyright 2022 Japanese TeX Development Community <issue@texjp.org>
+dnl Copyright 2022-2023 Japanese TeX Development Community <issue@texjp.org>
dnl Copyright 2016-2022 Karl Berry <tex-live@tug.org>
dnl Copyright 2011-2015 Peter Breitenlohner <tex-live@tug.org>
dnl