Re: [Freeciv-Dev] fopen
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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/ |
|
|