summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-10-02 22:33:26 +0000
committergreen <green@FreeBSD.org>2004-10-02 22:33:26 +0000
commitc0dc03c5fc1ace84fd4d1de81f0d357cb9068311 (patch)
treef317089f2097755739485b8e465f8267f605181d /lib/libc/stdlib/random.c
parent58075b5ab9e2b1eefa0656765cd623691f680679 (diff)
downloadFreeBSD-src-c0dc03c5fc1ace84fd4d1de81f0d357cb9068311.zip
FreeBSD-src-c0dc03c5fc1ace84fd4d1de81f0d357cb9068311.tar.gz
* When toggling short transfers on a bulk transfer endpoint, cancel and
restart the current waiting transfer. If this isn't done, the device's next transfer (that we would like to do a short read on) is going to return an error -- for short transfer. * For bulk transfer endpoints, restore the maximum transfer length each time a transfer is done, or the first short transfer will make all the rest that size or smaller. * Remove impossibilities (malloc(M_WAITOK) == NULL, &var == NULL).
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud