If memory serves me right, Bill Swingle wrote: > Chris Costello recommended that I do this like this instead: > > packagesite[0] =3D '\0' > > Which seems to make sense since it lacks the overhead of strlcpy. Is > there a "right" way to do this? Although I haven't seen the context for this line (other than what was in the context diff), I think most C programmers (including myself) would go with Chris's suggestion. Hope this helps, Bruce.
- tiny patch to pkg_add Bill Swingle
- Re: tiny patch to pkg_add Bill Swingle
- Re: tiny patch to pkg_add Bruce A. Mah
- Re: tiny patch to pkg_add Leo Bicknell
- Re: tiny patch to pkg_add Chris Costello
- Re: tiny patch to pkg_add Leo Bicknell
- Re: tiny patch to pkg_add David O'Brien
- Re: tiny patch to pkg_add Josef Karthauser
- Re: tiny patch to pkg_add Bill Fumerola
- Re: tiny patch to pkg_add Greg Black
- Re: tiny patch to pkg_add Greg Black
- Re: tiny patch to pkg_add Greg Black