Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/examples/libsmbclient/teststat.c

    r414 r988  
    1010{
    1111    int             debug = 0;
    12     char            buffer[16384];
    13     char            mtime[32];
    14     char            ctime[32];
    15     char            atime[32];
    16     char *          pSmbPath = NULL;
    17     char *          pLocalPath = NULL;
     12    char            m_time[32];
     13    char            c_time[32];
     14    char            a_time[32];
     15    const char *          pSmbPath = NULL;
     16    const char *          pLocalPath = NULL;
    1817    struct stat     st;
    1918   
     
    4948    }
    5049   
    51     printf("\nSAMBA\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
    52            st.st_mtime, ctime_r(&st.st_mtime, mtime),
    53            st.st_ctime, ctime_r(&st.st_ctime, ctime),
    54            st.st_atime, ctime_r(&st.st_atime, atime));
     50    printf("\nSAMBA\n mtime:%lld/%s ctime:%lld/%s atime:%lld/%s\n",
     51           (long long)st.st_mtime, ctime_r(&st.st_mtime, m_time),
     52           (long long)st.st_ctime, ctime_r(&st.st_ctime, c_time),
     53           (long long)st.st_atime, ctime_r(&st.st_atime, a_time));
    5554   
    5655    if (pLocalPath != NULL)
     
    6261        }
    6362       
    64         printf("LOCAL\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
    65                st.st_mtime, ctime_r(&st.st_mtime, mtime),
    66                st.st_ctime, ctime_r(&st.st_ctime, ctime),
    67                st.st_atime, ctime_r(&st.st_atime, atime));
     63        printf("LOCAL\n mtime:%lld/%s ctime:%lld/%s atime:%lld/%s\n",
     64               (long long)st.st_mtime, ctime_r(&st.st_mtime, m_time),
     65               (long long)st.st_ctime, ctime_r(&st.st_ctime, c_time),
     66               (long long)st.st_atime, ctime_r(&st.st_atime, a_time));
    6867    }
    6968
Note: See TracChangeset for help on using the changeset viewer.