mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-30 10:29:28 -05:00
Update wrap_slap_ops.
Catch a new bi_op_bind[]() case. Silence warnings in END{}.
This commit is contained in:
parent
969d477168
commit
0528f9f923
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ sub file_result( $$ ) {
|
|||
}
|
||||
|
||||
END {
|
||||
print STDERR <<EOMSG;
|
||||
print STDERR <<EOMSG if defined $ccnt;
|
||||
$ccnt files to change. $rcnt suspicious lines remain. (Expect three in slapd).
|
||||
EOMSG
|
||||
}
|
||||
|
|
@ -95,7 +95,7 @@ s%( # 1: entire match: "<delim><function>("
|
|||
|
||||
# (&x->bi_op_bind)[which](op, rs) ==> slap_bi_op(x, which, op, rs)
|
||||
# (&x->be_bind)[which](op, rs) ==> slap_be_op(x, which, op, rs)
|
||||
s/\(&(\w+)->b(?=([ei]))(?:e|i_op)_bind\)\[\s* (\w+) \s*\] \((\s*) ([^()]*)\)
|
||||
s/\(&(\w+(?:(?:->|\.)\w+)*)->b(?=([ei]))(?:e|i_op)_bind\)\[\s* (\w+) \s*\] \((\s*) ([^()]*)\)
|
||||
/slap_b$2_op($4$1, $3, $5)/gox;
|
||||
|
||||
# slap_bi_op(x->bd_info, which, op, rs) ==> slap_be_op( x, which, op, rs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue