home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3035 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: nntp.hut.fi!usenet
  2. From: Osma.Ahvenlampi@hut.fi (Osma Ahvenlampi)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SAS/C fopen("foo","a") -- is this a bug?
  5. Date: 10 Feb 1996 19:15:04 +0200
  6. Organization: What, me, organised?
  7. Sender: oahvenla@hyppynaru.cs.hut.fi
  8. Distribution: inet
  9. Message-ID: <jdjka1vrtk7.fsf@hyppynaru.cs.hut.fi>
  10. References: <zpfaa8aCCygGZ1@da23.darkness.gun.de>
  11.     <4feh2j$7im@castle.nando.net>
  12. NNTP-Posting-Host: hyppynaru.cs.hut.fi
  13. Mime-Version: 1.0
  14. Content-Type: text/plain; charset=US-ASCII
  15. In-reply-to: sekruege@nando.net's message of 9 Feb 1996 04:03:31 GMT
  16. X-Newsreader: Gnus v5.1
  17.  
  18. In article <4feh2j$7im@castle.nando.net> sekruege@nando.net (Steve Krueger) writes:
  19. >Here's what's happening. The fopen() "a" mode is translated to an
  20. >Open() with MODE_OLDFILE, which succeeds, so the fopen() works.
  21.  
  22. Um, wouldn't MODE_READWRITE be closer to "a" mode? I know "a" isn't
  23. supposed to read, but AmigaDOS doesn't check all that anyway.
  24.  
  25. -- 
  26. Sin now -- Pray Later!
  27. |Osma Ahvenlampi <Osma.Ahvenlampi@hut.fi> http://www.hut.fi/~oahvenla/|
  28. | Cool : ClassAct + Voodoo + Amiga + ARTech + CompactPlayer + Inet225 |
  29.                                                                      --
  30.