Changeset 1002abb9 in rtems


Ignore:
Timestamp:
Mar 26, 2007, 5:04:53 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2777290
Parents:
2661376d
Message:

2007-03-26 Joel Sherrill <joel@…>

  • libcsupport/src/gettod.c: Replace incorrect comment about timezone support and remove deadcode. Replace with comment explaining that behavior is compatible with GNU/Linux per Eric Norum.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2661376d r1002abb9  
     12007-03-26      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libcsupport/src/__gettod.c: Replace incorrect comment about timezone
     4        support and remove deadcode. Replace with comment explaining that
     5        behavior is compatible with GNU/Linux per Eric Norum.
     6
    172007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/libcsupport/src/__gettod.c

    r2661376d r1002abb9  
    7474
    7575  /*
    76    * newlib does not have timezone and daylight savings time
    77    * yet.  When it does this needs to be fixed.
     76   *  Timezone information ignored by the OS proper.   Per email
     77   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X
     78   *  do it.  This puts us in good company.
    7879   */
    7980
    80 #if 0
    81   if ( tzp ) {
    82     tzp->tz_minuteswest = 0;  /* at UTC */
    83     tzp->tz_dsttime = 0;      /* no daylight savings */
    84   tzp->minuteswest = timezone / 60; /* from seconds to minutes */
    85   tzp->dsttime = daylight;
    86   }
    87 #endif
    8881  return 0;
    8982}
Note: See TracChangeset for help on using the changeset viewer.