[lazarus] New Bug Entered

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 30 15:21:02 EDT 2002


On Mon, 30 Sep 2002 13:42:36 -0400
bugtracker at miraclec.com wrote:

> 
> Title: No \"file exists\" checking when using lazres
> 
> Entered by: Tony Maro
> 
> Like an idiot I reversed the order of parameters using lazres to create a resource file.  It promptly overwrote the \"source\" file that I accidentally typed in the \"destination\" parameter, and then died with an error saying unable to find source file.
> 
> I would have thought if the source didn\'t exist it wouldn\'t have written anything yet, or perhaps if the destination already existed it would either error or prompt.
> 
> Just a tidbit suggestion for idiot newbie checking...

I added a check.


Mattias






More information about the Lazarus mailing list