Date: Fri, 10 Feb 2006 23:06:36 +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: <200602102306.k1AN6bYx054518@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2006-02-10 23:06:36 UTC FreeBSD projects repository Modified files: csup stream.c Log: Handle the fact that any of the O_RDONLY, O_WRONLY and O_RDWR flags may actually be defined to 0, thus prevent to test for their presence with a simple binary AND. Under FreeBSD, O_RDONLY is 0 so we were easily triggering this problem. Revision Changes Path 1.52 +5 -4 projects/csup/stream.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602102306.k1AN6bYx054518>