From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.devel Subject: Re: kqueue in Emacs 25.1? Date: Tue, 10 Nov 2015 15:32:09 +0100 Message-ID: <85twourkly.fsf@iznogoud.viz> References: <86zizdczhp.fsf@stephe-leake.org> <871tc315y3.fsf@lifelogs.com> <83k2pvqg0l.fsf@gnu.org> <87io5ddh7c.fsf_-_@gmx.de> <83d1vlq3g6.fsf@gnu.org> <87egg1dfnv.fsf@gmx.de> <83bnb5q19l.fsf@gnu.org> <87lha6yn2z.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447169151 23338 80.91.229.3 (10 Nov 2015 15:25:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2015 15:25:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 10 16:25:42 2015 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 1ZwAnj-0003zp-SJ for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2015 16:25:40 +0100 Original-Received: from localhost ([::1]:32787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwAnj-0005VJ-Ay for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2015 10:25:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw9y3-0005y0-N2 for emacs-devel@gnu.org; Tue, 10 Nov 2015 09:32:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw9y0-0001yv-GF for emacs-devel@gnu.org; Tue, 10 Nov 2015 09:32:15 -0500 Original-Received: from b2bfep13.mx.upcmail.net ([62.179.121.58]:38237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw9y0-0001yX-6f for emacs-devel@gnu.org; Tue, 10 Nov 2015 09:32:12 -0500 Original-Received: from edge12.upcmail.net ([192.168.13.82]) by b2bfep13.mx.upcmail.net (InterMail vM.8.01.05.18 201-2260-151-151-20140610) with ESMTP id <20151110143209.GSE10641.b2bfep13-int.chello.at@edge12.upcmail.net> for ; Tue, 10 Nov 2015 15:32:09 +0100 Original-Received: from iznogoud.viz ([91.119.209.104]) by edge12.upcmail.net with edge id fqY91r00Q2FhULj0CqY9LD; Tue, 10 Nov 2015 15:32:09 +0100 X-SourceIP: 91.119.209.104 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Zw9xx-0000P7-1b; Tue, 10 Nov 2015 15:32:09 +0100 Mail-Followup-To: Michael Albinus , emacs-devel@gnu.org User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 62.179.121.58 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:193857 Archived-At: On Tue, Nov 10 2015, Michael Albinus wrote: > I could > reproduce the problem with a very small test program outside Emacs, so I > have reported this as Ubuntu bug > . I compiled your test program (after adding #include at the top, see kqueue(2)) on FreeBSD 10 and it seems to work as expected? [1 ~]$ cd /tmp/ [2 /tmp]$ cc -Wall julipedia.c -o julipedia [3 /tmp]$ touch foo [4 /tmp]$ ./julipedia >/dev/pts/7 2>&1 [5 /tmp]$ And on the other terminal: [1 ~]$ tty /dev/pts/7 [2 ~]$ cd /tmp/ [3 /tmp]$ echo >foo [4 /tmp]$ File written File extended File attributes modified [4 /tmp]$ echo >>foo [5 /tmp]$ File written File extended [5 /tmp]$ chmod a+x foo File attributes modified [6 /tmp]$ rm foo File deleted [7 /tmp]$