Date: Sat, 8 Jun 2002 22:00:30 -0400 From: Mike Barcroft <mike@FreeBSD.org> To: Giorgos Keramidas <keramida@FreeBSD.org> Cc: audit@FreeBSD.org Subject: Re: minor header change in src/bin/dd/misc.c Message-ID: <20020608220030.D87326@espresso.q9media.com> In-Reply-To: <20020609014512.GA72307@hades.hell.gr>; from keramida@FreeBSD.org on Sun, Jun 09, 2002 at 04:45:12AM %2B0300 References: <20020609014512.GA72307@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas <keramida@FreeBSD.org> writes: > The source of bin/dd/misc.c doesn't use any of the functions of > <strings.h> but uses strlen, which is defined in <string.h>. The > following seems to fix the only warning this file triggers for me. > Does it seem ok to you all? Yes, it's correct. <strings.h> is almost always wrong for BSD code. I removed the include of <string.h> from <strings.h> when I cleaned up those headers for POSIX compatibility, so there are probably other mis-includes throughout the system. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020608220030.D87326>