project-navigation
Personal tools

Author Topic: Usage of sys_gethomedir() in files.c  (Read 2995 times)

oeystein

  • Guest
Usage of sys_gethomedir() in files.c
« on: July 16, 2007, 08:57:51 pm »
The use of sys_gethomedir() in files.c causes problems when the system homedir path contains non-ascii characters like 'Ø', because the Windows filefunctions that use ascii characters can't find the directory path.

As an example the fopen() function returns a null pointer to the file opened when homedir contains 'Ø' and the following actions on that filepointer crashes.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Usage of sys_gethomedir() in files.c
« Reply #1 on: July 23, 2007, 12:07:20 pm »
i don't see how we can fix that - any suggestions?