From: Philippe Gerum <rpm@xenomai.org>
To: Thomas De Schampheleire <patrickdepinguin+xenomai@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [PATCH 2 of 4] psos: port long_names feature to xenomai-forge
Date: Wed, 26 Oct 2011 12:21:08 +0200 [thread overview]
Message-ID: <4EA7DF14.6050307@domain.hid> (raw)
In-Reply-To: <68d35b0c2502bcfcd82a.1318861191@domain.hid>
On 10/19/2011 09:35 AM, Thomas De Schampheleire wrote:
> While psos interface accepts 4 character ids, non null terminated,
> xenomai uses longer ids which must be null terminated. Revert to
> the behaviour of psos interface, while allowing long id strings if
> the global variable psos_long_names is set to non-zero.
>
> This patch ports the original fix from xenomai to xenomai-forge,
> fixing following problems:
> * a bug in __psos_maybe_short_name so that only 3 characters are
> retained
> * the call to __psos_maybe_short_name also needs to be done in the
> ident functions
> * the pt_create and pt_ident functions also need to be adapted
>
Please merge long_names.h into psos.h, having a separate header for this
is way overkill and brings nothing.
--
Philippe.
next prev parent reply other threads:[~2011-10-26 10:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 7:35 [Xenomai-help] [PATCH 0 of 4] xenomai-forge PSOS: miscellaneous fixes Thomas De Schampheleire
2011-10-19 7:35 ` [Xenomai-help] [PATCH 1 of 4] psos.h: add definition of ERR_OBJTFULL Thomas De Schampheleire
2011-10-26 10:19 ` Philippe Gerum
2011-10-26 10:26 ` Thomas De Schampheleire
2011-10-26 10:33 ` Philippe Gerum
2011-10-26 11:11 ` Thomas De Schampheleire
2011-10-26 12:01 ` Philippe Gerum
2011-10-19 7:35 ` [Xenomai-help] [PATCH 2 of 4] psos: port long_names feature to xenomai-forge Thomas De Schampheleire
2011-10-26 10:21 ` Philippe Gerum [this message]
2011-10-26 10:41 ` Thomas De Schampheleire
2011-10-26 11:57 ` Philippe Gerum
2011-10-19 7:35 ` [Xenomai-help] [PATCH 3 of 4] psos: add tm_getm function Thomas De Schampheleire
2011-10-26 10:22 ` Philippe Gerum
2011-10-26 10:42 ` Thomas De Schampheleire
2011-10-19 7:35 ` [Xenomai-help] [PATCH 4 of 4] psos: fix compiler warning: cprio could be used uninitialized Thomas De Schampheleire
2011-10-26 10:25 ` Philippe Gerum
2011-10-26 11:04 ` Thomas De Schampheleire
2011-10-26 11:58 ` Philippe Gerum
2011-10-26 12:32 ` Thomas De Schampheleire
2011-10-26 9:44 ` [Xenomai-help] [PATCH 0 of 4] xenomai-forge PSOS: miscellaneous fixes Thomas De Schampheleire
2011-10-26 12:47 ` Philippe Gerum
2011-10-26 12:54 ` Thomas De Schampheleire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA7DF14.6050307@domain.hid \
--to=rpm@xenomai.org \
--cc=patrickdepinguin+xenomai@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.