Date: Wed, 12 Nov 2014 10:32:21 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r274424 - projects/sendfile/sys/sys Message-ID: <201411121032.sACAWL3U093181@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Wed Nov 12 10:32:21 2014 New Revision: 274424 URL: https://svnweb.freebsd.org/changeset/base/274424 Log: Give back values to SF_NODISKIO and SF_MNOWAIT, since equal values can actually prevent applications from compiling. Modified: projects/sendfile/sys/sys/socket.h Modified: projects/sendfile/sys/sys/socket.h ============================================================================== --- projects/sendfile/sys/sys/socket.h Wed Nov 12 10:17:46 2014 (r274423) +++ projects/sendfile/sys/sys/socket.h Wed Nov 12 10:32:21 2014 (r274424) @@ -590,8 +590,8 @@ struct sf_hdtr { * them in header to keep applications compilable. We will try to * avoid to reuse their bits as long as possible. */ -#define SF_NODISKIO 0x00000000 /* was 0x00000001 */ -#define SF_MNOWAIT 0x00000000 /* was 0x00000002 */ +#define SF_NODISKIO 0x00000001 /* unused */ +#define SF_MNOWAIT 0x00000002 /* unused */ #define SF_SYNC 0x00000004 #define SF_NOCACHE 0x00000010 #define SF_FLAGS(rh, flags) (((rh) << 16) | (flags))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411121032.sACAWL3U093181>