From xemacs-m  Mon Dec 16 17:53:57 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id RAA27862 for <xemacs-beta@xemacs.org>; Mon, 16 Dec 1996 17:53:56 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id QAA00422; Mon, 16 Dec 1996 16:03:55 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Writing at end of disk -- critical XEmacs bug
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
Mime-Version: 1.0 (generated by tm-edit 7.96)
Content-Type: text/plain; charset=US-ASCII
Date: 16 Dec 1996 16:03:55 -0800
Message-ID: <m2n2ve3ul0.fsf@altair.xemacs.org>
Lines: 29
X-Mailer: Red Gnus v0.72/XEmacs 19.15

Problem:
XEmacs doesn't report error when attempting to write a file larger
than the amount of remaining free disk space.

Affected versions:
19.14, 19.15(all), 20.0(all)

Repeat by: (On Linux)
Create a 300k file system by

dd if=/dev/zero of=/file bs=1k count=300
losetup /dev/loop0 /file
mke2fs /dev/loop0 300

Now fill it up to nearly the limit with a dummy file.

mount /dev/loop0 /mnt
dd if=/dev/zero of=/mnt/foo bs=1k count=230

I then attempted to write a 40,208 byte file to the newly created file
system.  All versions of XEmacs tested did not report failure, and
XEmacs wrote only wrote 31,744 bytes.

GNU Emacs 19.34 reported failure, as expected.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

