From e6aa481b744668ffaa1165fc8205f45454c44edf Mon Sep 17 00:00:00 2001 From: Martin Schröder Date: Sat, 30 Dec 2006 14:24:36 +0000 Subject: Fix problems with traditional C reported by Jonathan git-svn-id: svn://tug.org/texlive/trunk@3026 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/lib/texmfmp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Build/source/texk') diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 46ac83c7257..9aa0c9620e4 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -1969,9 +1969,11 @@ gettexstring P1C(strnumber, s) #if !defined(Omega) && !defined(eOmega) && !defined(Aleph) && !defined(XeTeX) strncpy (name, (string)&strpool[strstart[s]], len); #else + { poolpointer i; /* Don't use strncpy. The strpool is not made up of chars. */ for (i=0; i