On Wed, 18 Jan 2006, Sam Steingold wrote: > here is a simple test case: > > int main (int argc, char *argv[]) { > char executable[MAXPATHLEN]; > realpath(argv[0],executable); > if (open(executable,O_RDONLY|O_BINARY,0644) < 0) return 1; > else return 0; > } > > it worked (returned 0) before and it works on Linux. > it does not work now.
Looks very similar to: http://www.cygwin.com/ml/cygwin/2004-09/msg00867.html -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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/