Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] fopen
Home

Re: [Freeciv-Dev] fopen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] fopen
From: Greg Wooledge <wooledge@xxxxxxxxxxx>
Date: Wed, 16 Jun 1999 18:34:07 -0400

Nicolas Brunel (brunel@xxxxxxxxxxxxxxxxxxxx) wrote:

> > save ~/tartar.sav
> Failed saving game as ~/tartar.sav

> Do we have to write a small function to transform ~/tartar.sav to
> get_end($HOME)/tartar.sav ?

Yes, you would have to write code to do that (fopen() doesn't handle
it automatically).  And of course you meant `getenv("HOME")'....

-- 
Greg Wooledge                    | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx             | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |

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