torture-open test

Green, Paul Paul.Green at stratus.com
Fri Apr 16 22:15:56 GMT 2004


The torture-open test #3 appears to attempt to open a file with the
O_RDONLY|O_TRUNC flags set, and to fail if this combination is disallowed.
My implementation is failing the test.  Both the POSIX 96 and 2001 standards
explicitly say that this combination is undefined.  Is this one of those
dirty little things that Unix systems allow, but which POSIX takes a dim
view of?  

And I guess the next question is, am I breaking some Windows clients by not
allowing this combination?

Thanks
PG
--
Stratus Technologies
111 Powdermill Road
Maynard, MA 01754-3409 U.S.A.

Paul Green
Senior Technical Consultant
TEL +1 (978) 461-7557
FAX +1 (978) 461-3610



More information about the samba-technical mailing list