Date: Sat, 11 Feb 2006 01:17:04 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup stream.c Message-ID: <200602110117.k1B1H484076895@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602110117.k1B1H484076895>
