On Tue, 2 Jan 2001, Guy Harris wrote:
> On Mon, Jan 01, 2001 at 02:07:05AM +0200, Pekka Savola wrote:
> > I see that savestr is used in a few locations.  I don't see any need for
> > this, it's just a lousy replacement for strdup.
>
> Do all platforms on which tcpdump works support "strdup()"?  There are
> some fairly old platforms on which I think it worked at some point,
> although I don't know if it still works there (libpcap includes support
> for capture mechanisms on SunOS 3.x and, I think, the AIX on the IBM RT
> PC).

Why not create a configure macro to check this and if it doesn't exist,
define strdup -> savestr ?

-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to