branches: 1.2.6;Set endptr if the base is not supported. The opengroup spec does not specialcase this condition. Note: glibc has the same problem.