diff options
author | Tony Cook <tony@develop-help.com> | 2011-08-09 20:31:24 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2011-08-11 17:48:10 +1000 |
commit | ee3ace03a45521163d0977e8a8fe5387f0193e80 (patch) | |
tree | 8ae8ddea3d4f2c8798cd24437495e44ee3c9e719 /beos | |
parent | 44d8286067ef9ddcc99d811b6ab8d14fddc0bb81 (diff) | |
download | perl-ee3ace03a45521163d0977e8a8fe5387f0193e80.tar.gz |
workaround a type handling bug in SystemTap Dtrace 1.2
It uses a construct similar to:
__typeof__((func)) x = func;
but hek_key is a char[1] so the above becomes:
char arg1[1] = func;
which is invalid.
Using a temporary allows an implicit conversion to const char * and
avoids possible bugs that might be hidden by an explicit cast.
Diffstat (limited to 'beos')
0 files changed, 0 insertions, 0 deletions