Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cb651191
Commit
cb651191
authored
Jan 26, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.
parent
d477f9e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Misc/ACKS
Misc/ACKS
+1
-0
Python/dynload_hpux.c
Python/dynload_hpux.c
+4
-1
No files found.
Misc/ACKS
View file @
cb651191
...
@@ -160,6 +160,7 @@ Jonathan Giddy
...
@@ -160,6 +160,7 @@ Jonathan Giddy
Chris Gonnerman
Chris Gonnerman
David Goodger
David Goodger
Hans de Graaff
Hans de Graaff
Eddy De Greef
Duncan Grisby
Duncan Grisby
Dag Gruneau
Dag Gruneau
Michael Guravage
Michael Guravage
...
...
Python/dynload_hpux.c
View file @
cb651191
...
@@ -47,7 +47,10 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
...
@@ -47,7 +47,10 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
PyOS_snprintf
(
funcname
,
sizeof
(
funcname
),
FUNCNAME_PATTERN
,
shortname
);
PyOS_snprintf
(
funcname
,
sizeof
(
funcname
),
FUNCNAME_PATTERN
,
shortname
);
if
(
Py_VerboseFlag
)
if
(
Py_VerboseFlag
)
printf
(
"shl_findsym %s
\n
"
,
funcname
);
printf
(
"shl_findsym %s
\n
"
,
funcname
);
shl_findsym
(
&
lib
,
funcname
,
TYPE_UNDEFINED
,
(
void
*
)
&
p
);
if
(
shl_findsym
(
&
lib
,
funcname
,
TYPE_UNDEFINED
,
(
void
*
)
&
p
)
==
-
1
)
{
shl_unload
(
lib
);
p
=
NULL
;
}
if
(
p
==
NULL
&&
Py_VerboseFlag
)
if
(
p
==
NULL
&&
Py_VerboseFlag
)
perror
(
funcname
);
perror
(
funcname
);
...
...
Write
Preview
Markdown
is supported
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