* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
introduced below, everywhere.
This commit is contained in:
parent
f24585c6bb
commit
d90f3dc1ba
|
@ -1,3 +1,8 @@
|
|||
2002-11-25 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* libc/string/memset.c (memset): Minor optimization: Use new 'd'
|
||||
variable, introduced below, everywhere.
|
||||
|
||||
2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* libc/string/memset.c (memset): Make it safe even if
|
||||
|
|
|
@ -103,7 +103,7 @@ _DEFUN (memset, (m, c, n),
|
|||
|
||||
while (n--)
|
||||
{
|
||||
*s++ = (char)c;
|
||||
*s++ = (char)d;
|
||||
}
|
||||
|
||||
return m;
|
||||
|
|
Loading…
Reference in New Issue