[PATCH app-xscope] Use strncpy rather than strlcpy as it is not available on Linux
Guillem Jover
guillem at hadrons.org
Thu Jun 10 08:05:13 PDT 2010
On Thu, 2010-06-10 at 15:53:52 +0100, Daniel Stone wrote:
> On Thu, Jun 10, 2010 at 03:59:51PM +0200, Guillem Jover wrote:
> > On Wed, 2010-06-09 at 16:10:02 -0700, Alan Coopersmith wrote:
> > > Gaetan Nadon wrote:
> > > > Because it is available on other platforms, it only fails on Linux.
> > >
> > > *sigh* is GNU libc ever going to get with the program?
> >
> > On GNU based systems libbsd [0] provides such function (among others).
>
> Sure, but in this case, the one-character replacement seems easiest. :)
Oh, I see how this came through the wrong way sorry, I was not suggesting
doing something else in this specific case, just pointing out that the
function is available there.
regards,
guillem
More information about the xorg-devel
mailing list