mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
Bump LXC package from 1.1.5 to 2.1.0. Version 2.x includes many improvements and optimizations. https://linuxcontainers.org/lxc/news/ Some tools like lxc-top are rewritten in C and are no longer broken and dependent on lua. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
12 lines
359 B
Diff
12 lines
359 B
Diff
--- a/src/lxc/confile_utils.c
|
|
+++ b/src/lxc/confile_utils.c
|
|
@@ -690,7 +690,7 @@ bool parse_limit_value(const char **value, unsigned long *res)
|
|
char *endptr = NULL;
|
|
|
|
if (strncmp(*value, "unlimited", sizeof("unlimited") - 1) == 0) {
|
|
- *res = RLIM_INFINITY;
|
|
+ *res = (unsigned long)RLIM_INFINITY;
|
|
*value += sizeof("unlimited") - 1;
|
|
return true;
|
|
}
|