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 | |
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
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index ab69196ab9b..a2008c1851f 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,6 +1,7 @@ -2015-09-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> +2015-09-27 Akira Kakuto <kakuto@fuk.kindai.ac.jp> - * dvipdfmx.c: Use strtoul for kpathsea_debug. + * dvipdfmx.c: Remove conditional error message in kpathsea_debug, + since there should be no errors. 2015-08-25 Peter Breitenlohner <peb@mppmu.mpg.de> 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': |