Technology Temerity

String & Path

Encountered an issue with using default model name as path filler and once again attempted to find method for extracting model path at run time.

Due to limited string functions I recoded my own path return feature to exclude base name. Unfortunately this resulted in inconsistent returns. Path would be occasionally substituted with numbers or gibberish.

I think best solution is to restore path feature to previous functionality and add more robust string handling to OpenBOR. The *strrchr( const char *s,  int c) function in particular is a crippling omission that needs to be addressed.

C’s string functionally in general is really starting to get on my nerves. For such a common and powerful language, you would think simple string manipulation wouldn’t require so much hoop jumping and coding overhead.

Author: Damon Caskey

Hello all, Damon Caskey here - the esteemed owner of this little slice of cyberspace. Welcome!

Leave a Reply