Estevanus / gamekit

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

return value of getcwd ignored in function gkPath::getCurrentDir #148

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
return value of getcwd should be checked.

What version of the product are you using? On what operating system?
trunk on Linux/WinNt

Please provide any additional information below.

Original issue reported on code.google.com by bsd...@gmail.com on 11 Mar 2011 at 6:18

Attachments:

GoogleCodeExporter commented 8 years ago
Perhaps this should have been using StingUtil::BLANK instead of gkString(NULL), 
comments?

Original comment by bsd...@gmail.com on 11 Mar 2011 at 6:20

GoogleCodeExporter commented 8 years ago
Better use a blank string indeed, "" is widely use in gk sources.
Fixed in r 857

Original comment by xavier.thomas.1980@gmail.com on 11 Mar 2011 at 8:58