On Mon, Nov 26, 2001 at 06:54:50PM +0300, Sergey A. Osokin wrote:
- format = "%+";
+ (const char *)format = "%+";
That's not what I ment. As far as I'm aware, casting an l-value is
bogus. Change the definition of 'format' itself.
E.g. something like:
@@ -81,7 +80,8 @@
struct timezone tz;
int ch, rflag;
int jflag, nflag;
- char *format, buf[1024];
+ const char *format;
+ char buf[1024];
char *endptr, *fmt;
char *tmp;
int set_timezone;
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message