@@ -47,6 +47,8 @@ extern "C" {
4747# define TZSET_UNLOCK ENV_UNLOCK
4848#endif
4949
50+ /* XXX bunch of other locks need, tzset putenv, getenv; haven't looked */
51+
5052#ifdef WIN32
5153
5254/*
@@ -119,6 +121,7 @@ extern "C" {
119121#undef malloc
120122#undef free
121123
124+ /* Should call the one in Posix:: */
122125static void
123126fix_win32_tzenv (void )
124127{
@@ -824,6 +827,7 @@ label:
824827 return 0 ;
825828
826829 len = (c == 'Y' ) ? 4 : 2 ;
830+ /* XXX note this is a bug is isdigit, subtracting '0' because could be another set of 10. */
827831 for (i = 0 ; len && * buf != 0 && isDIGIT ((unsigned char )* buf ); buf ++ ) {
828832 i *= 10 ;
829833 i += * buf - '0' ;
@@ -1014,6 +1018,10 @@ _strftime(fmt, epoch, islocal = 1)
10141018
10151019 len = strftime (tmpbuf , TP_BUF_SIZE , fmt , & mytm );
10161020 STRFTIME_UNLOCK ;
1021+ /* char * Perl_my_strftime(aTHX_ fmt, int sec, int min,
1022+ int hour, int mday, int mon, int year,
1023+ int wday, int yday, int isdst)
1024+ */
10171025 /*
10181026 ** The following is needed to handle to the situation where
10191027 ** tmpbuf overflows. Basically we want to allocate a buffer
0 commit comments