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
d5ba63df
Commit
d5ba63df
authored
Dec 05, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
parent
52a4101b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Modules/bsddbmodule.c
Modules/bsddbmodule.c
+1
-3
No files found.
Modules/bsddbmodule.c
View file @
d5ba63df
...
@@ -193,7 +193,7 @@ bsddb_dealloc(dp)
...
@@ -193,7 +193,7 @@ bsddb_dealloc(dp)
if
(
dp
->
di_bsddb
!=
NULL
)
{
if
(
dp
->
di_bsddb
!=
NULL
)
{
if
((
dp
->
di_bsddb
->
close
)(
dp
->
di_bsddb
)
!=
0
)
if
((
dp
->
di_bsddb
->
close
)(
dp
->
di_bsddb
)
!=
0
)
fprintf
(
stderr
,
fprintf
(
stderr
,
"Python bsddb: close errno %
s
in dealloc
\n
"
,
errno
);
"Python bsddb: close errno %
d
in dealloc
\n
"
,
errno
);
}
}
PyMem_DEL
(
dp
);
PyMem_DEL
(
dp
);
}
}
...
@@ -225,7 +225,6 @@ bsddb_subscript(dp, key)
...
@@ -225,7 +225,6 @@ bsddb_subscript(dp, key)
PyObject
*
key
;
PyObject
*
key
;
{
{
int
status
;
int
status
;
PyObject
*
v
;
DBT
krec
,
drec
;
DBT
krec
,
drec
;
char
*
data
;
char
*
data
;
int
size
;
int
size
;
...
@@ -381,7 +380,6 @@ bsddb_set_location(dp, key)
...
@@ -381,7 +380,6 @@ bsddb_set_location(dp, key)
PyObject
*
key
;
PyObject
*
key
;
{
{
int
status
;
int
status
;
PyObject
*
v
;
DBT
krec
,
drec
;
DBT
krec
,
drec
;
char
*
data
;
char
*
data
;
int
size
;
int
size
;
...
...
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