Update of bug #16887 (project freeciv):

                  Status:             In Progress => Ready For Test         

    _______________________________________________________

Follow-up Comment #10:

> > Thus, it should return NULL for all other operating systems.
> > Is this OK: 
>
> Yes. Note that the definition of init should be pushed inside
> the conditional block to avoid compilation warnings. 

As the function is only used inside of shared.c the definition is now static
(and inside a #ifdef).

changes:

* define current_dir() as static within shared.c and protect it by #ifdef's
* rename get_current_dir() to get_mapimg_dirs()

(file #10848)
    _______________________________________________________

Additional Item Attachment:

File name:
20101020.1-trunk-generate-a-full-path-from-a-given-relative-path.patch Size:7
KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16887>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to