unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: richardeng <richardeng@foxmail.com>
To: Daiki Ueno <ueno@unixuser.org>, 1688@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org
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	[thread overview]
Message-ID: <496B8529.6010205@foxmail.com> (raw)
In-Reply-To: <877i5q2ij9.fsf@broken.deisui.org>

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:
> <escape> x r e p o r t SPC e m a <tab> b <backspace> 
> <return>
>
> 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;                                                                                       

                
}                                                                                              

            }            







      parent reply	other threads:[~2009-01-12 18:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-24  6:28 bug#1688: 23.0.60; ttname returned by system-process-attributes points to nonexisting file Daiki Ueno
2009-01-12 17:17 ` richardeng
2009-01-12 19:19   ` Eli Zaretskii
2009-01-12 21:04     ` Stefan Monnier
2009-01-16 10:22       ` richardeng
2009-01-16 21:00         ` Stefan Monnier
2009-01-17 11:51           ` richardeng
2009-01-18 20:57             ` Stefan Monnier
2011-07-10 14:36               ` Lars Magne Ingebrigtsen
2009-01-12 18:00 ` richardeng [this message]

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=496B8529.6010205@foxmail.com \
    --to=richardeng@foxmail.com \
    --cc=1688@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=ueno@unixuser.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).