summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-12 11:57:42 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-12 11:57:42 +0000
commit3e856c97dc24cf1160d6596be1296c6783a9d757 (patch)
tree6b92125c243c4ebbe0af18ed1e72e1d930e0bdbd /Build
parentfbafd775bc4bd95be3ef5a03bf4d95202f154f34 (diff)
Finally remove kpse_set_progname (deprecated since 1998)
git-svn-id: svn://tug.org/texlive/trunk@22438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog3
-rw-r--r--Build/source/texk/kpathsea/NEWS1
-rw-r--r--Build/source/texk/kpathsea/progname.c13
-rw-r--r--Build/source/texk/kpathsea/progname.h12
4 files changed, 5 insertions, 24 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 806fcfcedf9..9b2e86f9108 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -2,6 +2,9 @@
* absolute.c: Minor rewrite.
+ * NEWS, progname.[ch]: Finally remove kpse_set_progname
+ (deprecated since 1998).
+
2011-05-06 Karl Berry <karl@tug.org>
* texmf.cnf (TEXINPUTS.eplatex): no longer needed per Akira.
diff --git a/Build/source/texk/kpathsea/NEWS b/Build/source/texk/kpathsea/NEWS
index bee8a418792..7e409dbd164 100644
--- a/Build/source/texk/kpathsea/NEWS
+++ b/Build/source/texk/kpathsea/NEWS
@@ -4,6 +4,7 @@ This file records noteworthy changes. (Public domain.)
* Trailing comments and whitespace omitted from config values.
* Add .tlu to type lua suffixes.
* Prefix program_invocation{,_short}_name with kpse_.
+* Finally remove kpse_set_progname (deprecated since 1998).
6.0.0 (for TeX Collection 2010, 4 June 2010)
* Change xmalloc and friends to use size_t, unfortunately changing the ABI.
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c
index e93e2b9c849..b86e1348690 100644
--- a/Build/source/texk/kpathsea/progname.c
+++ b/Build/source/texk/kpathsea/progname.c
@@ -1,6 +1,6 @@
/* progname.c: the executable name we were invoked as; general initialization.
- Copyright 1994, 1996, 1997, 2008, 2009, 2010 Karl Berry.
+ Copyright 1994, 1996, 1997, 2008, 2009, 2010, 2011 Karl Berry.
Copyright 1998-2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -660,23 +660,12 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0,
}
-/* This function is deprecated, because when we pretend to have a different
- name it will look for _that_ name in the PATH if kpse->invocation_name
- is not defined. */
#if defined (KPSE_COMPAT_API)
void
kpse_set_program_name (const_string argv0, const_string progname)
{
kpathsea_set_program_name (kpse_def, argv0, progname);
}
-
-/* DEPRECATED since 1998 -- To be removed in Version 6.0.0. */
-
-void
-kpse_set_progname (const_string argv0)
-{
- kpathsea_set_program_name (kpse_def, argv0, NULL);
-}
#endif
diff --git a/Build/source/texk/kpathsea/progname.h b/Build/source/texk/kpathsea/progname.h
index 7b81fbd35d3..956d16a90f6 100644
--- a/Build/source/texk/kpathsea/progname.h
+++ b/Build/source/texk/kpathsea/progname.h
@@ -48,18 +48,6 @@ extern KPSEDLL string kpse_selfdir (const_string argv0);
extern KPSEDLL void kpse_set_program_name (const_string argv0,
const_string progname);
-
-#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
-
-/* Set first two variables above (if they're not predefined) to a copy of
- ARGV0 and everything in ARGV0 after the last directory separator,
- respectively. kpse_program_name is _always_ set to a copy of everything
- in ARGV0 after the last directory separator. */
-
-extern KPSEDLL void kpse_set_progname (const_string argv0);
-
-#endif /* MAKE_KPSE_DLL */
-
#endif /* KPSE_COMPAT_API */
#endif /* not KPATHSEA_PROGNAME_H */