- fixed definitions
- stack locals changed to heap variables (reduced app size)

git-svn-id: svn://kolibrios.org@9808 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Coldy
2022-05-08 08:22:31 +00:00
parent 68d6fe5255
commit 7805691d08
7 changed files with 16 additions and 7 deletions
+3 -1
View File
@@ -2,7 +2,7 @@
int cmd_touch(char file[])
{
kol_struct70 k70;
char temp[FILENAME_MAX];
char* temp = (char*) malloc(FILENAME_MAX);
unsigned result;
if (NULL == file || strlen(file) == 0) {
@@ -43,6 +43,8 @@ int cmd_touch(char file[])
result = kol_file_70(&k70);
free(temp);
if (0 == result)
return TRUE;
else