X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f39ab2869cae648b37bd954fedd99dab8d79ce9f..303834ccb0487d1391c9b087c0d8787cb49076df:/src/files.c diff --git a/src/files.c b/src/files.c index 71d3b042..c94d2c6f 100644 --- a/src/files.c +++ b/src/files.c @@ -1,6 +1,6 @@ /* Open and close files for Bison. - Copyright (C) 1984, 1986, 1989, 1992, 2000-2010 Free Software + Copyright (C) 1984, 1986, 1989, 1992, 2000-2011 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -205,7 +205,7 @@ file_name_split (const char *file_name, *base = last_component (file_name); /* Look for the extension, i.e., look for the last dot. */ - *ext = strrchr (*base, '.'); + *ext = mbsrchr (*base, '.'); *tab = NULL; /* If there is an extension, check if there is a `.tab' part right