From: Jarkko Hietaniemi Date: Tue, 1 Jan 2002 23:40:10 +0000 (+0000) Subject: VOS tweak from Paul Green: VOS has different O_BINARY X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=73250e76b906d521a15f2d2c4ba0edef43d8a62b;p=p5sagit%2Fp5-mst-13.2.git VOS tweak from Paul Green: VOS has different O_BINARY and O_TEXT, but VOS always uses LF, never CRLF. p4raw-id: //depot/perl@14006 --- diff --git a/perl.h b/perl.h index 593df8c..dcba8a8 100644 --- a/perl.h +++ b/perl.h @@ -3943,9 +3943,11 @@ int flock(int fd, int op); #if O_TEXT != O_BINARY /* If you have different O_TEXT and O_BINARY and you are a CLRF shop, * that is, you are somehow DOSish. */ -# if defined(__BEOS__) +# if defined(__BEOS__) || defined(__VOS__) /* BeOS has O_TEXT != O_BINARY but O_TEXT and O_BINARY have no effect; * BeOS is always UNIXoid (LF), not DOSish (CRLF). */ + /* VOS has O_TEXT != O_BINARY, and they have effect, + * but VOS always uses LF, never CRLF. */ /* If you have O_TEXT different from your O_BINARY but you still are * not a CRLF shop. */ # undef PERLIO_USING_CRLF