안녕하세요,
Lim Geunsik(geunsik.lim(a)gmail.xn--com)-om0qi30h Dropbox를 추천했습니다. Dropbox를 사용하면 문서, 사진 및 동영상에 편리하게 액세스하고 동료 및 친구와 무료로 편리하게 공유할 수 있습니다. 동료 및 친구가 Dropbox 계정이 없어도 괜찮습니다.
초대를 수락하세요.
이 이메일을 통해 Dropbox를 시작하면 2GB의 무료 용량에 더해 500MB가 추가로 제공됩니다.
Dropbox를 즐기세요!
[1]: https://www.dropbox.com/l/AAAUIYXbb3I1Aht4afy07pdKionrn0IE7ac
Hi All,
I have sent a pull request for adding per phase priority on github:
https://github.com/scheduler-tools/rt-app/pull/29
I have enable this while testing some proposed changes in runnable_load_avg
propagation
If you are interested by the feature , feel free to review and comment it
Regards,
Vincent
Hi,
I've been using Chris' "Enhancing debug prints" PR a lot lately.
So, I think it would be good to mainline his changes.
Talking with Chris he was fine with me posting his patches again (adding
some modifications on top).
Discussion is now happening at
https://github.com/scheduler-tools/rt-app/pull/32
Comments/feedback more than appreciated.
Best,
- Juri
In json-c-0.12 is_error() is defined in bits.h which is exported via
json.h. However, json-c's master branch contains commit d4e81f9ec827
which declares bits.h deprecated and removes the export via json.h.
Replace the use of is_error() with its trivial implementation to be
able to get rid of this single dependency towards the deprecated
bits.h.
This fixes an issue introduced by commit 17dd99c72a12 ("Clean-up header
file inferno") which removed #include <json-c/bits.h> from
src/rt-app_parse_config.c.
Cc: Olav Haugan <ohaugan(a)codeaurora.org>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
---
Hi Juri and Vincent,
Olav had problems to build rt-app against json-c library (master ?). I
didn't spot the error since I used json-c-0.12 when testing
17dd99c72a12. Can you please integrate this little snippet so we can
build against master json-c as well? I didn't want to include a
deprecated header file.
Cheers,
Dietmar
src/rt-app_parse_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rt-app_parse_config.c b/src/rt-app_parse_config.c
index c6086f423d2e..a6e3b591988f 100644
--- a/src/rt-app_parse_config.c
+++ b/src/rt-app_parse_config.c
@@ -895,7 +895,7 @@ get_opts_from_json_object(struct json_object *root, rtapp_options_t *opts)
{
struct json_object *global, *tasks, *resources;
- if (is_error(root)) {
+ if (root == NULL) {
log_error(PFX "Error while parsing input JSON");
exit(EXIT_INV_CONFIG);
}
--
2.11.0