diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-09-27 22:27:45 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-09-27 22:27:45 +0000 |
commit | 8e6964f4e10982be27f3fbee5bc6083476b47477 (patch) | |
tree | 4d9ed92aecf94fadee5b83da9fe791967434c663 /Build/source/texk/dvipdfm-x/dvipdfmx.c | |
parent | 06f60f52e5d678fbd3d7e0e206604086ad594318 (diff) |
texk/dvipdfm-x/dvipdfmx.c: Revert to use atoi() in --kpathsea-debug.
git-svn-id: svn://tug.org/texlive/trunk@38481 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c index e1f890c9661..665339d0221 100644 --- a/Build/source/texk/dvipdfm-x/dvipdfmx.c +++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c @@ -461,9 +461,7 @@ do_args (int argc, char *argv[], const char *source) break; case 133: /* --kpathsea-debug */ - kpathsea_debug = (unsigned) strtoul(optarg, &nextptr, 0); - if (nextptr == optarg) - ERROR("Invalid kpathsearch debugging flags specified: %s", optarg); + kpathsea_debug = atoi(optarg); break; case 'D': |