From fa94e399e78544fb77abd60e1b0090b6248d6d1d Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 7 Mar 2011 10:49:53 +0000 Subject: Rename program_invocation_*name => kpse_invocation_*name (1) to avoid conflict with /usr/include/sys/error.h from Cygwin, and (2) to indicate that these are not the variables from glibc. git-svn-id: svn://tug.org/texlive/trunk@21624 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/web2c/pdftexdir/utils.c') diff --git a/Build/source/texk/web2c/pdftexdir/utils.c b/Build/source/texk/web2c/pdftexdir/utils.c index ccf5c1ee51d..71e47b4b21a 100644 --- a/Build/source/texk/web2c/pdftexdir/utils.c +++ b/Build/source/texk/web2c/pdftexdir/utils.c @@ -239,7 +239,7 @@ void pdftex_fail(const char *fmt, ...) va_start(args, fmt); println(); safe_print("!pdfTeX error: "); - safe_print(program_invocation_name); + safe_print(kpse_invocation_name); if (cur_file_name) { safe_print(" (file "); safe_print(cur_file_name); @@ -271,7 +271,7 @@ void pdftex_warn(const char *fmt, ...) va_start(args, fmt); println(); println(); - tex_printf("pdfTeX warning: %s", program_invocation_name); + tex_printf("pdfTeX warning: %s", kpse_invocation_name); if (cur_file_name) tex_printf(" (file %s)", cur_file_name); tex_printf(": "); -- cgit v1.2.3