From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [riceowlguy@gmail.com: Bug report: Incorrect error message for overwriting file with not enough disk space] Date: Thu, 03 Aug 2006 20:34:44 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1154651722 6526 80.91.229.2 (4 Aug 2006 00:35:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 00:35:22 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 04 02:35:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8neo-0001zU-MH for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2006 02:35:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8nek-0000sQ-Gt for ged-emacs-devel@m.gmane.org; Thu, 03 Aug 2006 20:35:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8neK-0000hy-FY for emacs-devel@gnu.org; Thu, 03 Aug 2006 20:34:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8neJ-0000hX-Tm for emacs-devel@gnu.org; Thu, 03 Aug 2006 20:34:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8neJ-0000hR-H4 for emacs-devel@gnu.org; Thu, 03 Aug 2006 20:34:47 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8nhk-0001Pz-OA for emacs-devel@gnu.org; Thu, 03 Aug 2006 20:38:20 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1G8neG-0008Ih-0i; Thu, 03 Aug 2006 20:34:44 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58072 Archived-At: Can anyone arrange to test this for the current version? It is important for Emacs to work right in such situations. Please ack if you can test it. ------- Start of forwarded message ------- Date: Wed, 2 Aug 2006 11:48:17 -0500 From: "Alex Hemsath" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Subject: Bug report: Incorrect error message for overwriting file with not enough disk space Content-Type: multipart/mixed; boundary="===============0350707155==" X-Spam-Status: No, score=0.3 required=5.0 tests=HTML_10_20,HTML_MESSAGE, RCVD_BY_IP autolearn=no version=3.0.4 - --===============0350707155== 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-- - --===============0350707155== 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 - --===============0350707155==-- ------- End of forwarded message -------