[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using strlcpy/strlcat in non-OpenBSD applications.



On Mon, Dec 04, 2000 at 10:50:19AM -0700, Todd C. Miller wrote:

> AC_CHECK_FUNC(strlcpy, AC_DEFINE(HAVE_STRLCPY), LIBOBJS="$LIBOBJS strlcpy.o")
> AC_CHECK_FUNC(strlcat, AC_DEFINE(HAVE_STRLCAT), LIBOBJS="$LIBOBJS strlcat.o")

fwiw, this is equivalent to

	AC_REPLACE_FUNCS(strlcpy strlcat)

-d.

---
http://www.monkey.org/~dugsong/