Changeset ec56195 for lib


Ignore:
Timestamp:
04/19/13 17:16:13 (9 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
1439466
Parents:
94dbe30
Message:
  • Let's not completely break our timestamping, just because we can't get an environment variable that we're going to immediately overwrite and never reset
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_legacy.c

    rc909fad rec56195  
    154154        tm.tm_isdst = -1; /* forces check for summer time */
    155155       
     156        /*
    156157        if (getenv("TZ") == NULL) {
    157                 perror("getenv(TZ)");
     158                fprintf(stderr, "Failed to get the current TZ");
    158159                return (time_t)0;
    159160        }
     161        */
    160162        if (putenv("TZ=Pacific/Auckland")) {
    161163                perror("putenv");
Note: See TracChangeset for help on using the changeset viewer.