From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: richardeng Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1688: 23.0.60; ttname returned by system-process-attributes points to nonexisting file Date: Tue, 13 Jan 2009 02:00:09 +0800 Message-ID: <496B8529.6010205@foxmail.com> References: <877i5q2ij9.fsf@broken.deisui.org> Reply-To: richardeng , 1688@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231784683 12440 80.91.229.12 (12 Jan 2009 18:24:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2009 18:24:43 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Daiki Ueno , 1688@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 19:25:54 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LMRTs-0006bW-Uj for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 19:25:45 +0100 Original-Received: from localhost ([127.0.0.1]:37494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMRSc-0003pr-Bs for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 13:24:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMRRj-0002tF-Ao for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:23:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMRRg-0002qD-Su for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:23:30 -0500 Original-Received: from [199.232.76.173] (port=34858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMRRg-0002pw-M2 for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:23:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33622) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LMRRf-0003TC-Vi for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:23:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0CINPJ8003019; Mon, 12 Jan 2009 10:23:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0CI56Id030782; Mon, 12 Jan 2009 10:05:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: richardeng Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 12 Jan 2009 18:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1688 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123178325329783 (code B ref -1); Mon, 12 Jan 2009 18:05:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Jan 2009 18:00:53 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0CI0nuX029771 for ; Mon, 12 Jan 2009 10:00:50 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:45833 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LMR4U-0007AC-T6 for emacs-pretest-bug@gnu.org; Mon, 12 Jan 2009 12:59:30 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LMR5c-00050m-EP for emacs-pretest-bug@gnu.org; Mon, 12 Jan 2009 13:00:42 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:45803) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LMR5b-0004xe-TI for emacs-pretest-bug@gnu.org; Mon, 12 Jan 2009 13:00:40 -0500 Original-Received: from smtpbg1.foxmail.com ([58.61.33.111]) by mx20.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LMR5Y-0000Dg-Hg for emacs-pretest-bug@gnu.org; Mon, 12 Jan 2009 13:00:37 -0500 Original-Received: from 172.16.81.120 (foxmail.com [172.16.81.120]) by smtpbg1 (foxmail.com) with SMTP id AjutfTlr; Tue, 13 Jan 2009 02:00:11 +0800 (envelope-from richardeng@foxmail.com) X-QQ-mid: esmtp2123178321111412082 Original-Received: from [192.168.1.111] (unknown [58.25.221.212]) by smtp.foxmail.com (Postfix) with ESMTP id ; Tue, 13 Jan 2009 02:00:10 +0800 (CST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <877i5q2ij9.fsf@broken.deisui.org> X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 12 Jan 2009 13:23:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24036 gmane.emacs.pretest.bugs:23678 Archived-At: Daiki Ueno wrote: > Hello, > > Try to start Emacs with emacs -Q -nw on xterm, and then evaluate the > following expression: > > (assq 'ttname (system-process-attributes (emacs-pid))) > => (ttname . "/dev/pts17") > > A "/" is missing between "pts" and "17". > > (file-exists-p "/dev/pts17") > => nil > (file-exists-p "/dev/pts/17") > => t > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > If you would like to further debug the crash, please read the file > /usr/local/share/emacs/23.0.60/etc/DEBUG for instructions. > > > In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-12-24 on p360 > Windowing system distributor `The X.Org Foundation', version 11.0.10402000 > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: ja_JP.UTF-8 > value of $XMODIFIERS: @im=SCIM > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: Lisp Interaction > > Minor modes in effect: > which-function-mode: t > icomplete-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > x r e p o r t SPC e m a b > > > Recent messages: > Loading mime-setup...done > `completer' is not found. > `habbrev' is not found. > Loading remem...done > Loading /home/ueno/.emacs/init.el (source)...done > Loading /home/ueno/.emacs/custom.el (source)... > Loading icomplete...done > Loading which-func...done > Loading /home/ueno/.emacs/custom.el (source)...done > For information about GNU Emacs and the GNU system, type C-h C-a. > > send again, "plain text only" has format problem... --- sysdep.c.~1.328.~ 2009-01-03 07:04:59.000000000 -0800 +++ sysdep.c 2009-01-13 01:09:56.000000000 -0800 @@ -3322,7 +3322,7 @@ if (MINOR (rdev) >= minor_beg && MINOR (rdev) <= minor_end) { - sprintf (name + strlen (name), "%lu", MINOR (rdev)); + sprintf (name + strlen (name), "/%lu", MINOR (rdev)); break; } }