From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <54D4A442.3090802@control.lth.se> Date: Fri, 06 Feb 2015 12:23:46 +0100 From: Anders Blomdell MIME-Version: 1.0 References: <54D49E26.6090705@control.lth.se> <20150206110711.GA23751@hermes.click-hack.org> In-Reply-To: <20150206110711.GA23751@hermes.click-hack.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Support for SIOCGIFNAME in rtnet List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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