On 8/24/07, Georg Nikodym <
georgn@...> wrote:
> > Compiled with mingw's gcc (3.4.5) and run inside an MSYS bash, it
> > operates almost as expected (the umask() and chmod() calls don't
> > quite act the way a UNIX hand like myself would expect).
> >
> > However, run under a cygwin shell, I see:
> >
> > georgn@up /tmp
> > $ ./temp; ls -l foo bar baz
> > mode = 0
> > ----------+ 1 georgn None 0 Aug 24 13:50 bar
> > ----------+ 1 georgn None 0 Aug 24 13:50 baz
> > ----------+ 1 georgn None 0 Aug 24 13:50 foo
> >
> > georgn@up /tmp
> > $
Can you just compile it for cygwin? Use i686-pc-cygwin-gcc.exe
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users