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: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: quazion@xxxxxxxxx, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Export Log Segmentation Fault. (PR#1481)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 May 2002 22:35:20 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, May 20, 2002 at 11:47:45PM -0500, Mike Kaufman wrote:
> 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.

This is a good opportunity to clean this up a bit. Although the MUI is
more complex and my have bugs.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Last year, out in California, at a PC users group, there was a demo of
  smart speech recognition software. Before the demonstrator could begin
  his demo, a voice called out from the audience: "Format c, return. Yes,
  return." Damned short demo, it was.

Attachment: export_log2.diff
Description: Text document


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