svn commit: r184085 - head/lib/libutil
Xin LI
delphij at delphij.net
Tue Oct 21 01:41:31 UTC 2008
-----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 at 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-----
More information about the svn-src-all
mailing list