Bug 65910 - editor/emacs ignores C-g when creating network connection
Summary: editor/emacs ignores C-g when creating network connection
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-23 11:50 UTC by NIIMI Satoshi
Modified: 2004-05-24 15:12 UTC (History)
1 user (show)

See Also:


Attachments
patch (2.39 KB, patch)
2004-04-23 11:50 UTC, NIIMI Satoshi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NIIMI Satoshi 2004-04-23 11:50:24 UTC
Emacs checks interrupt key input (C-g) periodically when it blocks long time.
But a patch file for src:process.c in ports tree does not.
This makes open-network-stream() non-interruptable.

Fix: I don't know this is "correct" patch, but this works for me well.
	
How-To-Repeat: 	
Emacs on X on FreeBSD 5:
(with-temp-buffer
  ;; "host" is a resolbable but unreachable host.
  (open-network-stream "hoge" (current-buffer) "host" "smtp"))
will block for long time and cannot be interrupted by hitting C-g.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-04-23 15:12:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer.
Comment 2 NIIMI Satoshi 2004-05-22 17:39:20 UTC
It seems that it's maintainer timeout.
Please commit this change.
Comment 3 MANTANI Nobutaka freebsd_committer freebsd_triage 2004-05-24 15:11:51 UTC
State Changed
From-To: open->closed

Committed, thanks!