blob: 158a7538ae7bf0cc9b198138050c843003eb688e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
regexec.c
count exceeded %d
$_ = 'a' x (2**15+1); /^()(a\1)*$/ ;
count exceeded %d
$_ = 'a' x (2**15+1); /^()(a\1)*?$/ ;
__END__
# regexec.c
use warning 'unsafe' ;
print("SKIPPED\n# win32 can't increase stacksize in shell\n"),exit
if $^O eq 'MSWin32';
$_ = 'a' x (2**15+1);
/^()(a\1)*$/ ;
#
# If this test fails with a segmentation violation or similar,
# you may have to increase the default stacksize limit in your
# shell. You may need superuser privileges.
#
# Under the sh, ksh, zsh:
# $ ulimit -s
# 8192
# $ ulimit -s 16000
#
# Under the csh:
# % limit stacksize
# stacksize 8192 kbytes
# % limit stacksize 16000
#
EXPECT
Complex regular subexpression recursion limit (32766) exceeded at - line 6.
########
# regexec.c
use warning 'unsafe' ;
print("SKIPPED\n# win32 can't increase stacksize in shell\n"),exit
if $^O eq 'MSWin32';
$_ = 'a' x (2**15+1);
/^()(a\1)*?$/ ;
#
# If this test fails with a segmentation violation or similar,
# you may have to increase the default stacksize limit in your
# shell. You may need superuser privileges.
#
# Under the sh, ksh, zsh:
# $ ulimit -s
# 8192
# $ ulimit -s 16000
#
# Under the csh:
# % limit stacksize
# stacksize 8192 kbytes
# % limit stacksize 16000
#
EXPECT
Complex regular subexpression recursion limit (32766) exceeded at - line 6.
|