changeset 87 | 1627c337e51e |
parent 78 | 71ad690e91f5 |
80:d6dafc5d983f | 87:1627c337e51e |
---|---|
390 char* utf8Name = JavaCommonUtils::wstringToUtf8(mFileName); |
390 char* utf8Name = JavaCommonUtils::wstringToUtf8(mFileName); |
391 |
391 |
392 struct stat fileStat; |
392 struct stat fileStat; |
393 int error = lstat(utf8Name, &fileStat); |
393 int error = lstat(utf8Name, &fileStat); |
394 |
394 |
395 delete[] utf8Name; |
|
396 |
|
395 if (error < 0) |
397 if (error < 0) |
396 { |
398 { |
397 int error = errno; |
399 int error = errno; |
398 throw error; |
400 throw error; |
399 } |
401 } |