Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libubox
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
certo
libubox
Commits
e4b9532e
Commit
e4b9532e
authored
Jun 24, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated libubox to 2020
parent
ea6475dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
25 deletions
+0
-25
Makefile
Makefile
+0
-1
libubox-is_error.patch
libubox-is_error.patch
+0
-24
libubox.tar.xz
libubox.tar.xz
+0
-0
No files found.
Makefile
View file @
e4b9532e
all
:
tar
xf libubox.tar.xz
patch
-Np1
-d
libubox < libubox-is_error.patch
cd
libubox
&&
cmake CMakeLists.txt
-DBUILD_LUA
=
OFF
-DCMAKE_INSTALL_PREFIX
=
/usr
$(MAKE)
-C
libubox
$(MAKE)
-C
libubox
install
...
...
libubox-is_error.patch
deleted
100644 → 0
View file @
ea6475dd
diff -uNr a/blobmsg_json.c b/blobmsg_json.c
--- a/blobmsg_json.c 2017-09-06 21:50:00.000000000 +0000
+++ b/blobmsg_json.c 2017-09-08 17:57:48.641862452 +0000
@@ -75,7 +75,7 @@
{
bool ret = false;
- if (is_error(obj))
+ if (obj == NULL)
return false;
if (json_object_get_type(obj) != json_type_object)
diff -uNr a/jshn.c b/jshn.c
--- a/jshn.c 2017-09-06 21:50:00.000000000 +0000
+++ b/jshn.c 2017-09-08 17:58:01.131381844 +0000
@@ -159,7 +159,7 @@
json_object *obj;
obj = json_tokener_parse(str);
- if (is_error(obj) || json_object_get_type(obj) != json_type_object) {
+ if (obj == NULL || json_object_get_type(obj) != json_type_object) {
fprintf(stderr, "Failed to parse message data\n");
return 1;
}
libubox.tar.xz
View file @
e4b9532e
No preview for this file type
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