GNU bug report logs - #23808
Emacs 25 open-network-stream, make-network-process

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 20 Jun 2016 10:09:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 23808 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 23808 <at> debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.or>
Subject: Re: Emacs 25 open-network-stream, make-network-process
Date: Thu, 11 Aug 2016 02:14:18 -0700
[Message part 1 (text/plain, inline)]
[CC'ing this to Lars, since this bug seems to have been introduced by the async 
DNS changes in February.]

Attached is a proposed patch for Bug#23808. The patch attempts to fix the bug 
reported by my anonymous correspondent, who writes "It appears that before the 
refactoring, make-network-process would not create a process object if the 
socket connection failed, or if it had been interrupted by ^G. However after the 
new refactoring, the process object is created upfront with status 'run', before 
the connection is attempted. The refactoring failed to preserve the semantics."
[0001-Fix-process-leak-with-make-network-process.patch (text/x-diff, attachment)]

This bug report was last modified 8 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.