[BACK]Return to strptime.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / time

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/time/strptime.c between version 1.38 and 1.39

version 1.38, 2013/05/17 12:55:57 version 1.39, 2015/04/06 14:38:22
Line 357  literal:
Line 357  literal:
   
                 case 'Z':                  case 'Z':
                         tzset();                          tzset();
                         if (strncmp((const char *)bp, gmt, 3) == 0) {                          if (strncmp((const char *)bp, gmt, 3) == 0 ||
                               strncmp((const char *)bp, utc, 3) == 0) {
                                 tm->tm_isdst = 0;                                  tm->tm_isdst = 0;
 #ifdef TM_GMTOFF  #ifdef TM_GMTOFF
                                 tm->TM_GMTOFF = 0;                                  tm->TM_GMTOFF = 0;

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

CVSweb <webmaster@jp.NetBSD.org>