Changeset 8638

Show
Ignore:
Timestamp:
11/24/10 17:25:05 (3 years ago)
Author:
sampson
Message:

Testing client

Location:
branches/windows-client
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • branches/windows-client/src/apps/admin/pvfs2-ls.c

    r8317 r8638  
    1111#include <sys/stat.h> 
    1212#include <fcntl.h> 
     13#ifndef WIN32 
    1314#include <sys/time.h> 
     15#endif 
    1416#include <time.h> 
     17#ifndef WIN32 
    1518#include <pwd.h> 
    1619#include <grp.h> 
     20#endif 
    1721#include <assert.h> 
    1822#include <getopt.h> 
     
    2630#endif 
    2731 
     32#ifdef WIN32 
     33#define snprintf    _snprintf 
     34#endif 
    2835 
    2936/* TODO: this can be larger after system interface readdir logic 
  • branches/windows-client/src/client/sysint/sys-getattr.sm

    r8633 r8638  
    521521 
    522522    /* TODO: attempting to free this frame causes heap fault. 
    523        Make a copy  
    524     PINT_sm_push_frame(smcb, 0, &sm_p->msgarray_op); */ 
     523       Make a copy */ 
     524    PINT_sm_push_frame(smcb, 0, &sm_p->msgarray_op); 
     525    /* 
    525526    { 
    526527        PINT_sm_msgarray_op *copy = malloc(sizeof(PINT_sm_msgarray_op)); 
     
    528529        PINT_sm_push_frame(smcb, 0, copy); 
    529530    } 
     531    */ 
    530532 
    531533    return SM_ACTION_COMPLETE; 
  • branches/windows-client/src/common/misc/extent-utils.c

    r8633 r8638  
    6969            (handle < ext->last+1));  
    7070    */ 
    71     /* ext->last may be max, 2^64 - 1 */ 
     71    /* ext->last may be max, 2^64 - 1 */     
    7272    return ((handle >= ext->first) && 
    7373            (handle <= ext->last)); 
  • branches/windows-client/test/client/sysint/client.c

    r8635 r8638  
    481481    pvfs_dirent_incount = 6; 
    482482 
     483    /* 
    483484    do 
    484485    { 
     486    */ 
    485487        // call readdir  
    486488        ret = PVFS_sys_readdir(pinode_refn, token, pvfs_dirent_incount, 
     
    501503        token = resp_readdir->token; 
    502504        pvfs_dirent_outcount = resp_readdir->pvfs_dirent_outcount; 
     505    /* 
    503506    }  
    504507    while (pvfs_dirent_outcount == 6); 
     508    */ 
    505509#if 0 
    506510 
  • branches/windows-client/test/client/sysint/find.c

    r7500 r8638  
    99#include <client.h> 
    1010#include <string.h> 
     11#ifndef WIN32 
    1112#include <unistd.h> 
     13#endif 
    1214#include <sys/types.h> 
    1315#include "pvfs2-util.h" 
    1416#include "pvfs2-internal.h" 
     17 
     18#ifdef WIN32 
     19#define snprintf    _snprintf 
     20#endif 
    1521 
    1622/* TODO: this can be larger after system interface readdir logic 
  • branches/windows-client/test/client/sysint/io-test.c

    r7500 r8638  
    77#include <time.h> 
    88#include "client.h" 
     9#ifndef WIN32 
    910#include <sys/time.h> 
    1011#include <unistd.h> 
     12#endif 
    1113#include <sys/types.h> 
    1214#include <stdlib.h> 
     
    1618#include "pvfs2-mgmt.h" 
    1719#include "pvfs2-internal.h" 
     20 
     21#ifdef WIN32 
     22#define snprintf    _snprintf 
     23#define rindex      strrchr 
     24#endif 
    1825 
    1926#define DEFAULT_IO_SIZE 8*1024*1024 
  • branches/windows-client/test/client/sysint/mkdir.c

    r7471 r8638  
    66 
    77#include <client.h> 
     8#ifndef WIN32 
    89#include <sys/time.h> 
     10#endif 
    911#include <time.h> 
    1012#include <stdio.h> 
     13#ifndef WIN32 
    1114#include <unistd.h> 
     15#endif 
    1216#include <sys/types.h> 
    1317 
  • branches/windows-client/test/client/sysint/readdir.c

    r7471 r8638  
    66 
    77#include <client.h> 
     8#ifndef WIN32 
    89#include <sys/time.h> 
     10#endif 
    911#include <stdio.h> 
    1012#include <stdlib.h> 
     13#ifndef WIN32 
    1114#include <unistd.h> 
     15#endif 
    1216#include <sys/types.h> 
    1317 
  • branches/windows-client/test/client/sysint/remove.c

    r7471 r8638  
    66 
    77#include <stdio.h> 
     8#ifndef WIN32 
    89#include <unistd.h> 
     10#endif 
    911#include <sys/types.h> 
    1012 
  • branches/windows-client/test/client/sysint/rename.c

    r7471 r8638  
    66 
    77#include <stdio.h> 
     8#ifndef WIN32 
    89#include <unistd.h> 
     10#endif 
    911#include <sys/types.h> 
    1012#include "client.h"