Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3551

LogUtils.cc does not compile on Illumos

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0, 6.0.0
    • Component/s: Logging
    • Labels:
      None

      Description

      gmake[2]: Entering directory `/tmp/build_esproul/trafficserver-5.3.0/proxy/logging'
        CXX      Log.o
        CXX      LogAccess.o
        CXX      LogAccessHttp.o
        CXX      LogAccessICP.o
        CXX      LogBuffer.o
        CXX      LogConfig.o
        CXX      LogField.o
        CXX      LogFieldAliasMap.o
        CXX      LogFile.o
        CXX      LogFilter.o
        CXX      LogFormat.o
        CXX      LogHost.o
        CXX      LogObject.o
        CXX      LogPredefined.o
        CXX      LogSock.o
        CXX      LogUtils.o
        CXX      LogCollationAccept.o
        CXX      LogCollationClientSM.o
        CXX      LogCollationHostSM.o
      LogUtils.cc: In function 'char* LogUtils::timestamp_to_netscape_str(long int)':
      LogUtils.cc:106:23: error: 'struct std::tm' has no member named 'tm_gmtoff'
           long zone = -tms->tm_gmtoff; // double negative!
                             ^
      gmake[2]: *** [LogUtils.o] Error 1
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psudaemon Phil Sorber
                Reporter:
                psudaemon Phil Sorber

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment