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
1ae6f9d9
Commit
1ae6f9d9
authored
Apr 21, 2009
by
Natanael Copa
Browse files
db: fix bug in apk_repository_update()
parent
8a47023d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/database.c
View file @
1ae6f9d9
...
...
@@ -955,7 +955,7 @@ int apk_repository_update(struct apk_database *db, struct apk_repository *repo)
if
(
r
<
0
)
return
r
;
snprintf
(
tmp
2
,
sizeof
(
tmp
2
),
"%svar/lib/apk/%s"
,
snprintf
(
tmp
,
sizeof
(
tmp
),
"%svar/lib/apk/%s"
,
db
->
root
,
repo
->
cache
);
if
(
rename
(
tmp2
,
tmp
)
<
0
)
return
-
errno
;
...
...
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