[f]truncate64 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1515 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8346901560
commit
667f38b167
@ -2756,11 +2756,13 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
|
|||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_NR_truncate64
|
#ifdef TARGET_NR_truncate64
|
||||||
case TARGET_NR_truncate64:
|
case TARGET_NR_truncate64:
|
||||||
goto unimplemented;
|
ret = get_errno(truncate64((const char *)arg1, arg2));
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_NR_ftruncate64
|
#ifdef TARGET_NR_ftruncate64
|
||||||
case TARGET_NR_ftruncate64:
|
case TARGET_NR_ftruncate64:
|
||||||
goto unimplemented;
|
ret = get_errno(ftruncate64(arg1, arg2));
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_NR_stat64
|
#ifdef TARGET_NR_stat64
|
||||||
case TARGET_NR_stat64:
|
case TARGET_NR_stat64:
|
||||||
|
Loading…
Reference in New Issue
Block a user