sasikalar / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Engine/gkPatch.cpp gkGetCurrentDir has hardcoded path size. #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
trunk on Linux/WinNt(Win7)

Please provide any additional information below.
Perhaps usage of PATH_MAX would be somewhat helpful as a start, at least it 
would be slightly more correct then the current hardcoded limit of 240 bytes.

Original issue reported on code.google.com by bsd...@gmail.com on 13 Mar 2011 at 8:38

GoogleCodeExporter commented 9 years ago
I will submit a patch on request if desired, just comment back if so.

Original comment by bsd...@gmail.com on 13 Mar 2011 at 8:39

GoogleCodeExporter commented 9 years ago
gkPatch.cpp should be gkPath.cpp of course, excuse that typo.

Original comment by bsd...@gmail.com on 13 Mar 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Fixed by r859. Thanks.

Original comment by harkon...@gmail.com on 14 Mar 2011 at 6:56