emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-trunk-diffs] Changes to emacs/src/sysdep.c


From: Richard Stallman
Subject: Re: [Emacs-trunk-diffs] Changes to emacs/src/sysdep.c
Date: Sat, 27 Nov 2004 01:55:25 -0500

I haven't been following the thread, but it seems to have led
to a change in sysdep.c that seems unfortunate.

Until now, there has been no quitting inside writing a file,
which means that the file can't end up truncated as a result
of quitting.

What was the reason for this change?  What problem is it meant to solve?

***************
*** 3279,3285 ****
        if (rtnval == -1)
        {
          if (errno == EINTR)
!           continue;
          else
            return (bytes_written ? bytes_written : -1);
        }
--- 3285,3291 ----
        if (rtnval == -1)
        {
          if (errno == EINTR)
!           { QUIT; continue; }
          else
            return (bytes_written ? bytes_written : -1);
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]