This is the mail archive of the cygwin@sources.redhat.com 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]

stat(2)




The stat "system call" in cygwin searches for the file named in the input
parameters. If it doesn't find it, it appends ".exe" to the name and
searches for that
file. If it find the "abc.exe" version of "abc". it silently returns
information about
a filename ("abc.exe") which was not specified in the input parameters.

Can anyone explain this behavior? Why, then, doesn't it also search for
".bat", ".cmd", and everything
else in the PATHEXT environment variable?

Ed Bradford

Your Windows 2000 Arborist
T/L 589-4410; Outside: 1-919-993-4410
egb@us.ibm.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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