unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-trunk-diffs] Changes to emacs/src/sysdep.c
Date: Sat, 27 Nov 2004 01:55:25 -0500	[thread overview]
Message-ID: <E1CXwUP-0001bZ-42@fencepost.gnu.org> (raw)
In-Reply-To: <E1CXPu6-00065f-6c@lists.gnu.org> (message from Stefan Monnier on Thu, 25 Nov 2004 15:07:46 -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	other threads:[~2004-11-27  6:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1CXPu6-00065f-6c@lists.gnu.org>
2004-11-27  6:55 ` Richard Stallman [this message]
2004-11-27 21:09   ` [Emacs-trunk-diffs] Changes to emacs/src/sysdep.c Stefan Monnier
2004-11-29  6:11     ` Richard Stallman
2004-11-29 14:31       ` Stefan Monnier
2004-11-30  7:03         ` Richard Stallman
2004-11-30 13:08           ` Stefan
2004-12-01  2:57             ` Richard Stallman
2004-12-01  4:28               ` Stefan
2004-12-01  9:37                 ` Andreas Schwab
2004-12-01 18:21                 ` Eli Zaretskii
2004-12-02 13:10                 ` Richard Stallman
2004-12-05 20:23                 ` Juri Linkov
2004-12-05 22:33                   ` Stefan Monnier
2004-12-06  1:40                   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CXwUP-0001bZ-42@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).