[PATCH app-xscope] Use strncpy rather than strlcpy as it is not available on Linux

Daniel Stone daniel at fooishbar.org
Thu Jun 10 07:53:52 PDT 2010

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. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100610/db04d8ee/attachment.pgp>

More information about the xorg-devel mailing list