cvs commit: projects/csup stream.c
Maxime Henrion <[email protected]> Sat, 11 Feb 2006 01:17:04 +0000 (UTC)
| Newsgroups | gmane.os.freebsd.devel.cvs.projects |
|---|---|
| Message-ID | <[email protected]> |
mux 2006-02-11 01:17:04 UTC
FreeBSD projects repository
Modified files:
csup stream.c
Log:
Simplify the code to handle the file access mode in stream_open_file().
Since we have ANDed the flags value with O_ACCMODE, we can just use
the == operator to test for the flags without needing any special
handling in case one of the flags is defined to 0.
Revision Changes Path
1.53 +10 -5 projects/csup/stream.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"