Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
573349a3
Commit
573349a3
authored
22 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
ITS#2356 - support Perl newer than 5.6
parent
0bfcfbf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
servers/slapd/back-perl/init.c
+1
-1
1 addition, 1 deletion
servers/slapd/back-perl/init.c
servers/slapd/back-perl/perl_back.h
+5
-8
5 additions, 8 deletions
servers/slapd/back-perl/perl_back.h
with
6 additions
and
9 deletions
servers/slapd/back-perl/init.c
+
1
−
1
View file @
573349a3
...
...
@@ -175,7 +175,7 @@ perl_back_db_open(
static
void
perl_back_xs_init
()
perl_back_xs_init
(
PERL_BACK_XS_INIT_PARAMS
)
{
char
*
file
=
__FILE__
;
dXSUB_SYS
;
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-perl/perl_back.h
+
5
−
8
View file @
573349a3
...
...
@@ -5,28 +5,25 @@
LDAP_BEGIN_DECL
/*
* From Apache mod_perl: test for Perl version.
[ja
* From Apache mod_perl: test for Perl version.
*/
#ifdef pTHX_
#if defined(pTHX_) || (PERL_REVISION >= 5 && PERL_VERSION >= 6)
#define PERL_IS_5_6
#endif
#define EVAL_BUF_SIZE 500
#ifdef pTHX_
#define PERL_IS_5_6
#endif
extern
ldap_pvt_thread_mutex_t
perl_interpreter_mutex
;
#ifdef
HAVE_WIN32_ASPERL
#ifdef
PERL_IS_5_6
/* We should be using the PL_errgv, I think */
/* All the old style variables are prefixed with PL_ now */
# define errgv PL_errgv
# define na PL_na
#endif
#ifdef HAVE_WIN32_ASPERL
#ifdef HAVE_WIN32_ASPERL
/* pTHX is needed often now */
# define PERL_INTERPRETER my_perl
# define PERL_BACK_XS_INIT_PARAMS pTHX
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment