Skip to contentSkip to conversation

Support for SIOCGIFNAME in rtnet

Xenomai Applied Anders Blomdell 2 participants 7 messages Feb 6, 2015 – Feb 11, 2015

lore
Share & tools
lore
#0 lore raw

A patch that I would find useful.

/Anders

Signature · 13 lines
Anders Blomdell                  Email: [email protected]
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>
#1 lore raw
Quoted 1 line · Anders Blomdell

A patch that I would find useful.

Indeed, can we avoid strncpy ?

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 4 lines · Gilles Chanteperdrix
Quoted 1 line · Anders Blomdell

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

Signature · 5 lines
Anders Blomdell                  Email: [email protected]
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
#3 lore raw
Quoted 7 lines · Anders Blomdell
Quoted 4 lines · Gilles Chanteperdrix
Quoted 1 line · Anders Blomdell

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.

Signature · 1 line
					    Gilles.
#4 lore raw
Quoted 10 lines · Gilles Chanteperdrix
Quoted 7 lines · Anders Blomdell
Quoted 4 lines · Gilles Chanteperdrix
Quoted 1 line · Anders Blomdell

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

Signature · 5 lines
Anders Blomdell                  Email: [email protected]
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
#5 lore raw
Quoted 4 lines · Anders Blomdell
Quoted 3 lines · Gilles Chanteperdrix
Quoted 2 lines · Anders Blomdell
Quoted 1 line · Gilles Chanteperdrix

On Fri, Feb 06, 2015 at 11:57:42AM +0100, Anders Blomdell wrote:

Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

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.

Signature · 1 line
					    Gilles.
#6 lore raw
In reply to Anders Blomdell
Quoted 21 lines · Anders Blomdell

A patch that I would find useful.

/Anders

Signature · 17 lines
Anders Blomdell                  Email: [email protected]
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
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Merged, thanks.

Signature · 1 line
					    Gilles.