Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
apk-tools
Commits
27217724
Commit
27217724
authored
Sep 20, 2013
by
Timo Teräs
Browse files
db: minor improvements to an error and a verbose log messages
parent
73820e4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/database.c
View file @
27217724
...
...
@@ -2277,7 +2277,7 @@ static int apk_db_install_archive_entry(void *_ctx,
diri
=
find_diri
(
ipkg
,
bdir
,
diri
,
&
ctx
->
file_diri_node
);
if
(
diri
==
NULL
)
{
if
(
!
APK_BLOB_IS_NULL
(
bdir
))
{
apk_error
(
PKG_VER_FMT
": "
BLOB_FMT
": no dirent in archive
\n
"
,
apk_error
(
PKG_VER_FMT
": "
BLOB_FMT
": no dirent in archive"
,
PKG_VER_PRINTF
(
pkg
),
BLOB_PRINTF
(
name
));
ipkg
->
broken_files
=
1
;
return
0
;
...
...
@@ -2376,7 +2376,7 @@ static int apk_db_install_archive_entry(void *_ctx,
memcpy
(
&
file
->
csum
,
&
ae
->
csum
,
sizeof
(
file
->
csum
));
}
else
{
if
(
apk_verbosity
>=
3
)
apk_message
(
"%s"
,
ae
->
name
);
apk_message
(
"%s
(dir)
"
,
ae
->
name
);
if
(
name
.
ptr
[
name
.
len
-
1
]
==
'/'
)
name
.
len
--
;
...
...
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