🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #29295

Re: Fcreate() bug?

#29295
From: Warner Young (WHY)
Date: Sat, 21 Nov 1987 08:01
19 lines
1443 bytes
[line-eater]  [line-eater]  oops!

	Here's a possible solution to the Fcreate() bug.  It remains
	for Netlanders to tell me if it works, as my hard disk is
	kaput right now, and I'm not sure where my C compiler is
	on floppy.

Before creating a file, use Fopen() to read it.  If you can read it,
it exists.  Then, just overwrite it with Fwrite().  If it does not
exist, use Fcreate().  The problem is, will Fopen() suffer the same
problem as Fdelete()?
						\          /
Disclaimer:  I'm not associated			 \  /\    /arner
	with the latest revision		  \/  \__/
	of SANITY.				         |oung
						     \___|
Last known address: c9c-eh@dorothy.Berkeley.EDU
			or
		    ucbvax!dorothy!c9c-eh
Technical Details
Message-ID: <5020@zen.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!dorothy.Berkeley.EDU!c9c-eh
References: <260@stag.UUCP> <890@atari.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!dorothy.Berkeley.EDU!c9c-eh
From: c9c-eh@dorothy.Berkeley.EDU (Warner Young (WHY))
Newsgroups: comp.sys.atari.st
Subject: Re: Fcreate() bug?
Message-ID: <5020@zen.berkeley.edu>
Date: Sat, 21-Nov-87 03:01:43 EST
Article-I.D.: zen.5020
Posted: Sat Nov 21 03:01:43 1987
Date-Received: Mon, 23-Nov-87 03:44:07 EST
References: <260@stag.UUCP> <890@atari.UUCP>
Sender: news@zen.berkeley.edu
Reply-To: c9c-eh@dorothy.Berkeley.EDU.UUCP (Warner Young (WHY))
Organization: Safety Seal Software (we create duplicate files)
Lines: 19
Keywords: Fcreate Fdelete Fcreate bug fix
Summary: possible fix????