Changeset 8638
- Timestamp:
- 11/24/10 17:25:05 (3 years ago)
- Location:
- branches/windows-client
- Files:
-
- 10 modified
-
src/apps/admin/pvfs2-ls.c (modified) (2 diffs)
-
src/client/sysint/sys-getattr.sm (modified) (2 diffs)
-
src/common/misc/extent-utils.c (modified) (1 diff)
-
test/client/sysint/client.c (modified) (2 diffs)
-
test/client/sysint/find.c (modified) (1 diff)
-
test/client/sysint/io-test.c (modified) (2 diffs)
-
test/client/sysint/mkdir.c (modified) (1 diff)
-
test/client/sysint/readdir.c (modified) (1 diff)
-
test/client/sysint/remove.c (modified) (1 diff)
-
test/client/sysint/rename.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/windows-client/src/apps/admin/pvfs2-ls.c
r8317 r8638 11 11 #include <sys/stat.h> 12 12 #include <fcntl.h> 13 #ifndef WIN32 13 14 #include <sys/time.h> 15 #endif 14 16 #include <time.h> 17 #ifndef WIN32 15 18 #include <pwd.h> 16 19 #include <grp.h> 20 #endif 17 21 #include <assert.h> 18 22 #include <getopt.h> … … 26 30 #endif 27 31 32 #ifdef WIN32 33 #define snprintf _snprintf 34 #endif 28 35 29 36 /* TODO: this can be larger after system interface readdir logic -
branches/windows-client/src/client/sysint/sys-getattr.sm
r8633 r8638 521 521 522 522 /* 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 /* 525 526 { 526 527 PINT_sm_msgarray_op *copy = malloc(sizeof(PINT_sm_msgarray_op)); … … 528 529 PINT_sm_push_frame(smcb, 0, copy); 529 530 } 531 */ 530 532 531 533 return SM_ACTION_COMPLETE; -
branches/windows-client/src/common/misc/extent-utils.c
r8633 r8638 69 69 (handle < ext->last+1)); 70 70 */ 71 /* ext->last may be max, 2^64 - 1 */ 71 /* ext->last may be max, 2^64 - 1 */ 72 72 return ((handle >= ext->first) && 73 73 (handle <= ext->last)); -
branches/windows-client/test/client/sysint/client.c
r8635 r8638 481 481 pvfs_dirent_incount = 6; 482 482 483 /* 483 484 do 484 485 { 486 */ 485 487 // call readdir 486 488 ret = PVFS_sys_readdir(pinode_refn, token, pvfs_dirent_incount, … … 501 503 token = resp_readdir->token; 502 504 pvfs_dirent_outcount = resp_readdir->pvfs_dirent_outcount; 505 /* 503 506 } 504 507 while (pvfs_dirent_outcount == 6); 508 */ 505 509 #if 0 506 510 -
branches/windows-client/test/client/sysint/find.c
r7500 r8638 9 9 #include <client.h> 10 10 #include <string.h> 11 #ifndef WIN32 11 12 #include <unistd.h> 13 #endif 12 14 #include <sys/types.h> 13 15 #include "pvfs2-util.h" 14 16 #include "pvfs2-internal.h" 17 18 #ifdef WIN32 19 #define snprintf _snprintf 20 #endif 15 21 16 22 /* TODO: this can be larger after system interface readdir logic -
branches/windows-client/test/client/sysint/io-test.c
r7500 r8638 7 7 #include <time.h> 8 8 #include "client.h" 9 #ifndef WIN32 9 10 #include <sys/time.h> 10 11 #include <unistd.h> 12 #endif 11 13 #include <sys/types.h> 12 14 #include <stdlib.h> … … 16 18 #include "pvfs2-mgmt.h" 17 19 #include "pvfs2-internal.h" 20 21 #ifdef WIN32 22 #define snprintf _snprintf 23 #define rindex strrchr 24 #endif 18 25 19 26 #define DEFAULT_IO_SIZE 8*1024*1024 -
branches/windows-client/test/client/sysint/mkdir.c
r7471 r8638 6 6 7 7 #include <client.h> 8 #ifndef WIN32 8 9 #include <sys/time.h> 10 #endif 9 11 #include <time.h> 10 12 #include <stdio.h> 13 #ifndef WIN32 11 14 #include <unistd.h> 15 #endif 12 16 #include <sys/types.h> 13 17 -
branches/windows-client/test/client/sysint/readdir.c
r7471 r8638 6 6 7 7 #include <client.h> 8 #ifndef WIN32 8 9 #include <sys/time.h> 10 #endif 9 11 #include <stdio.h> 10 12 #include <stdlib.h> 13 #ifndef WIN32 11 14 #include <unistd.h> 15 #endif 12 16 #include <sys/types.h> 13 17 -
branches/windows-client/test/client/sysint/remove.c
r7471 r8638 6 6 7 7 #include <stdio.h> 8 #ifndef WIN32 8 9 #include <unistd.h> 10 #endif 9 11 #include <sys/types.h> 10 12 -
branches/windows-client/test/client/sysint/rename.c
r7471 r8638 6 6 7 7 #include <stdio.h> 8 #ifndef WIN32 8 9 #include <unistd.h> 10 #endif 9 11 #include <sys/types.h> 10 12 #include "client.h"
