diff options
author | dwilder <dwilder> | 2007-10-15 19:11:11 +0000 |
---|---|---|
committer | dwilder <dwilder> | 2007-10-15 19:11:11 +0000 |
commit | 011f4aea7f49ecb1c9208617631c83eb277876db (patch) | |
tree | 6248ae98770e3b6612ec321ceae4051cc89b1394 /tapset/aux_syscalls.stp | |
parent | 73fe2c10e0bfa9cce54dff8cc2d46d665139df8b (diff) | |
download | systemtap-steved-011f4aea7f49ecb1c9208617631c83eb277876db.tar.gz systemtap-steved-011f4aea7f49ecb1c9208617631c83eb277876db.tar.xz systemtap-steved-011f4aea7f49ecb1c9208617631c83eb277876db.zip |
added test for 32-bit value of AT_FDCWD
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r-- | tapset/aux_syscalls.stp | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |