This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.19-1


> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr@pltjva.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]