Re: futimes fails on file open for read

2005-11-08 Thread Yitzchak Scott-Thoennes
On Mon, Nov 07, 2005 at 06:08:40PM +0100, Corinna Vinschen wrote: On Nov 6 23:34, Yitzchak Scott-Thoennes wrote: The following gives: futimes returned: -1 (Permission denied) I'm told it succeeds on linux; is it even possible for it to work on cygwin or am I SOL? I've created a

Re: futimes fails on file open for read

2005-11-07 Thread Corinna Vinschen
On Nov 6 23:34, Yitzchak Scott-Thoennes wrote: The following gives: futimes returned: -1 (Permission denied) I'm told it succeeds on linux; is it even possible for it to work on cygwin or am I SOL? I've created a patch for this. It will show up in the next snapshot. Thanks for the

futimes fails on file open for read

2005-11-06 Thread Yitzchak Scott-Thoennes
The following gives: futimes returned: -1 (Permission denied) I'm told it succeeds on linux; is it even possible for it to work on cygwin or am I SOL? #include stdio.h #include stdlib.h #include sys/time.h #include fcntl.h #include errno.h #include string.h int main(int argc,char **argv) {