| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package File::Raw; |
|
2
|
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
2792657
|
use strict; |
|
|
18
|
|
|
|
|
34
|
|
|
|
18
|
|
|
|
|
641
|
|
|
4
|
18
|
|
|
18
|
|
113
|
use warnings; |
|
|
18
|
|
|
|
|
42
|
|
|
|
18
|
|
|
|
|
1487
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Use DynaLoader with RTLD_GLOBAL so C API symbols (file_hooks.h) are visible |
|
9
|
|
|
|
|
|
|
# to other XS modules that link against us at runtime. |
|
10
|
|
|
|
|
|
|
# XSLoader on older Perls (5.10) doesn't honour dl_load_flags. |
|
11
|
18
|
|
|
18
|
|
96
|
use DynaLoader; |
|
|
18
|
|
|
|
|
31
|
|
|
|
18
|
|
|
|
|
1394
|
|
|
12
|
|
|
|
|
|
|
our @ISA = ('DynaLoader'); |
|
13
|
|
|
|
|
|
|
# Returns 0x01 (RTLD_GLOBAL) to DynaLoader::bootstrap, causing dlopen() |
|
14
|
|
|
|
|
|
|
# to load Raw.so into the global symbol table. Without this, symbols |
|
15
|
|
|
|
|
|
|
# default to RTLD_LOCAL and are invisible to subsequently loaded XS |
|
16
|
|
|
|
|
|
|
# modules that depend on our C API (e.g. test files for file_set_read_hook). |
|
17
|
18
|
|
|
18
|
1
|
19969
|
sub dl_load_flags { 0x01 } |
|
18
|
|
|
|
|
|
|
__PACKAGE__->bootstrap($VERSION); |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |