🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60306

dlaczego to nie dziala?

#60306
From: Gregor
Date: Fri, 04 Nov 2005 01:38
16 lines
1455 bytes
"bidzi"  napisal:

Az z ciekawosci skompilowalem - cos tak prostego niema prawa 
niedzialac :) I po malej poprawce dziala
> if(fd = open(argv[1], O_CREAT) < 0){
powinno byc 
if((fd = open(argv[1], O_CREAT|O_RDWR)) < 0){
dodatkowy nawias coby gcc warninagmai nie rzucal i flaga
"do zapisu"
GRG

-- 
Tutaj sygnatura Grzegorza Domagały - jeśli chcesz wysłać do niego wiadomość
pisz pod adres grzegorz.domagata@chello.at i nie zapomnij dodać 
"kielbaska dla cerbera" w treści albo Cerber zeżre twój list...
Strona domowa: http://members.chello.at/grzegorz.domagata/
Technical Details
Message-ID: <gregorn2hV1.134519953.273801040105@transflorator.traiskirchen.at>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.chello.at.POSTED!not-for-mail
References: <1130962186.213714.141660@g14g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.chello.at.POSTED!not-for-mail
Message-ID: <gregorn2hV1.134519953.273801040105@transflorator.traiskirchen.at>
From: Gregor <pij@wiecej.piwa.a.nie.spamuj.pl>
Subject: dlaczego to nie dziala?
Newsgroups: pl.comp.os.linux.programowanie
References: <1130962186.213714.141660@g14g2000cwa.googlegroups.com>
User-Agent: news2html V1.0
MIME-Version: 1.0
Date: Fri, 04 Nov 2005 01:38:27 +0000
X-Complaints-To: abuse@chello.at
Organization: chello.at
Lines: 17
NNTP-Posting-Host: 84.115.3.190 (84.115.3.190)
NNTP-Posting-Date: Fri, 04 Nov 2005 01:09:44 +0100
X-Trace: 819c7436aa6c8f1d6a61b04442
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit