ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [SCM] packages/opencascade: heads/master
Date: Sun, 3 May 2009 18:10:46 +0600
Message-ID: <20090503121046.GE6103@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <20090503115913.B1C3E8BE063@ssh.git.egro.altlinux.org>

[-- 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 --]

           reply	other threads:[~2009-05-03 12:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20090503115913.B1C3E8BE063@ssh.git.egro.altlinux.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090503121046.GE6103@wrars-comp.wrarsdomain \
    --to=wrar@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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