[ 
https://issues.apache.org/jira/browse/TS-4546?focusedWorklogId=26736&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26736
 ]

ASF GitHub Bot logged work on TS-4546:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Aug/16 00:19
            Start Date: 22/Aug/16 00:19
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach commented on a diff in the pull 
request:

    https://github.com/apache/trafficserver/pull/885#discussion_r75606779
  
    --- Diff: proxy/http2/test_HPACK.cc ---
    @@ -328,8 +328,14 @@ prepare()
         cerr << "Cannot open " << input_dir << endl;
         return 1;
       }
    +  struct stat st;
    +  char name[1024] = "";
    +  strcat(name, input_dir.c_str());
       while ((d = readdir(dir)) != NULL) {
    -    if (d->d_type == DT_REG) {
    +    name[input_dir.length()] = '\0';
    +    strcat(name, d->d_name);
    --- End diff --
    
    ```ink_strlcat(...)```


Issue Time Tracking
-------------------

    Worklog Id:     (was: 26736)
    Time Spent: 50m  (was: 40m)

> Build errors for H2 tests on OmniOS
> -----------------------------------
>
>                 Key: TS-4546
>                 URL: https://issues.apache.org/jira/browse/TS-4546
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Tests
>            Reporter: Leif Hedstrom
>            Assignee: Masakazu Kitajo
>             Fix For: 7.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code}
>   CXX      test_HPACK.o
> /home/leif/apache/trafficserver.git/proxy/http2/test_HPACK.cc: In function 
> ‘int prepare()’:
> /home/leif/apache/trafficserver.git/proxy/http2/test_HPACK.cc:332:12: error: 
> ‘struct dirent’ has no member named ‘d_type’
>      if (d->d_type == DT_REG) {
>             ^
> /home/leif/apache/trafficserver.git/proxy/http2/test_HPACK.cc:332:22: error: 
> ‘DT_REG’ was not declared in this scope
>      if (d->d_type == DT_REG) {
>                       ^
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to