All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Support for SIOCGIFNAME in rtnet
@ 2015-02-06 10:57 Anders Blomdell
  2015-02-06 11:07 ` Gilles Chanteperdrix
  2015-02-11 20:23 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 7+ messages in thread
From: Anders Blomdell @ 2015-02-06 10:57 UTC (permalink / raw)
  To: Xenomai@xenomai.org

A patch that I would find useful.

/Anders
-- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SIOCGIFNAME.patch
Type: text/x-patch
Size: 625 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150206/3598b25c/attachment.bin>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 10:57 [Xenomai] Support for SIOCGIFNAME in rtnet Anders Blomdell
@ 2015-02-06 11:07 ` Gilles Chanteperdrix
  2015-02-06 11:23   ` Anders Blomdell
  2015-02-11 20:23 ` Gilles Chanteperdrix
  1 sibling, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-06 11:07 UTC (permalink / raw)
  To: Anders Blomdell; +Cc: Xenomai@xenomai.org

On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
> A patch that I would find useful.

Indeed, can we avoid strncpy ?

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 11:07 ` Gilles Chanteperdrix
@ 2015-02-06 11:23   ` Anders Blomdell
  2015-02-06 14:12     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Anders Blomdell @ 2015-02-06 11:23 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai@xenomai.org

On 2015-02-06 12:07, Gilles Chanteperdrix wrote:
> On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
>> A patch that I would find useful.
> 
> Indeed, can we avoid strncpy ?
In favour of what? I blatantly stole that line from the SIOCGIFCONF a few
line above :-)

/Anders
-- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 11:23   ` Anders Blomdell
@ 2015-02-06 14:12     ` Gilles Chanteperdrix
  2015-02-06 14:49       ` Anders Blomdell
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-06 14:12 UTC (permalink / raw)
  To: Anders Blomdell; +Cc: Xenomai@xenomai.org

On Fri, Feb 06, 2015 at 12:23:46PM +0100, Anders Blomdell wrote:
> On 2015-02-06 12:07, Gilles Chanteperdrix wrote:
> > On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
> >> A patch that I would find useful.
> > 
> > Indeed, can we avoid strncpy ?
> In favour of what? I blatantly stole that line from the SIOCGIFCONF a few
> line above :-)

strlcpy. 

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 14:12     ` Gilles Chanteperdrix
@ 2015-02-06 14:49       ` Anders Blomdell
  2015-02-06 15:03         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Anders Blomdell @ 2015-02-06 14:49 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai@xenomai.org

On 2015-02-06 15:12, Gilles Chanteperdrix wrote:
> On Fri, Feb 06, 2015 at 12:23:46PM +0100, Anders Blomdell wrote:
>> On 2015-02-06 12:07, Gilles Chanteperdrix wrote:
>>> On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
>>>> A patch that I would find useful.
>>>
>>> Indeed, can we avoid strncpy ?
>> In favour of what? I blatantly stole that line from the SIOCGIFCONF a few
>> line above :-)
> 
> strlcpy. 
Ok, change the line above my patch as well?

/Anders


-- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 14:49       ` Anders Blomdell
@ 2015-02-06 15:03         ` Gilles Chanteperdrix
  0 siblings, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-06 15:03 UTC (permalink / raw)
  To: Anders Blomdell; +Cc: Xenomai@xenomai.org

On Fri, Feb 06, 2015 at 03:49:08PM +0100, Anders Blomdell wrote:
> On 2015-02-06 15:12, Gilles Chanteperdrix wrote:
> > On Fri, Feb 06, 2015 at 12:23:46PM +0100, Anders Blomdell wrote:
> >> On 2015-02-06 12:07, Gilles Chanteperdrix wrote:
> >>> On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
> >>>> A patch that I would find useful.
> >>>
> >>> Indeed, can we avoid strncpy ?
> >> In favour of what? I blatantly stole that line from the SIOCGIFCONF a few
> >> line above :-)
> > 
> > strlcpy. 
> Ok, change the line above my patch as well?

I will do it, thanks.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai] Support for SIOCGIFNAME in rtnet
  2015-02-06 10:57 [Xenomai] Support for SIOCGIFNAME in rtnet Anders Blomdell
  2015-02-06 11:07 ` Gilles Chanteperdrix
@ 2015-02-11 20:23 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-11 20:23 UTC (permalink / raw)
  To: Anders Blomdell; +Cc: Xenomai@xenomai.org

On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:
> A patch that I would find useful.
> 
> /Anders
> -- 
> Anders Blomdell                  Email: anders.blomdell@control.lth.se
> Department of Automatic Control
> Lund University                  Phone:    +46 46 222 4625
> P.O. Box 118                     Fax:      +46 46 138118
> SE-221 00 Lund, Sweden
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: SIOCGIFNAME.patch
> Type: text/x-patch
> Size: 625 bytes
> Desc: not available
> URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150206/3598b25c/attachment.bin>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai

Merged, thanks.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-11 20:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 10:57 [Xenomai] Support for SIOCGIFNAME in rtnet Anders Blomdell
2015-02-06 11:07 ` Gilles Chanteperdrix
2015-02-06 11:23   ` Anders Blomdell
2015-02-06 14:12     ` Gilles Chanteperdrix
2015-02-06 14:49       ` Anders Blomdell
2015-02-06 15:03         ` Gilles Chanteperdrix
2015-02-11 20:23 ` Gilles Chanteperdrix

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.