Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] [PATCH]: Stop server from crashing when given a directory
Home

[Freeciv-Dev] [PATCH]: Stop server from crashing when given a directory

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH]: Stop server from crashing when given a directory (2) (PR#443)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 24 May 2002 17:59:59 -0700 (PDT)

On Thu, May 23, 2002 at 05:21:02AM -0700, freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> This is an automated notification of a change to freeciv cvs, 
> on Thu May 23 05:13:33 PDT 2002 = Thu May 23 12:13:33 2002 (GMT)
> by Per I. Mathisen <per@xxxxxxxxxxx>
> 
> ---- Files affected:
> 
> freeciv/common ioz.c support.c support.h
> freeciv/server srv_main.c stdinhand.c stdinhand.h
> 
> ---- Log message:
> 
> Stop server from crashing when given a directory name as script filename.
> Fixes bug #449.
> 
> Patch by Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
> Bug reported by Marko Lindqvist <caz@xxxxxxxxx>

That patch makes the server to refuse to open nnexistent files for writing,
as reported by Christian Knke.

Repairing patch attached.

-- 
Reinier

Attachment: freeciv-may23+save2new.patch
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]