* Re: [devel] [SCM] packages/opencascade: heads/master
@ 2009-05-03 12:10 ` Andrey Rahmatullin
0 siblings, 0 replies; only message in thread
From: Andrey Rahmatullin @ 2009-05-03 12:10 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]
On Sun, May 03, 2009 at 03:59:13PM +0400, Eugeny A. Rostovtsev wrote:
> - myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT);
> + myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT, 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.
Смотрим, чем равен O_RDONLY | O_NDELAY | O_CREAT:
#define O_RDONLY 00
#define O_CREAT 0100 /* not fcntl */
#define O_NONBLOCK 04000
#define O_NDELAY O_NONBLOCK
Итого 04100, что равно S_IRUSR | S_ISUID
С нетерпением ждём дальнейшего творчества и начинаем писать аптскрит
блэклиста майнтейнеров.
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
* swi после суботнего апдейта сизифа (4 месяца спустя) обнаружил что ffmpeg
играет те wmv3 что раньше не играл!! УРА FFMPEG
<wRAR> ура порнухе
<swi> порнуху и раньше крутило
<swi> а вот онимэ не фсе ))
<swi> так что ура хентаю ;)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-03 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-03 12:10 ` [devel] [SCM] packages/opencascade: heads/master Andrey Rahmatullin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git