[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44725] trunk/blender/source: use BLI_path_cmp() rather then strcmp()

Antony Riakiotakis kalast at gmail.com
Thu Mar 8 12:11:29 CET 2012

...which is defined as strcmp anyway or BLI_strcasecmp depending on
OS. This caused a minor compile error for windows(solved) because
BLI_string.h is not included by default. Also in my opinion using a
straight string compare for paths is bound to cause trouble across
operating systems when using relative paths for instance. I could be
wrong here of course, as I haven't actually checked if any conversion
to '/' vs '\' is done internally for instance.

More information about the Bf-committers mailing list