/[qemu]/qemu/linux-user/syscall.c
ViewVC logotype

Diff of /qemu/linux-user/syscall.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by bellard, Mon Dec 6 22:40:57 2004 UTC revision 1.53 by bellard, Mon Dec 6 22:58:05 2004 UTC
# Line 1742  long do_syscall(void *cpu_env, int num, Line 1742  long do_syscall(void *cpu_env, int num,
1742              ret = get_errno(utime((const char *)arg1, tbuf1));              ret = get_errno(utime((const char *)arg1, tbuf1));
1743          }          }
1744          break;          break;
1745        case TARGET_NR_utimes:
1746            {
1747                struct target_timeval *target_tvp = (struct target_timeval *)arg2;
1748                struct timeval *tvp, tv[2];
1749                if (target_tvp) {
1750                    target_to_host_timeval(&tv[0], &target_tvp[0]);
1751                    target_to_host_timeval(&tv[1], &target_tvp[1]);
1752                    tvp = tv;
1753                } else {
1754                    tvp = NULL;
1755                }
1756                ret = get_errno(utimes((const char *)arg1, tvp));
1757            }
1758            break;
1759  #ifdef TARGET_NR_stty  #ifdef TARGET_NR_stty
1760      case TARGET_NR_stty:      case TARGET_NR_stty:
1761          goto unimplemented;          goto unimplemented;

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26