Important Update:

- DateTimeCore:
  - Added new functions to process data information
- JSONparse:
  - Bug fix: file permissions on create
This commit is contained in:
Charl Wentzel
2019-04-03 17:03:50 +02:00
parent 5899bf9892
commit bc89021a0e
3 changed files with 99 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ bool CJSONparse::WriteToFile( const char * BasePath, const char * FilePath, cons
}
// Open file
if ((Handle = open( FilePath, O_CREAT|O_WRONLY|O_TRUNC, 660 )) < 0) {
if ((Handle = open( FilePath, O_CREAT|O_WRONLY|O_TRUNC, 0660 )) < 0) {
Error = true;
sprintf( ErrorText, "Could not open file" );
return false;