Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262143AbTFJUEU (ORCPT ); Tue, 10 Jun 2003 16:04:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262135AbTFJUCk (ORCPT ); Tue, 10 Jun 2003 16:02:40 -0400 Received: from mail.webmaster.com ([216.152.64.131]:40698 "EHLO shell.webmaster.com") by vger.kernel.org with ESMTP id S262143AbTFJUBA (ORCPT ); Tue, 10 Jun 2003 16:01:00 -0400 From: "David Schwartz" To: , "Linux kernel" Subject: RE: Large files Date: Tue, 10 Jun 2003 13:14:45 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 949 Lines: 21 > With 32 bit return values, ix86 Linux has a file-size limitation > which is currently about 0x7fffffff. Unfortunately, instead of > returning from a write() with a -1 and errno being set, so that > a program can do something about it, write() executes a signal(25) > which kills the task even if trapped. Is this one of those deleted> POSIX requirements or is somebody going to fix it? If the program were smart enough to do something sane about it, it should be smart enough to handle the signal correctly. What do you think should happen if a program compiled today calls 'time' in 2039? You want to shut down the program as quickly as possible before it does something insane. DS - 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/