diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-01-21 02:01:35 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2014-01-21 02:01:35 +0100 |
commit | 1569f396bb76e9d54f6c4492ed6778e37b87bc70 (patch) | |
tree | 7e96d36129e0e78e5aec32d80901264117d2623d /src/string/strncpy.c | |
parent | 7cbb6f70c8fe711644ec0dbede1973cc6641a283 (diff) | |
download | musl-1569f396bb76e9d54f6c4492ed6778e37b87bc70.tar.gz |
fix initstate to make the state buffer usable in setstate
setstate could use the results of previous initstate or setstate
calls (they return the old state buffer), but the documentation
requires that an initialized state buffer should be possible to
use in setstate immediately, which means that initstate should
save the generator parameters in it.
I also removed the copyright notice since it is present in the
copyright file.
Diffstat (limited to 'src/string/strncpy.c')
0 files changed, 0 insertions, 0 deletions