On Mon, Mar 03, 2003 at 01:35:01AM +0100, Gisle Vanem wrote:
> "Guy Harris" <[EMAIL PROTECTED]> said:
> > 
> > Is it GPLed?  The comment just speaks of a "COPYING.DJ" file.
> > 
> > I'll use the BSD "strsep.c" instead, just to be sure there isn't a
> > license clash.
> 
> It's GPL'ed, but please add the BSD version instead.

Actually, the fact that it's GPLed is a problem, at least as I
understand it - tcpdump uses the old "give credit" version of the BSD
license, which is incompatible with the GPL as it imposes an extra
restriction on redistribution (you have to give credit).

> (remove the <sys/cdefs.h> at top).

Done.

> > Is the "t" necessary for text on any DOS/Windows platforms?  Or is it
> > always the case that "r" and "w" give you text mode?
> 
> I'm not sure what the standard says. Testing on MSVC/MingW/djgpp
> and Watcom shows that "r" and "w" implies text-mode. But IMHO better 
> to append "t" to be sure.

I'll check the ANSI C standard to see if it says that "r" and "w" imply
text mode.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]

Reply via email to