From 800a68c18e636f07a91c5dd9fdf10fd12fa94d1f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 1 Jul 2009 22:49:11 +0000 Subject: handle pdf_shell_escape_code a la pdftex git-svn-id: svn://tug.org/texlive/trunk@14048 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/xetexdir/xetex-latex3.ch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Build') diff --git a/Build/source/texk/web2c/xetexdir/xetex-latex3.ch b/Build/source/texk/web2c/xetexdir/xetex-latex3.ch index 87d8cb4a85c..ee12e225ee1 100644 --- a/Build/source/texk/web2c/xetexdir/xetex-latex3.ch +++ b/Build/source/texk/web2c/xetexdir/xetex-latex3.ch @@ -387,7 +387,10 @@ is_in_csname := false; badness_code: cur_val:=last_badness; pdf_shell_escape_code: begin - if shellenabledp then cur_val := 1 + if shellenabledp then begin + if restrictedshell then cur_val := 2 + else cur_val := 1; + end else cur_val := 0; end; @z -- cgit v1.2.3