Follow-up Comment #3, bug #16887 (project freeciv): Please at least add comment to "if (tok != '/')" that "/" is not root directory in some environments. (In windows absolute path would start with letter as in "C:") Also check that we don't already define such a string as a macro somewhere. IIRC we have PATH_SEPARATOR at least ('/' or '\') which you fail to use in this patch btw.
_______________________________________________________ Reply to this item at: <http://gna.org/bugs/?16887> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivemail@example.com https://mail.gna.org/listinfo/freeciv-dev