From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Sun, 3 May 2009 18:10:46 +0600 From: Andrey Rahmatullin To: ALT Devel discussion list Message-ID: <20090503121046.GE6103@wrars-comp.wrarsdomain> References: <20090503115913.B1C3E8BE063@ssh.git.egro.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8vCeF2GUdMpe9ZbK" Content-Disposition: inline In-Reply-To: <20090503115913.B1C3E8BE063@ssh.git.egro.altlinux.org> X-Operating-System: ALT Linux Sisyphus X-Jabber-Id: wrar@altlinux.org User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: [devel] [SCM] packages/opencascade: heads/master X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2009 12:11:03 -0000 Archived-At: List-Archive: List-Post: --8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 03, 2009 at 03:59:13PM +0400, Eugeny A. Rostovtsev wrote: > - myFileChannel =3D open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CRE= AT); > + myFileChannel =3D open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CRE= AT, O_RDONLY | O_NDELAY | O_CREAT); int open(const char *pathname, int flags, mode_t mode); mode specifies the permissions to use in case a new file is created. The following symbolic constants are provided for mode: S_IRWXU 00700 user (file owner) has read, write and execute permission etc. =F3=CD=CF=D4=D2=C9=CD, =DE=C5=CD =D2=C1=D7=C5=CE O_RDONLY | O_NDELAY | O_CR= EAT: #define O_RDONLY 00 #define O_CREAT 0100 /* not fcntl */ #define O_NONBLOCK 04000 #define O_NDELAY O_NONBLOCK =E9=D4=CF=C7=CF 04100, =DE=D4=CF =D2=C1=D7=CE=CF S_IRUSR | S_ISUID =F3 =CE=C5=D4=C5=D2=D0=C5=CE=C9=C5=CD =D6=C4=A3=CD =C4=C1=CC=D8=CE=C5=CA=DB= =C5=C7=CF =D4=D7=CF=D2=DE=C5=D3=D4=D7=C1 =C9 =CE=C1=DE=C9=CE=C1=C5=CD =D0= =C9=D3=C1=D4=D8 =C1=D0=D4=D3=CB=D2=C9=D4 =C2=CC=DC=CB=CC=C9=D3=D4=C1 =CD=C1=CA=CE=D4=C5=CA=CE=C5=D2=CF=D7. --=20 WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): * swi =D0=CF=D3=CC=C5 =D3=D5=C2=CF=D4=CE=C5=C7=CF =C1=D0=C4=C5=CA=D4=C1 = =D3=C9=DA=C9=C6=C1 (4 =CD=C5=D3=D1=C3=C1 =D3=D0=D5=D3=D4=D1) =CF=C2=CE=C1= =D2=D5=D6=C9=CC =DE=D4=CF ffmpeg =C9=C7=D2=C1=C5=D4 =D4=C5 wmv3 =DE=D4=CF =D2=C1=CE=D8=DB=C5 =CE=C5 =C9= =C7=D2=C1=CC!! =F5=F2=E1 FFMPEG =D5=D2=C1 =D0=CF=D2=CE=D5=C8=C5 =D0=CF=D2=CE=D5=C8=D5 =C9 =D2=C1=CE=D8=DB=C5 =CB=D2=D5=D4=C9=CC=CF =C1 =D7=CF=D4 =CF=CE=C9=CD=DC =CE=C5 =C6=D3=C5 )) =D4=C1=CB =DE=D4=CF =D5=D2=C1 =C8=C5=CE=D4=C1=C0 ;) --8vCeF2GUdMpe9ZbK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn9icYACgkQB4Vf7hFmt5UjUgCeJ1/NL+AhXVMuQy45LUUXXumI 5KgAnA5wQWYNjcz4wsKytjf5dcpoIxtf =NsPJ -----END PGP SIGNATURE----- --8vCeF2GUdMpe9ZbK--