diff options
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 8 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 3 | ||||
-rw-r--r-- | tapset/endian.stp | 8 |
3 files changed, 10 insertions, 9 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 509b09c9..f242c310 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,11 @@ +2007-10-17 Martin Hunt <hunt@redhat.com> + PR5000 + * endian.stp (set_endian): Remove. + +2007-10-15 Dave Wilder <dwilder@us.ibm.com> + + *aux_syscalls.stp:_dfd_str Added test for 32-bit value of AT_FDCWD + 2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com> From Cai Fei <caifei@cn.fujitsu.com> diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 05c7dc98..e8823190 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1479,7 +1479,8 @@ function __int32:long(val:long) %{ /* pure */ # For utimensat and futimesat, the directory fd can have a special value function _dfd_str(d) { - if(d == -100) return "AT_FDCWD" + # 0xffffff9c is a 32-bit -100, for compatability mode. + if((d == -100) || (d == 0xffffff9c)) return "AT_FDCWD" return sprint(d) } diff --git a/tapset/endian.stp b/tapset/endian.stp index c3b2b212..34522cd9 100644 --- a/tapset/endian.stp +++ b/tapset/endian.stp @@ -1,11 +1,3 @@ -# set the default endianess for binary printf -# val: 0 - native (default) -# 1 - little endian -# 2 - big endian -function set_endian:long (val:long) %{ - _stp_endian = THIS->val; -%} - function big_endian2:long (val:long) %{ /* pure */ THIS->__retvalue = cpu_to_be16(THIS->val); %} |