Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2001 01:23:33 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        Alexander Langer <alex@big.endian.de>, Thomas Zenker <thz@Lennartz-electronic.de>, audit@FreeBSD.ORG
Subject:   Re: bin/27029: strptime: %s formatting missing (patch) 
Message-ID:  <Pine.BSF.4.21.0106300111090.16573-100000@besplex.bde.org>
In-Reply-To: <20010628235832.23EE83E2F@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jun 2001, Dima Dorfman wrote:

> Alexander Langer <alex@big.endian.de> writes:
> > Also sprach Thomas Zenker (thz@Lennartz-electronic.de):
> > > +		case 's':
> > > +			{
> > > +			time_t t;
> > > +			const char *cp;
> > > +			t = strtol(buf, &cp, 10);
> > 
> > Is time_t long again on all branches?
> > I think David (obrien) backed it out on -STABLE, IIRC.
> 
> IIRC it's an int on most branches, but using strtol is still okay there.

Except for the usual lack of error checking for strto*().

Bruce


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?Pine.BSF.4.21.0106300111090.16573-100000>