Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 18:41:14 -0700
From:      Xin LI <delphij@delphij.net>
To:        Dag-Erling Smorgrav <des@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r184085 - head/lib/libutil
Message-ID:  <48FD333A.5040902@delphij.net>
In-Reply-To: <200810201704.m9KH4vfj076017@svn.freebsd.org>
References:  <200810201704.m9KH4vfj076017@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dag-Erling Smorgrav wrote:
> Author: des
> Date: Mon Oct 20 17:04:57 2008
> New Revision: 184085
> URL: http://svn.freebsd.org/changeset/base/184085
> 
> Log:
>   Unbreak
> 
> Modified:
>   head/lib/libutil/login_times.c
[...]
> @@ -72,9 +72,10 @@ parse_lt(const char * str)
>  	char		buf[64];
>  
>  	/* Make local copy and force lowercase to simplify parsing */
> -	p = strlcpy(buf, str, sizeof buf);
> +	strlcpy(buf, str, sizeof buf);
>  	for (i = 0; buf[i]; i++)
>  	    buf[i] = (char)tolower(buf[i]);
> +	p = buf;
>  
>  	while (isalpha(*p)) {
>  

My pointyhat.  Sorry for the breakage and thanks for fixing it!

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkj9MzkACgkQi+vbBBjt66CZ1wCfW2xEAA1kUm/nGYd3CE2Svr8k
I1EAnjMwTemKOqgyYgY+uGarBd09kVm9
=rfcb
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FD333A.5040902>