From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Several problems Date: Mon, 28 Jul 2014 16:09:19 +0400 Message-ID: <53D63D6F.307@yandex.ru> References: <87d2cpbua7.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030207080201030009040700" X-Trace: ger.gmane.org 1406549428 11164 80.91.229.3 (28 Jul 2014 12:10:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 12:10:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 14:10:22 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBjkx-0005Fa-P5 for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2014 14:10:19 +0200 Original-Received: from localhost ([::1]:39415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBjkx-0006Do-2L for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2014 08:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBjkn-0006Cb-Bk for emacs-devel@gnu.org; Mon, 28 Jul 2014 08:10:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBjkg-0008Cz-KE for emacs-devel@gnu.org; Mon, 28 Jul 2014 08:10:09 -0400 Original-Received: from forward6.mail.yandex.net ([77.88.60.125]:38419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBjkZ-00089O-1b; Mon, 28 Jul 2014 08:09:55 -0400 Original-Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward6.mail.yandex.net (Yandex) with ESMTP id 7A34611205C7; Mon, 28 Jul 2014 16:09:52 +0400 (MSK) Original-Received: from smtp9.mail.yandex.net (localhost [127.0.0.1]) by smtp9.mail.yandex.net (Yandex) with ESMTP id 30BF91520059; Mon, 28 Jul 2014 16:09:52 +0400 (MSK) Original-Received: from 155.gprs.mts.ru (155.gprs.mts.ru [213.87.136.155]) by smtp9.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id MyG5b4VWQh-9fUWkTEp; Mon, 28 Jul 2014 16:09:48 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 4d9c52cc-7ec1-4b1b-abd3-61be26fbe968 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406549391; bh=QQQz8lZIzcpYnrnrS4OfsQzYEdkJu4VJd6PHmlkSRlg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=X07Zc35gX8+QWjt9XC3jl5sRSsQQ9nRa86WXeL7YsrLAzFE7860nrmxa5UbXDm/Pw W30X22WIiZP+8BPD4xF6cQM948l6JdIktevGHQU3xUnDUzWUYpssiD7VP9p3bSTReR jrsuJ/eFGuprje6Pkk4mmQMYmTPsVxxfx3QhdRWQ= Authentication-Results: smtp9.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: <87d2cpbua7.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 77.88.60.125 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173207 Archived-At: This is a multi-part message in MIME format. --------------030207080201030009040700 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 07/28/2014 03:24 PM, David Kastrup wrote: > in the Git mirror) has several problems for me. Gnus startup fails to > connect to my POP server (via TLS/SSL) as well as the NNTP server at > news.gmane.org. I can go through with C-g, go from *Group* into > *Server* with ^, then open the NNTP server from *there*. Argh, sorry for that, and please try this patch. I do not use Gnus on a regular basics, but I definitely should run it just to test important changes in core subsystems... :-( Dmitry --------------030207080201030009040700 Content-Type: text/x-patch; name="timerfd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="timerfd.patch" === modified file 'src/atimer.c' --- src/atimer.c 2014-07-28 06:28:15 +0000 +++ src/atimer.c 2014-07-28 12:00:35 +0000 @@ -413,6 +413,10 @@ void timerfd_callback (int fd, void *arg) { + char buf[8]; + ptrdiff_t nbytes = emacs_read (fd, buf, sizeof (buf)); + /* Just discard an expiration count for now. */ + eassert (nbytes == sizeof (buf)); do_pending_atimers (); } === modified file 'src/process.c' --- src/process.c 2014-07-28 06:28:15 +0000 +++ src/process.c 2014-07-28 11:48:51 +0000 @@ -6835,7 +6835,9 @@ void add_timer_wait_descriptor (int fd) { + FD_SET (fd, &input_wait_mask); FD_SET (fd, &non_keyboard_wait_mask); + FD_SET (fd, &non_process_wait_mask); fd_callback_info[fd].func = timerfd_callback; fd_callback_info[fd].data = NULL; fd_callback_info[fd].condition |= FOR_READ; --------------030207080201030009040700--