\pdfstrcmp{}{ % \endinput ... patch in https://gist.github.com/aminophen/906fe5795d3b00e3ea2bd76d9cb2dde0 FWIW, XeTeX also has a problem, posted at https://sourceforge.net/p/xetex/bugs/144/. Thanks much, applied for pdftex. -k