From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jari.aalto@poboxes.com (Jari Aalto+mail.linux) Newsgroups: gmane.emacs.bugs Subject: 21.2.2 call-proceess fails on symllink (Debian Java) Date: 25 Jun 2003 15:00:43 +0300 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yrqwems.fsf@cante.homeip.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056542536 8005 80.91.224.249 (25 Jun 2003 12:02:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 12:02:16 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 14:02:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19V8yc-00024r-00 for ; Wed, 25 Jun 2003 14:02:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19V8yi-0001A1-Ib for gnu-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2003 08:02:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19V8yT-0000wd-Jo for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2003 08:02:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19V8yB-0000gw-PH for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2003 08:01:50 -0400 Original-Received: from fep06-0.kolumbus.fi ([193.229.0.57] helo=fep06-app.kolumbus.fi) by monty-python.gnu.org with esmtp (Exim 4.20) id 19V8xC-0000I8-Ae for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2003 08:00:46 -0400 Original-Received: from poboxes.com ([81.197.1.6]) by fep06-app.kolumbus.fi with ESMTP id <20030625120044.ZWYD22040.fep06-app.kolumbus.fi@poboxes.com> for ; Wed, 25 Jun 2003 15:00:44 +0300 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 102 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5389 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5389 In GNU Emacs 21.2.2 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-02-13 on raven, modified by Debian configured using `configure i386-linux --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' Important settings: value of $LC_ALL: en_US.iso88591 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: nil locale-coding-system: iso-latin-1 default-enable-multibyte-characters: nil Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Under Debian, the java interpreter is installed in jaalto@cante:~/elisp/rc$ which java /usr/bin/java and this is a symlink to: jaalto@cante:~/elisp/rc$ chase --verbose /usr/bin/java /usr/bin/java -> /etc/alternatives/java -> /usr/lib/j2se/1.3/bin/java -> .java_wrapper /usr/lib/j2se/1.3/bin/.java_wrapper Trying to use call-process causes an infinite loop. It can only be stopped with C-g ;; This won't return (call-process "/usr/bin/java" nil (current-buffer) nil "-version") ;; This won't return (call-process "/usr/lib/j2se/1.3/bin/java" nil (current-buffer) nil "-version") The last one, .java_wrapper, cannot be called directly, because it is controlled by "/usr/lib/j2se/1.3/bin/java". Jari Recent input: M-x r e p o r t Recent messages: 250-8BITMIME 250 SIZE 52428800 250 Sender and extensions (SIZE=417) Ok 250 Recipient Ok 354 Ok Send data ending with . 250 Message received: 20030625114153.ZSGP22040.fep06-app.kolumbus.fi@poboxes.com 221 fep06-app.kolumbus.fi ESMTP server closing connection Sending...done Loading shell...done Loading emacsbug...done -- http://tiny-tools.sourceforge.net/ Swatch @time http://www.ryanthiessen.com/swatch/resources.htm Convert @time http://www.mir.com.my/iTime/itime.htm