Re: [dev] [PATCH] Add compatibility for OpenBSD in tar

From: Galos, David <galosd83_AT_students.rowan.edu>
Date: Fri, 19 Jul 2013 09:19:41 -0400

> OpenBSD defines strlcpy function, and the declaration is a bit different
> of the static declartion found in tar.c. The duplication of symbol name
> with different type (one extern and other static, one returning int and
> the other returning size_t) caused tar couldn't compile in OpenBSD.

Since nothing else in sbase makes use of strlcpy I don't think that it's
worth librarizing like this. I did it for consistency in `archive`, as I
populated the Header. It might be better for now to just call it strlmov,
or define a macro STRLCPY.
Received on Fri Jul 19 2013 - 15:19:41 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 19 2013 - 15:24:06 CEST