delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/18/12:29:21

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.19-1
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
In-Reply-To: <announce.20060117033619.GA12055@coe.casa.cgf.cx> (Christopher Faylor's message of "Mon, 16 Jan 2006 22:36:19 -0500")
References: <announce DOT 20060117033619 DOT GA12055 AT coe DOT casa DOT cgf DOT cx>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Wed, 18 Jan 2006 12:27:54 -0500
Message-ID: <u1wz5h2ed.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr AT pltjva DOT pbz> [2006-01-16 22:36:19 -0500]:
>
> corinna: Emulate linux version of realpath

now when I have a file "foo.exe",
realpath("foo") returns "foo" instead of "foo.exe"
also:
$ ls -l /proc/self/exe
0 lrwxrwxrwx 1 sds mkgroup-l-d 0 Jan 18  2006 /proc/self/exe -> /usr/bin/ls*

instead of ls.exe, so /proc/self/exe cannot be open() for input.

so, now I must add the "exe" suffix myself?!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://pmw.org.il http://www.palestinefacts.org http://truepeace.org
http://www.jihadwatch.org http://www.dhimmi.com http://www.memri.org
cogito cogito ergo cogito sum

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019