Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
d1cc334d
Commit
d1cc334d
authored
Feb 05, 2011
by
Howard Chu
Browse files
Cleanup PERL_5_6 ifdefs
parent
ab8a0b7c
Changes
9
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-perl/add.c
View file @
d1cc334d
...
...
@@ -41,11 +41,7 @@ perl_back_add(
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"add"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"add"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/bind.c
View file @
d1cc334d
...
...
@@ -57,11 +57,7 @@ perl_back_bind(
XPUSHs
(
sv_2mortal
(
newSVpv
(
op
->
orb_cred
.
bv_val
,
op
->
orb_cred
.
bv_len
)));
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"bind"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"bind"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/compare.c
View file @
d1cc334d
...
...
@@ -55,11 +55,7 @@ perl_back_compare(
XPUSHs
(
sv_2mortal
(
newSVpv
(
avastr
,
0
)));
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"compare"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"compare"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/config.c
View file @
d1cc334d
...
...
@@ -173,13 +173,8 @@ perl_cf(
}
else
{
switch
(
c
->
type
)
{
case
PERL_MODULE
:
#ifdef PERL_IS_5_6
snprintf
(
eval_str
,
EVAL_BUF_SIZE
,
"use %s;"
,
c
->
argv
[
1
]
);
eval_pv
(
eval_str
,
0
);
#else
snprintf
(
eval_str
,
EVAL_BUF_SIZE
,
"%s.pm"
,
c
->
argv
[
1
]
);
perl_require_pv
(
eval_str
);
#endif
/* PERL_IS_5_6 */
if
(
SvTRUE
(
ERRSV
))
{
STRLEN
len
;
...
...
servers/slapd/back-perl/delete.c
View file @
d1cc334d
...
...
@@ -39,11 +39,7 @@ perl_back_delete(
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"delete"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"delete"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/init.c
View file @
d1cc334d
...
...
@@ -130,11 +130,7 @@ perl_back_db_open(
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"init"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"init"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/modify.c
View file @
d1cc334d
...
...
@@ -75,11 +75,7 @@ perl_back_modify(
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"modify"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"modify"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/modrdn.c
View file @
d1cc334d
...
...
@@ -44,11 +44,7 @@ perl_back_modrdn(
}
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"modrdn"
,
G_SCALAR
);
#else
count
=
perl_call_method
(
"modrdn"
,
G_SCALAR
);
#endif
SPAGAIN
;
...
...
servers/slapd/back-perl/search.c
View file @
d1cc334d
...
...
@@ -57,11 +57,7 @@ perl_back_search(
}
PUTBACK
;
#ifdef PERL_IS_5_6
count
=
call_method
(
"search"
,
G_ARRAY
);
#else
count
=
perl_call_method
(
"search"
,
G_ARRAY
);
#endif
SPAGAIN
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment