diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-29 16:09:56 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-29 16:09:56 +0000 |
commit | 6e0be10ddc6ca818388515078efd3393ad1740a5 (patch) | |
tree | 50b4146fcff78e65349370450d1a977cdd29e16c /Build | |
parent | 5e023263c09f29bc797e53584d60092a04b62e2d (diff) |
one more synctex portability patch -- strtof() is C99
git-svn-id: svn://tug.org/texlive/trunk@8407 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/synctex/synctex_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctex/synctex_parser.c b/Build/source/texk/web2c/synctex/synctex_parser.c index dd2b57a3d88..a54f9d920a6 100644 --- a/Build/source/texk/web2c/synctex/synctex_parser.c +++ b/Build/source/texk/web2c/synctex/synctex_parser.c @@ -1426,7 +1426,7 @@ synctex_status_t _synctex_scan_float_and_dimension(synctex_scanner_t scanner, fl #ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, "C"); #endif - f = strtof((char *)SYNCTEX_CUR,(char **)&endptr); + f = strtod((char *)SYNCTEX_CUR,(char **)&endptr); #ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, loc); #endif @@ -1528,7 +1528,7 @@ next_line: #ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, "C"); #endif - scanner->unit = strtof((char *)SYNCTEX_CUR,(char **)&endptr); + scanner->unit = strtod((char *)SYNCTEX_CUR,(char **)&endptr); #ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, loc); #endif |