From: "Eugene Ostapets" <eostapets@gmail.com> To: "культурный офтопик" <smoke-room@lists.altlinux.org> Subject: Re: [room] Забыл совсем пёрл или... Date: Tue, 2 May 2006 12:36:44 +0300 Message-ID: <e12fd2db0605020236v3a7f5a60x5d8a184aea3829a2@mail.gmail.com> (raw) In-Reply-To: <44572097.8060709@rcc.com.ru> On 5/2/06, Anton Gorlov <gorlov@rcc.com.ru> wrote: > Пытаюсь сделать в перловом скрипте > > #!/usr/bin/perl +use strict; +use Fcntl; > sysopen(FH,"data.txt",O_WRONLY|O_CREATE); - sysopen(FH,"data.txt",O_WRONLY|O_CREATE); +sysopen(FH,"data.txt",O_WRONLY|O_CREAT); > close (FH); > > Однако файл не создаётся..и при этом в трейсе вижу > 25644 open("data.txt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file > or directory) > > А почему? Пермишены впорядке. > Прверил и под мастером и под компактом.. одно и тоже. Указание полного > пути тоже не помогает. Потому что константы O_WRONLY и O_CREAT не определены без подключения Fcntl.pm > > > > -- > np: silence > _______________________________________________ > smoke-room mailing list > smoke-room@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/smoke-room -- С уважением, Евгений Остапец uin: 23747217 jid: eugene_ostapets@jabber.ru
next prev parent reply other threads:[~2006-05-02 9:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-02 9:04 Anton Gorlov 2006-05-02 9:36 ` Eugene Ostapets [this message] 2006-05-02 9:47 ` Anton Gorlov
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=e12fd2db0605020236v3a7f5a60x5d8a184aea3829a2@mail.gmail.com \ --to=eostapets@gmail.com \ --cc=smoke-room@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
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git