fix gratuitous undefined behavior in strptime
authorRich Felker <dalias@aerifal.cx>
Thu, 20 Oct 2016 17:22:20 +0000 (13:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 20 Oct 2016 17:22:20 +0000 (13:22 -0400)
commitf33b17585058381491e6fda08f491b8e48c7980c
treef451555ca40b5583925f24f739fdcf1592616fc7
parentb24f1d2520c87077cef21e085893e5f3c565a6df
fix gratuitous undefined behavior in strptime

accessing an object of type const char *restrict as if it had type
char * is not defined.
src/time/strptime.c