diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-22 14:31:32 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-22 14:31:32 +0000 |
commit | fdfbfa99f4afe0650a0d2edd6c71256c9dfd7f0b (patch) | |
tree | 3f0780de13f7fe9cb1e932841a02cd504712e560 /lib/libc/stdio/fwrite.c | |
parent | 4651fb3eba593a67ce76966f97dc5ffef10ee82e (diff) | |
download | FreeBSD-src-fdfbfa99f4afe0650a0d2edd6c71256c9dfd7f0b.zip FreeBSD-src-fdfbfa99f4afe0650a0d2edd6c71256c9dfd7f0b.tar.gz |
- Check that a process isn't a new process (p_state == PRS_NEW) before
trying to acquire it's proc lock since the proc lock may not have been
constructed yet.
- Split up the one big comment at the top of the loop and put the pieces
in the right order above the various checks.
Reported by: kris (1)
Diffstat (limited to 'lib/libc/stdio/fwrite.c')
0 files changed, 0 insertions, 0 deletions