cvs commit: projects/csup stream.c
Maxime Henrion
mux at FreeBSD.org
Fri Feb 10 17:17:05 PST 2006
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
More information about the cvs-projects
mailing list