Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Feb 2003 22:12:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Feb 2003 22:12:32 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:45579 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 11 Feb 2003 22:12:31 -0500 Date: Tue, 11 Feb 2003 19:18:33 -0800 (PST) From: Linus Torvalds To: Roland McGrath cc: Ingo Molnar , Subject: Re: another subtle signals issue In-Reply-To: <200302120313.h1C3DX419736@magilla.sf.frob.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 22 On Tue, 11 Feb 2003, Roland McGrath wrote: > > POSIX clearly specifies that stopping and continuing "shall not affect the > behavior of any function" (when SIGCONT is SIG_DFL or SIG_IGN, or is blocked). You just have to read it in a way that says "partial results are permissible, and are part of the normal behaviour". And then the fact that when ^Z happens you get partial results from pipes is not "different behaviour" from a qualitative standpoint - even though in fact we'd get a full result if the ^Z didn't happen. Put another way: ^Z does perturb the exact details of a read from a pipe, but it does not in any way change the _semantics_ of the read. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/