From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alex Hemsath" Newsgroups: gmane.emacs.bugs Subject: Bug report: Incorrect error message for overwriting file with not enough disk space Date: Wed, 2 Aug 2006 11:48:17 -0500 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0478645760==" X-Trace: sea.gmane.org 1154585823 438 80.91.229.2 (3 Aug 2006 06:17:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2006 06:17:03 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 03 08:17:01 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8WUt-0000Pb-Mh for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2006 08:15:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8WUs-0005Dj-Sp for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2006 02:15:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8JtN-0001Kx-BJ for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 12:48:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8JtL-0001Jx-Ex for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 12:48:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8JtL-0001Jt-CD for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 12:48:19 -0400 Original-Received: from [64.233.166.180] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8JwU-00052R-Ko for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2006 12:51:34 -0400 Original-Received: by py-out-1112.google.com with SMTP id x31so275713pye for ; Wed, 02 Aug 2006 09:48:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Gh7qx1/p6WV3JyUlymcjZAmexMBG0/S1Z5oz3qelXJwkBib+lUCtdH2FMo0xrtUrGx2d1u23nAbGRGonQEXAe/8la0RIWi/lKoJV8+FdbzltPFuxWO0G9BGrFmUa2CvCZ5RQtX7TapfTEW85Jf8kpqkueTx6MSFwMcXwaYYa19c= Original-Received: by 10.35.57.5 with SMTP id j5mr1718200pyk; Wed, 02 Aug 2006 09:48:17 -0700 (PDT) Original-Received: by 10.35.57.3 with HTTP; Wed, 2 Aug 2006 09:48:17 -0700 (PDT) Original-To: bug-gnu-emacs@gnu.org X-Mailman-Approved-At: Thu, 03 Aug 2006 02:15:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15255 Archived-At: --===============0478645760== Content-Type: multipart/alternative; boundary="----=_Part_89958_15637570.1154537297564" ------=_Part_89958_15637570.1154537297564 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Bug report for Gnu Emacs Version: 21.4.2 OS: Mandriva Linux 2006 Free Filesystem: ext3 Scenario: overwriting (C-x C-w) an existing file, where the new file to be written is larger than the available disk space on the filesystem where the original file is kept. Bug: after confirming that it is okay to overwrite the existing file, the error message displayed is "file already exists". Expected behavior: error message should read "No space left on device or similar". strace confirms that emacs is getting the right errno (ENOSPC) for the write to the file handle. Thanks, Alex ------=_Part_89958_15637570.1154537297564 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bug report for Gnu Emacs
Version: 21.4.2
OS: Mandriva Linux 2006 Free
Filesystem: ext3

Scenario: overwriting (C-x C-w) an existing file, where the new file to be written is larger than the available disk space on the filesystem where the original file is kept.

Bug: after confirming that it is okay to overwrite the existing file, the error message displayed is "file already exists".
Expected behavior: error message should read "No space left on device or similar".

strace confirms that emacs is getting the right errno (ENOSPC) for the write to the file handle.

Thanks,
Alex

------=_Part_89958_15637570.1154537297564-- --===============0478645760== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============0478645760==--