Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Export Log Segmentation Fault. (PR#1481)
Home

[Freeciv-Dev] Re: Export Log Segmentation Fault. (PR#1481)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: quazion@xxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Export Log Segmentation Fault. (PR#1481)
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 May 2002 23:47:45 -0500

On Mon, May 20, 2002 at 01:34:22PM -0700, quazion@xxxxxxxxx wrote:
> Full_Name: Niels Leander van Reijmersdal
> Version: 1.12.0
> Distribution: Built from source
> Client: Gtk+
> OS: Gentoo Linux 1.1a
> Submission from: (NULL) (24.132.114.30)
> 
> 
> If i try to export the log my client crashes with a segmentation fault.
> ( tru the file menu with the option export log)
> Also under Slackware 8.0 and also with the latest cvs of 1.12.2.
> 
> Maybe this is because i su to a username cause i cant run the program as root,
> and the client doesnt have write access in the local dir at that moment, but
> never the less it should atleast know that it cant write there and it shouldnt
> crash i guess.. saving settings works fine.

the attached patch should fix the seg fault. The ideal fix would of
course allow you to pick where you'd like to export the log to, but
that's out of the scope of the beta period.

-mike

Attachment: export_log.diff
Description: Text document


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