lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #37156] [ppp-new] some suggest


From: Sylvain Rochet
Subject: [lwip-devel] [bug #37156] [ppp-new] some suggest
Date: Tue, 21 Aug 2012 13:15:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6

Follow-up Comment #4, bug #37156 (project lwip):

strlcpy() and strlcat() are actually copied straight from PPPd, which doesn't
seem to have been ported to OpenBSD or FreeBSD recently, which can explain why
the conflict stay unnoticed until now.

We don't have a way to build a config.h with directives like HAVE_STRLCAT or
HAVE_STRLCPY from a configure/bootstrap script so if we don't want to compile
and link them twice, it needs adding two more configuration options from PPP.

strlcpy() and strlcat() from PPPd are I guess tiny enough to be compiled
twice, they are actually small wrappers around strncpy() and strncat() so it
doesn't cost much code to add them, maybe we should just rename those
functions.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37156>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]