>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)arsdigita.com> writes: 
    Hrvoje> "Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
> I've discovered that in this XEmacs, if a file is truncated
due
> to lack of disk space on write, XEmacs blithely goes ahead and
> renames the tmp file and does whatever it usually does
> (including remove) to the previous version. 
    Hrvoje> Eek.  We had this problem several years ago, it was fixed,
    Hrvoje> and now it's recurring.
Well, I've replicated with with the most recent CVS, on two different
boxes (both Intel Debian GNU/Linux, though).
    Hrvoje> When the write fails, do you see any error whatsoever?
None.
    Hrvoje> If no, could you try setting `debug-on-signal' to t?
Yup.  Annoying as hell in a XEmacs used for real work, and I got a
crash in GC for my pains (reported elsewhere).
So I tried again in more controlled circumstances, saved a file to a
full disk, got no error, and yes, it was truncated.  Did it again,
XEmacs wrote zero of 1024*1024 bytes to disk, and reported success.
No signal.
    Hrvoje> In case you feel like investigating it on your own,
I wish ... :-(  Nope, it's back to the entrance exams tomorrow.
Anyway, Martin's gonna take a look at it.  I predict with confidence
the problem will be gone by the time I look at it again.  :-)
-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."