[BACK]Return to time.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Diff for /OpenXM_contrib/gnuplot/Attic/time.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/09 17:00:56 version 1.1.1.2, 2000/01/22 14:16:02
Line 226  struct tm *tm;
Line 226  struct tm *tm;
   
         case 'y':               /* year number */          case 'y':               /* year number */
             s = read_int(s, 2, &tm->tm_year);              s = read_int(s, 2, &tm->tm_year);
               /* In line with the current UNIX98 specification by
                * The Open Group and major Unix vendors,
                * two-digit years 69-99 refer to the 20th century, and
                * values in the range 00-68 refer to the 21st century.
                */
               if (tm->tm_year <= 68)
                   tm->tm_year += 100;
             date++;              date++;
             tm->tm_year += 1900;              tm->tm_year += 1900;
             break;              break;

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>