From: Dmitry Antipov <dmantipov@yandex.ru>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Several problems
Date: Mon, 28 Jul 2014 16:09:19 +0400 [thread overview]
Message-ID: <53D63D6F.307@yandex.ru> (raw)
In-Reply-To: <87d2cpbua7.fsf@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
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
[-- Attachment #2: timerfd.patch --]
[-- Type: text/x-patch, Size: 822 bytes --]
=== 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;
next prev parent reply other threads:[~2014-07-28 12:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 11:24 Several problems David Kastrup
2014-07-28 12:09 ` Dmitry Antipov [this message]
2014-07-28 12:32 ` martin rudalics
2014-08-01 9:43 ` Nicolas Avrutin
2014-08-01 10:30 ` martin rudalics
2014-08-01 13:06 ` martin rudalics
2014-08-02 4:10 ` Nicolas Avrutin
2014-08-02 6:57 ` Eli Zaretskii
2014-08-02 7:28 ` Nicolas Avrutin
2014-08-02 7:39 ` Eli Zaretskii
2014-08-02 8:06 ` martin rudalics
2014-08-04 17:22 ` martin rudalics
2014-08-04 21:54 ` Nicolas Avrutin
2014-08-05 8:36 ` martin rudalics
2014-08-05 19:08 ` Faried Nawaz
2014-08-06 9:41 ` martin rudalics
-- strict thread matches above, loose matches on Subject: below --
2014-07-30 20:02 Ted Zlatanov
2014-07-30 20:10 ` Ted Zlatanov
2014-07-31 4:22 ` Dmitry Antipov
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=53D63D6F.307@yandex.ru \
--to=dmantipov@yandex.ru \
--cc=dak@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).