From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2A40E1FCA5; Mon, 2 Jan 2017 03:43:38 +0000 (UTC) From: Eric Wong To: sleepy-penguin@bogomips.org Cc: Eric Wong Subject: [PATCH] splice: clarification regarding tee() flags Date: Mon, 2 Jan 2017 03:43:36 +0000 Message-Id: <20170102034336.14253-1-e@80x24.org> List-Id: It's not our fault, it's the kernels :P --- ext/sleepy_penguin/splice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/sleepy_penguin/splice.c b/ext/sleepy_penguin/splice.c index 2f901a8..4ce2557 100644 --- a/ext/sleepy_penguin/splice.c +++ b/ext/sleepy_penguin/splice.c @@ -206,7 +206,8 @@ static ssize_t do_tee(int argc, VALUE *argv, unsigned dflags) * +flags+ may be zero (the default) or a combination of: * * SleepyPenguin::F_NONBLOCK * - * Other splice-related flags are currently unimplemented or have no effect. + * Other splice-related flags are currently unimplemented in the + * kernel and have no effect. * * Returns the number of bytes duplicated if successful. * Raises EOFError when +io_in+ is closed and emptied. -- EW