Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
apk-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
61
Issues
61
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
apk-tools
Commits
4fad6d9c
Commit
4fad6d9c
authored
Jul 04, 2013
by
Timo Teräs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solver: use ffs (posix) instead of ffsl (gnu extension)
for musl compatibility
parent
608ae57e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/solver.c
src/solver.c
+2
-1
No files found.
src/solver.c
View file @
4fad6d9c
...
...
@@ -11,6 +11,7 @@
#include <stdint.h>
#include <unistd.h>
#include <strings.h>
#include "apk_defines.h"
#include "apk_database.h"
#include "apk_package.h"
...
...
@@ -554,7 +555,7 @@ static int compare_providers(struct apk_solver_state *ss,
return
r
;
/* Prefer lowest available repository */
return
ffs
l
(
pkgB
->
repos
)
-
ffsl
(
pkgA
->
repos
);
return
ffs
(
pkgB
->
repos
)
-
ffs
(
pkgA
->
repos
);
}
static
void
inherit_pinning_from_pkg
(
struct
apk_solver_state
*
ss
,
struct
apk_package
*
rinstall_if
,
struct
apk_package
*
parent_pkg
)
...
...
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